目前我正试图在Windows 7 64位上安装python 2.7.14的Image
软件包。当我尝试pip install Image
时,需要一段时间才能回答并提示如下错误(MJ是用户名):
C:\Users\MJ>pip install Image
Collecting Image
Using cached image-1.5.17-py2.py3-none-any.whl
Requirement already satisfied: pillow in c:\python27\lib\site-packages (from Image)
Collecting django (from Image)
Using cached Django-2.0.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\mj\appdata\local\temp\pip-build-w95zen\django\setup.py", li
ne 32, in <module>
version = __import__('django').get_version()
File "django\__init__.py", line 1, in <module>
from django.utils.version import get_version
File "django\utils\version.py", line 61, in <module>
@functools.lru_cache()
AttributeError: 'module' object has no attribute 'lru_cache'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in c:\users\mj\appda
ta\local\temp\pip-build-w95zen\django\
对于许多软件包,我在下载或安装时遇到问题! 反正有没有摆脱这些问题并在Windows下发展?