tags: Python Flask
When using Python's third-party library CRYPTO:
from Crypto.PublicKey import RSA
Newspaper for the following error:ModuleNotFoundError:No module named "Crypto"
First of all, it is the first to install a third-party library CRYPTO.
pip install crypto
The installation is successful, but the Crypto is still a red wavy line.
1. Solution that cannot solve the problem online
(1) Find the installation address, the folder named "crypto", rename "CRYPTO", the result: Crypto no longer has a red wavy line, but the wavy line below the cipher still exists, run the program, still promptModuleNotFoundError:No module named "Crypto"
(2) Install the third party library Pycrypto, this is not installed, and there are many faults.
pip install pycrypto
2, the final solution to the problem:
(1) Uninstall Crypto and Pycrypto first
pip uninstall Crypto
pip uninstall pycrypto
(2) Install a third-party library Pycryptodome
pip install pycryptodome
If this error is reported, it means that the package you want cannot be found, but using the pip list command in cmd, it is found that the package is indeed installed. At this time, you should check w...
Python3.7 scrapy encounters async and ModuleNotFoundError: No module named 'win32api' error solution First, the operating environment Second, solve the Python3.7 scrapy async error Third, Python3.7 sc...
Contos solve: A 3.7 version requires a new package libffi-devel, installation can be compiled again after you install this package. if the file links in addition to rely installation advancing under /...
2019 Unicorn Enterprise Heavy Recruitment Python Engineer Standard >>> Problem Description Execute the Make Install time in CentOS7.6 with Python3.7.3 Source Code: system version Python versi...
Python3.7 appears "Modulenotfounderror: no module named 'tkinter'" error solution Seeing a lot of solutions to this problem is reinstalled or configured, but tkinter is a Python built-in sta...
Solution: If the error is reported afterwards: ModuleNotFoundError: No module named ‘skimage.metrics‘ It is caused by the low Skimage version. It can be updated to the latest version (or 0...
When using Python's third-party library Crypto, the code is as follows Run the program, an error appears: The first thing that comes to mind is to install the third-party library Crypto So: prompt The...
1, problem The Python script is executed on Win10, then report an error, promptNo module named 'Crypto' As shown below: Install the Crypto module, executepip install Crypto After the installation is s...
the reason: Python does not install third-party library pycrypto 1.pip install pycrypto A new error has occurred:error: Microsoft Visual C++ 14.0 is required Just install the corresp...
Problem 1.zipimport.ZipImportError: can't decompress data; zlib not available Makefile:1130: recipe for target 'install' failed make: *** [install] Error 1 install zlib1g-dev 2.ModuleNotFoundError: No...