I have an existing Django application that I'm trying to set up locally. After creating a virtual environment and installing all the required dependencies, running manage.py
just aborts without any other useful error message.
(venv) $ python manage.py
[1] 39973 abort python manage.py
Any subcommands supplied also just aborts and I've been trying to find a way to debug with no luck.
Versions used:
python 3.6.8
Django 2.0.2
EDIT:
I finally figured out the problem. If you are on macOS 10.15 (Catalina) this may help you:
One of the dependencies is cryptography
which requires openssl. You can install openssl via brew then add symbolic links to the following:
cd /usr/local/lib
ln -s /usr/local/Cellar/openssl/1.0.2t/lib/libcrypto.1.0.0.dylib libcrypto.dylib
ln -s /usr/local/Cellar/openssl/1.0.2t/lib/libssl.1.0.0.dylib libssl.dylib