1. Questions:
When using pymysql, an error runtimeerror is reported: ‘cryptography’ package is required for sha256_password
2. Solution:
Cause: the cryptograph dependency package is missing
solution:
pip install cryptography
After installation, restart the service
Read More:
- [Solved] Python Error: “RuntimeError: ‘cryptography‘ package is required for sha256_password or caching_sha2_pas”
- Python3 Error: Cannot uninstall ‘numpy’. It is a distutils installed project and thus we cannot accurate
- [Solved] ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly
- Django uses Mysql to report an error loading MySQL DB module: no module named ‘mysqldb’
- [Solved] ERROR: Failed building wheel for pycryptodome
- [Solved] Django Error: django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module.
- [Solved] ansible Command Error: Error -5 while decompressing data: incomplete or truncated stream
- [Solved] UserWarning: mkl-service package failed to import, therefore Intel(R) MKL initialization ensuring it
- PIP Install Mysqlclient error C1083: Cannot open include file: ‘mysql.h‘: No such file or directory
- How to Solve Termux install Pillow Error
- [Solved] module ‘numpy.random‘ has no attribute ‘default_rng‘ gensim.model
- command ‘gcc’ failed with exit status 1 error while installing scrapy
- [Solved] transformers Install Error: error can‘t find rust compiler
- [Solved] Pdfplumber Read PDF Sheet Error: AttributeError: function/symbol ‘ARC4_stream_init‘ not found in library
- [Solved] Windows Configurate Python Environment error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft
- [Solved] RuntimeError: CuDNN error: CUDNN_STATUS_SUCCESS
- [Solved] pip Install Error: Missing dependencies for SOCKS support
- [Solved] TypeError: __init__() missing 1 required positional argument: ‘on_delete’
- [Solved] R Error: Python module tensorflow.keras was not found.
- [Solved] RuntimeError: run loop already started raise RuntimeError(‘run loop already started‘)