3👍
Looks like its an issue with asn1crypto package..
running the below command should fix the issue
rm -rf venv/lib/python2.7/site-packages/asn1crypto
1👍
I had similar problem. It is because python3.6.8 and macOS catalina are incompatible. If you upgrade python version at least 3.8, it will work.
https://docs.python.org/3.8/whatsnew/changelog.html?highlight=catalina
0👍
Just remove cryptography
package.
Had a similar problem and found a solution here https://github.com/jazzband/django-push-notifications/issues/549:
- Django + Emacs (as TextMate replacement)
- ImportError: cannot import name "urandom"
- Confusion in Django admin, static and media files
- ASGI_APPLICATION not working with Django Channels
Source:stackexchange.com