[eclipse] pip install error

When I want to pip install modules downloaded from website
http://www.lfd.uci.edu/~gohlke/pythonlibs/

Take scipy as an example. Since the file with extension whl, we need to use pip install to install this module. Then I put the downloaded file scipy-0.16.1-cp27-none-win_amd64.whl into a different file especially to put these modules and then I want to pip install from the specialized file, I get an error:

What does this error mean? Then I search for the internet and find many vary complex solutions. But Here I give my easy one: Just put all .whl into the same file as pip.exe, which is …\python 2.7.10\Scripts

The pip install works

File "C:\Users\许祥辉\AppData\Roaming\Python\Python39\site-packages\setuptools\_distutils\cmd.py", line 107, in ensure_finalized self.finalize_options() File "C:\Users\许祥辉\AppData\Roaming\Python\Python39\site-packages\setuptools\command\develop.py", line 52, in finalize_options easy_install.finalize_options(self) File "C:\Users\许祥辉\AppData\Roaming\Python\Python39\site-packages\setuptools\command\easy_install.py", line 266, in finalize_options self.expand_dirs() File "C:\Users\许祥辉\AppData\Roaming\Python\Python39\site-packages\setuptools\command\easy_install.py", line 401, in expand_dirs self._expand_attrs(dirs) File "C:\Users\许祥辉\AppData\Roaming\Python\Python39\site-packages\setuptools\command\easy_install.py", line 383, in _expand_attrs val = subst_vars(val, self.config_vars) File "C:\Users\许祥辉\AppData\Roaming\Python\Python39\site-packages\setuptools\_distutils\util.py", line 260, in subst_vars raise ValueError(f"invalid variable {var}") ValueError: invalid variable 'implementation' [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error python setup.py develop did not run successfully. exit code: 1 [38 lines of output] running develop C:\Users\许祥辉\AppData\Roaming\Python\Python39\site-packages\setuptools\command\easy_install.py:156: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( Traceback (most recent call last): File "C:\Users\许祥辉\AppData\Roaming\Python\Python39\site-packages\setuptools\_distutils\util.py", line 258, in subst_vars return _subst_compat(s).format_map(lookup) KeyError: 'implementation' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<string>", line 2, in <module> File "<pip-setuptools-caller>", line 35, in <module> File "C:\Windows\System32\src\embedding-dataset-reordering\setup.py", line 16, in <module> setup( File "C:\Users\许祥辉\AppData\Roaming\Python\Python39\site-packages\setuptools\__init__.py", line 153, in setup return distutils.core.setup(**attrs) File "C:\Users\许祥辉\AppData\Roaming\Python\Python39\site-packages\setuptools\_distutils\core.py", line 148, in setup return run_commands(dist) File "C:\Users\许祥辉\AppData\Roaming\Python\Python39\site-packages\setuptools\_distutils\core.py", line 163, in run_commands dist.run_commands() File "C:\Users\许祥辉\AppData\Roaming\Python\Python39\site-packages\setuptools\_distutils\dist.py", line 967, in run_commands self.run_command(cmd) File "C:\Users\许祥辉\AppData\Roaming\Python\Python39\site-packages\setuptools\_distutils\dist.py", line 985, in run_command cmd_obj.ensure_finalized()
最新发布
06-26
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值