Python으로 MySQL 사용하다가 다음에러가 발생했다.
RuntimeError: 'cryptography' package is required for sha256_password
해당 코드가 실행되지 않으면 문제되지 않는데, 실행된다면 발생한다.
에러 내용을 봐도 쉽게 원인을 알 수 있듯이 'cryptography' 패키지가 없어서 발생한 에러
pip를 이용해 cryptography를 설치하면 간단히 해결된다.
pip install cryptography
"cryptography is required for sha256_password or caching_sha2_password"
Good day. Hope your all are well. Can someone help me with fix this? I'm new to the MySQL environment. I'm trying to connect to MySQL Database remotely. I used the following python code and got t...
stackoverflow.com
반응형
댓글