I am doing a project in Django. I have installed python 3.7.5 and Django 1.11. When I try to run the command
python manage.py migrate
I am getting
[1] abort python manage.py migrate
The same thing is happening for
python manage.py runserver
I have been brainstorming for the last 2 days on how to fix this issue but no luck. Can someone help me out here in fixing this issue?
I finally got the answer for this question. It is frustrating to know that new version of macOS Catalina (10.15) only has this issue. Issue is related to cryptography which require OpenSSL. To fix these issues follow these steps:
brew install openssl
cd /usr/local/lib
/usr/local/Cellar/openssl/1.0.2t/lib/libcrypto.1.0.0.dylib
, and for OpenSSL 1.1.1 the path will be /usr/local/Cellar/[email protected]/1.1.1d/lib/libcrypto.1.1.dylib
Also search path for libssl.dylib
Run the following commands with the paths that you found:
ln -s /usr/local/Cellar/[email protected]/1.1.1d/lib/libcrypto.1.1.dylib libcrypto.dylib
ln -s /usr/local/Cellar/[email protected]/1.1.1d/lib/libssl.1.1.dylib libssl.dylib
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With