【问题标题】:pandas installation error using pip installer使用 pip 安装程序的 pandas 安装错误
【发布时间】:2019-01-15 07:33:59
【问题描述】:

在命令提示符下通过 python 3.7 的 pip 安装程序安装 pandas 时反复出现以下错误

Using cached https://files.pythonhosted.org/packages/26/fc/d0509d445d2724fbc5f9c9a6fc9ce7da794873469739b6c94afc166ac2a2/pandas-0.23.4-cp37-cp37m-win32.whl
Collecting pytz>=2011k (from pandas)
  Downloading https://files.pythonhosted.org/packages/61/28/1d3920e4d1d50b19bc5d24398a7cd85cc7b9a75a490570d5a30c57622d34/pytz-2018.9-py2.py3-none-any.whl (510kB)
    100% |████████████████████████████████| 512kB 204kB/s
Collecting python-dateutil>=2.5.0 (from pandas)
  Downloading https://files.pythonhosted.org/packages/74/68/d87d9b36af36f44254a8d512cbfc48369103a3b9e474be9bdfe536abfc45/python_dateutil-2.7.5-py2.py3-none-any.whl (225kB)
    100% |████████████████████████████████| 235kB 187kB/s
Collecting numpy>=1.9.0 (from pandas)
  Downloading https://files.pythonhosted.org/packages/94/b5/f4bdf7bce5f8b35a2a83a0b70c545ca061a50b54724b5287505064906b14/numpy-1.16.0-cp37-cp37m-win32.whl (10.0MB)
    100% |████████████████████████████████| 10.0MB 139kB/s
Could not install packages due to an EnvironmentError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\LENOVO\\AppData\\Local\\Temp\\pip-req-tracker-hwub07hg\\29e06807d5aed8dd372ea37c64d1e88dc172ee212d473a412d5e638c'
Consider using the `--user` option or check the permissions.

我已经通过管理员运行了命令,但它没有运行。

【问题讨论】:

  • 尝试添加--no-cache-dir 选项。

标签: pandas pip


【解决方案1】:

尝试升级为Jonny suggested。重新启动计算机,升级pip并尝试使用Unofficial Windows Binaries for Python Extension Packagespip install --user <package_name>安装pandas。 也看看PermissionError: [WinError 32] The process cannot access the file because it is being used by another process。 希望对您有所帮助。

【讨论】:

    猜你喜欢
    • 2018-07-11
    • 1970-01-01
    • 2021-12-09
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-01-23
    • 2018-12-06
    相关资源
    最近更新 更多