我在windows10上使用python3.5,我不能安装一些库,比如scipy,mlxtend和math.
我已经按照这个答案Python pip install gives "Command "python setup.py egg_info" failed with error code 1"安装并升级了setuptools和ez_setup
当我尝试pip install scipy和mlxtend时,我得到以下错误:
NotFoundError: no lapack/blas resources found
当我尝试安装数学时,我得到了以下错误:
Using cached Math-0.5.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\raisa\AppData\Local\Temp\pip-build-e23g412r\math\setup.py", line 2, in <module>
raise RuntimeError("Package 'Math' must not be downloaded from pypi")
RuntimeError: Package 'Math' must not be downloaded from pypi
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\raisa\AppData\Local\Temp\pip-build-e23g412r\math\发布于 2016-12-21 10:03:07
在Windows上,你需要找到unofficial binaries here并为你想要安装的包下载合适的.whl文件。使用pip安装和升级wheel和setuptools,然后执行pip install the_name_of_the_file.whl
因此,假设您想要安装matplotlib,并且.whl文件位于您的当前目录中...
pip install wheel
pip install --upgrade setuptools
pip install matplotlib‑1.5.3‑cp35‑cp35m‑win32.whlhttps://stackoverflow.com/questions/41253928
复制相似问题