鱼C论坛

 找回密码
 立即注册
查看: 2151|回复: 2

[已解决]pycharm 无法安装 scipy

[复制链接]
发表于 2020-4-27 21:50:36 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能^_^

您需要 登录 才可以下载或查看,没有账号?立即注册

x
求大佬帮帮忙

Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple/
Collecting scipy
  Downloading https://pypi.tuna.tsinghua.edu.c ... /scipy-1.4.1.tar.gz (24.6MB)
  Installing build dependencies: started
  Installing build dependencies: still running...
  Installing build dependencies: finished with status 'error'
  Complete output from command F:\新建文件夹\泰迪杯\venv\Scripts\python.exe F:\新建文件夹\泰迪杯\venv\lib\site-packages\pip-19.0.3-py3.8.egg\pip install --ignore-installed --no-user --prefix C:\Users\哲\AppData\Local\Temp\pip-build-env-rxq4n691\overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.tuna.tsinghua.edu.cn/simple/ --trusted-host mirrors.aliyun.com -- wheel setuptools Cython>=0.29.13 "numpy==1.13.3; python_version=='3.5' and platform_system!='AIX'" "numpy==1.13.3; python_version=='3.6' and platform_system!='AIX'" "numpy==1.14.5; python_version=='3.7' and platform_system!='AIX'" "numpy==1.17.3; python_version>='3.8' and platform_system!='AIX'" "numpy==1.16.0; python_version=='3.5' and platform_system=='AIX'" "numpy==1.16.0; python_version=='3.6' and platform_system=='AIX'" "numpy==1.16.0; python_version=='3.7' and platform_system=='AIX'" "numpy==1.17.3; python_version>='3.8' and platform_system=='AIX'" pybind11>=2.4.0:
  Ignoring numpy: markers 'python_version == "3.5" and platform_system != "AIX"' don't match your environment
  Ignoring numpy: markers 'python_version == "3.6" and platform_system != "AIX"' don't match your environment
  Ignoring numpy: markers 'python_version == "3.7" and platform_system != "AIX"' don't match your environment
  Ignoring numpy: markers 'python_version == "3.5" and platform_system == "AIX"' don't match your environment
  Ignoring numpy: markers 'python_version == "3.6" and platform_system == "AIX"' don't match your environment
  Ignoring numpy: markers 'python_version == "3.7" and platform_system == "AIX"' don't match your environment
  Ignoring numpy: markers 'python_version >= "3.8" and platform_system == "AIX"' don't match your environment
  Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple/
  Collecting wheel
    Downloading https://pypi.tuna.tsinghua.edu.c ... y2.py3-none-any.whl
  Collecting setuptools
    Downloading https://pypi.tuna.tsinghua.edu.c ... .3-py3-none-any.whl (582kB)
  Collecting Cython>=0.29.13
    Downloading https://pypi.tuna.tsinghua.edu.c ... y2.py3-none-any.whl (971kB)
  Collecting numpy==1.17.3
    Downloading https://pypi.tuna.tsinghua.edu.c ... fe/numpy-1.17.3.zip (6.4MB)
  Collecting pybind11>=2.4.0
    Downloading https://pypi.tuna.tsinghua.edu.c ... y2.py3-none-any.whl (296kB)
  Building wheels for collected packages: numpy
    Building wheel for numpy (setup.py): started
    Building wheel for numpy (setup.py): still running...
    Building wheel for numpy (setup.py): finished with status 'done'
    Stored in directory: C:\Users\哲\AppData\Local\pip\Cache\wheels\c6\94\bd\6baf12077e8c19806f76a68e01a40a136ef2e566a38b410abb
  Successfully built numpy
  Installing collected packages: wheel, setuptools, Cython, numpy, pybind11
  Exception:
  Traceback (most recent call last):
    File "F:\新建文件夹\泰迪杯\venv\lib\site-packages\pip-19.0.3-py3.8.egg\pip\_internal\cli\base_command.py", line 179, in main
      status = self.run(options, args)
    File "F:\新建文件夹\泰迪杯\venv\lib\site-packages\pip-19.0.3-py3.8.egg\pip\_internal\commands\install.py", line 384, in run
      installed = install_given_reqs(
    File "F:\新建文件夹\泰迪杯\venv\lib\site-packages\pip-19.0.3-py3.8.egg\pip\_internal\req\__init__.py", line 53, in install_given_reqs
      requirement.install(
    File "F:\新建文件夹\泰迪杯\venv\lib\site-packages\pip-19.0.3-py3.8.egg\pip\_internal\req\req_install.py", line 910, in install
      self.move_wheel_files(
    File "F:\新建文件夹\泰迪杯\venv\lib\site-packages\pip-19.0.3-py3.8.egg\pip\_internal\req\req_install.py", line 437, in move_wheel_files
      move_wheel_files(
    File "F:\新建文件夹\泰迪杯\venv\lib\site-packages\pip-19.0.3-py3.8.egg\pip\_internal\wheel.py", line 458, in move_wheel_files
      clobber(source, dest, False, fixer=fixer, filter=filter)
    File "F:\新建文件夹\泰迪杯\venv\lib\site-packages\pip-19.0.3-py3.8.egg\pip\_internal\wheel.py", line 424, in clobber
      record_installed(srcfile, destfile, changed)
    File "F:\新建文件夹\泰迪杯\venv\lib\site-packages\pip-19.0.3-py3.8.egg\pip\_internal\wheel.py", line 351, in record_installed
      newpath = normpath(destfile, lib_dir)
    File "F:\新建文件夹\泰迪杯\venv\lib\site-packages\pip-19.0.3-py3.8.egg\pip\_internal\wheel.py", line 68, in normpath
      return os.path.relpath(src, p).replace(os.path.sep, '/')
    File "E:\Users\哲\AppData\Local\Programs\Python\Python38\lib\ntpath.py", line 703, in relpath
      raise ValueError("path is on mount %r, start on mount %r" % (
  ValueError: path is on mount 'F:', start on mount 'C:'
最佳答案
2020-4-28 10:11:38
path is on mount 'F:', start on mount 'C:',path的路径指向F盘,但启动盘是C盘。你的pycharm在F盘,python在E盘,没道理从C盘启动程序,好像听说过低版本的pip会出类似的bug,我看pycharm的pip版本是19.0.3,现在的版本是20.0.2,你升级pip后再安装一次看看。
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复

使用道具 举报

发表于 2020-4-28 07:52:16 From FishC Mobile | 显示全部楼层
已经安装成功,但是是之后才报 Error
报错信息是 Path 路径挂载在 F:\ , 但是开始是在 C:\ , 你应该检查一下你的 Path
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2020-4-28 10:11:38 | 显示全部楼层    本楼为最佳答案   
path is on mount 'F:', start on mount 'C:',path的路径指向F盘,但启动盘是C盘。你的pycharm在F盘,python在E盘,没道理从C盘启动程序,好像听说过低版本的pip会出类似的bug,我看pycharm的pip版本是19.0.3,现在的版本是20.0.2,你升级pip后再安装一次看看。
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Archiver|鱼C工作室 ( 粤ICP备18085999号-1 | 粤公网安备 44051102000585号)

GMT+8, 2024-11-26 22:34

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表