Problem: an error “these packages do not match the hashes from the requirements file” appears when installing the third-party library
Reason: the download error is usually caused by the network speed problem, resulting in the corresponding hash value does not match.
Solution: when pip is needed, add the “- upgrade” parameter. Usually, the download will report an error timeout at this time, so adding a “- default timeout = 100000” is more secure (the value of timeout can vary according to the situation).
pip install --upgrade --default-timeout=100000 packagename
Later, when installing pyqt5, I encountered the same problem. I still reported an error by using the above method. After using the online method, I solved the problem
# Install pyqt5
pip install PyQt5 -i https://pypi.douban.com/simple
# Install pyqt5-tools
pip install PyQt5-tools -i http://pypi.douban.com/simple --trusted-host=pypi.douban.com
Read More:
- [Solved] faiss Failed to install Error: No version of faiss found that meets the requirements
- Ruby Install Error running ‘requirements_osx_brew_update_system ruby-2.3.1
- FreeSWITCH installation error “You must install libyuv-dev to build mod_fsv” solution
- Ubuntu14.04 installation error: no such partition
- Install MySQL ODBC connector prompt error 1918 perfect solution (non installation of VC + + library method)
- How to install PIL in Python 3
- Homebrew installation strategy of M1 MAC based on ARM architecture
- Error in PostgreSQL installation of win10
- [Solved] gocad2017 Install error: The installation of MSVC_2010_SP1_x64_32bit has failed.
- Automatic installation of NVIDIA 3090 video card driver
- Bid for Kirin (Linux kernel) 7.0 compiler and installation sdl2.0 and QT using sdl2
- How to Fix creating process error during software installation
- How to Revert Your File & Folder by “FOUND.000”
- Ubuntu install psycopg2 times: fatal error: libpq Fe. H: there is no solution to that file or directory
- [Solved] Plug-in Install Error: This is an error with npm itself. Please report this error at:
- Yaml Install ERROR: Cannot uninstall ‘PyYAML’.
- Use Maven install to type the war package, which shows that the package XXX does not exist
- Macos: How to Solve cocoapods Install Error
- [Solved] ORB_SLAM Install Error: error: ‘std::chrono::monotonic_clock’ has not been declared
- How to Install FFmpeg on Linux