<!DOCTYPE html>
PS: The following operations are all based on win10 64 bit operating system
pip install any packages have a problem: Can not unpack file / tmp / pip-KzJgHD-unpack / simple
Error:
Cannot unpack file /tmp/pip-KzJgHD-unpack/simple (downloaded from /tmp/pip-M1hKq2-build, content-type: text/html; charset=utf-8); cannot detect archive format
Cannot determine archive format of /tmp/pip-M1hKq2-build
Solution:
need to add --extra-index-url such as:
pip install --extra-index-url http://mirrors.aliyun.com/pypi/simple/ config
--extra-index-url <url> Extra URLs of package indexes to use in addition to --index-url. Should follow the same rules as --index-url
Installation module failed with error
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
Solution:
- Access
https://www.lfd.uci.edu/~gohlke/pythonlibs/#mysqlclient
, find and download the package they need - CMD is to be stored in this directory file, execute
pip install mysqlclient
- successful ^-^
Running pip install win32api
andpip install pywin32
Will prompt an error, as follows:
Could not find a version that satisfies the requirement win32api (from versions: )
No matching distribution found for win32api
Changed
pip install pypiwin32
Successfully resolved.
Category:
python3
</div></div></div></div></div></div></div></div></body>
PS: The following operations are all based on win10 64 bit operating system
pip install any packages have a problem: Can not unpack file / tmp / pip-KzJgHD-unpack / simple
Error:
Cannot unpack file /tmp/pip-KzJgHD-unpack/simple (downloaded from /tmp/pip-M1hKq2-build, content-type: text/html; charset=utf-8); cannot detect archive format
Cannot determine archive format of /tmp/pip-M1hKq2-build
Solution:
need to add --extra-index-url such as:
pip install --extra-index-url http://mirrors.aliyun.com/pypi/simple/ config
--extra-index-url <url> Extra URLs of package indexes to use in addition to --index-url. Should follow the same rules as --index-url
Installation module failed with error
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
Solution:
- Access
https://www.lfd.uci.edu/~gohlke/pythonlibs/#mysqlclient
, find and download the package they need - CMD is to be stored in this directory file, execute
pip install mysqlclient
- successful ^-^
Running pip install win32api
andpip install pywin32
Will prompt an error, as follows:
Could not find a version that satisfies the requirement win32api (from versions: )
No matching distribution found for win32api
Changed
pip install pypiwin32
Successfully resolved.