0

I am trying to use Firebase in my python web app, but when I installed firebase in my venv, everytime I run the python file I get a dependency error. I just kept pip installing them until I got to "No module named 'Crypto'."

I have tried doing:

pip install pycrypto 
pip install pycryptodome

Both install successfully, but when I rerun the app I still get "ModuleNotFoundError: No module named 'Crypto'."

I am using visual studio code if that matters. I am installing them to my venv with the visual studio code terminal.

Full error:

Traceback (most recent call last):
  File "/Users/dylan/Desktop/Web App/main.py", line 8, in <module>
    from firebase import firebase
  File "/Users/dylan/Desktop/Web App/venv/lib/python3.8/site-packages/firebase/__init__.py", line 20, in <module>
    from Crypto.PublicKey import RSA
ModuleNotFoundError: No module named 'Crypto'
Tory
  • 109
  • 11

0 Answers0