弋兮灬夜丶 发表于 2020-4-27 21:50:36

pycharm 无法安装 scipy

求大佬帮帮忙

Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple/
Collecting scipy
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/04/ab/e2eb3e3f90b9363040a3d885ccc5c79fe20c5b8a3caa8fe3bf47ff653260/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.cn/packages/8c/23/848298cccf8e40f5bbb59009b32848a4c38f4e7f3364297ab3c3e2e2cd14/wheel-0.34.2-py2.py3-none-any.whl
Collecting setuptools
    Downloading https://pypi.tuna.tsinghua.edu.cn/packages/a0/df/635cdb901ee4a8a42ec68e480c49f85f4c59e8816effbf57d9e6ee8b3588/setuptools-46.1.3-py3-none-any.whl (582kB)
Collecting Cython>=0.29.13
    Downloading https://pypi.tuna.tsinghua.edu.cn/packages/9b/24/3416df8ae5962b09f6b522ad6d61e711dadb57816a6e4e76c3b99732f3c5/Cython-0.29.17-py2.py3-none-any.whl (971kB)
Collecting numpy==1.17.3
    Downloading https://pypi.tuna.tsinghua.edu.cn/packages/b6/d6/be8f975f5322336f62371c9abeb936d592c98c047ad63035f1b38ae08efe/numpy-1.17.3.zip (6.4MB)
Collecting pybind11>=2.4.0
    Downloading https://pypi.tuna.tsinghua.edu.cn/packages/89/e3/d576f6f02bc75bacbc3d42494e8f1d063c95617d86648dba243c2cb3963e/pybind11-2.5.0-py2.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:'

_2_ 发表于 2020-4-28 07:52:16

已经安装成功,但是是之后才报 Error
报错信息是 Path 路径挂载在 F:\ , 但是开始是在 C:\ , 你应该检查一下你的 Path

txxcat 发表于 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后再安装一次看看。
页: [1]
查看完整版本: pycharm 无法安装 scipy