安装Jupyterthemes时出现问题

问题描述

社区

我尝试使用pip安装jupyterthemes软件包,但出现以下错误

Collecting kiwisolver>=1.0.1
  Using cached kiwisolver-1.2.0.tar.gz (52 kB)
    ERROR: Command errored out with exit status 1:
     command: 'c:\users\rvela\appdata\local\programs\python\python39\python.exe' -c 'import sys,setuptools,tokenize; sys.argv[0] = '"'"'C:\\Users\\rvela\\AppData\\Local\\Temp\\pip-install-s7m7e05b\\kiwisolver\\setup.py'"'"'; __file__='"'"'C:\\Users\\rvela\\AppData\\Local\\Temp\\pip-install-s7m7e05b\\kiwisolver\\setup.py'"'"';f=getattr(tokenize,'"'"'open'"'"',open)(__file__);code=f.read().replace('"'"'\r\n'"'"','"'"'\n'"'"');f.close();exec(compile(code,__file__,'"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\rvela\AppData\Local\Temp\pip-pip-egg-info-gjvnrjni'
         cwd: C:\Users\rvela\AppData\Local\Temp\pip-install-s7m7e05b\kiwisolver\
    Complete output (44 lines):
    WARNING: The wheel package is not available.
      ERROR: Command errored out with exit status 1:
       command: 'c:\users\rvela\appdata\local\programs\python\python39\python.exe' -u -c 'import sys,tokenize; sys.argv[0] = '"'"'C:\\Users\\rvela\\AppData\\Local\\Temp\\pip-wheel-7azyysel\\cppy\\setup.py'"'"'; __file__='"'"'C:\\Users\\rvela\\AppData\\Local\\Temp\\pip-wheel-7azyysel\\cppy\\setup.py'"'"';f=getattr(tokenize,'"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\rvela\AppData\Local\Temp\pip-wheel-q0edl66l'
           cwd: C:\Users\rvela\AppData\Local\Temp\pip-wheel-7azyysel\cppy\
      Complete output (6 lines):
      usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
         or: setup.py --help [cmd1 cmd2 ...]
         or: setup.py --help-commands
         or: setup.py cmd --help
    
      error: invalid command 'bdist_wheel'
      ----------------------------------------
      ERROR: Failed building wheel for cppy
    ERROR: Failed to build one or more wheels
    Traceback (most recent call last):
      File "c:\users\rvela\appdata\local\programs\python\python39\lib\site-packages\setuptools\installer.py",line 128,in fetch_build_egg
        subprocess.check_call(cmd)
      File "c:\users\rvela\appdata\local\programs\python\python39\lib\subprocess.py",line 373,in check_call
        raise CalledProcessError(retcode,cmd)
    subprocess.CalledProcessError: Command '['c:\\users\\rvela\\appdata\\local\\programs\\python\\python39\\python.exe','-m','pip','--disable-pip-version-check','wheel','--no-deps','-w','C:\\Users\\rvela\\AppData\\Local\\Temp\\tmphfg1sijb','--quiet','cppy>=1.1.0']' returned non-zero exit status 1.
    
    The above exception was the direct cause of the following exception:
    
    Traceback (most recent call last):
      File "<string>",line 1,in <module>
      File "C:\Users\rvela\AppData\Local\Temp\pip-install-s7m7e05b\kiwisolver\setup.py",line 59,in <module>
        setup(
      File "c:\users\rvela\appdata\local\programs\python\python39\lib\site-packages\setuptools\__init__.py",line 164,in setup
        _install_setup_requires(attrs)
      File "c:\users\rvela\appdata\local\programs\python\python39\lib\site-packages\setuptools\__init__.py",line 159,in _install_setup_requires
        dist.fetch_build_eggs(dist.setup_requires)
      File "c:\users\rvela\appdata\local\programs\python\python39\lib\site-packages\setuptools\dist.py",line 699,in fetch_build_eggs
        resolved_dists = pkg_resources.working_set.resolve(
      File "c:\users\rvela\appdata\local\programs\python\python39\lib\site-packages\pkg_resources\__init__.py",line 779,in resolve
        dist = best[req.key] = env.best_match(
      File "c:\users\rvela\appdata\local\programs\python\python39\lib\site-packages\pkg_resources\__init__.py",line 1064,in best_match
        return self.obtain(req,installer)
      File "c:\users\rvela\appdata\local\programs\python\python39\lib\site-packages\pkg_resources\__init__.py",line 1076,in obtain
        return installer(requirement)
      File "c:\users\rvela\appdata\local\programs\python\python39\lib\site-packages\setuptools\dist.py",line 758,in fetch_build_egg
        return fetch_build_egg(self,req)
      File "c:\users\rvela\appdata\local\programs\python\python39\lib\site-packages\setuptools\installer.py",line 130,in fetch_build_egg
        raise distutilsError(str(e)) from e
    distutils.errors.distutilsError: Command '['c:\\users\\rvela\\appdata\\local\\programs\\python\\python39\\python.exe','cppy>=1.1.0']' returned non-zero exit status 1.
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

即使在空白的jupyter笔记本文件中尝试,也没有成功,我不知道jupyter核心版本或任何滚轮套件的更新是否有问题。 请帮助!!!

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)