Missing dep in requeriments.txt
Just to report that dotenv is not in the list of requeriments and hence it has to be installed manually. Cheers,
Just got bitten by this, don't forget the name of the package to install is python-dotenv, so do a
pip install python-dotenv
after: pip install python-dotenv
the error persists.
(privateGPT) ➜ privateGPT git:(main) pip install python-dotenv
Requirement already satisfied: python-dotenv in /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages (1.0.0)
(privateGPT) ➜ privateGPT git:(main) /Users/jose/miniconda3/envs/privateGPT/bin/python /Users/jose/pyCode/privateGP
T/ingest.py
Traceback (most recent call last):
File "/Users/jose/pyCode/privateGPT/ingest.py", line 5, in
any idea why?
I've reproduced the issue on a Windows laptop. The problem was not specifically dotenv, but the dependencies in general; there had been a problem installing requirements.txt. I followed the instructions at the bottom of the readme:
- Install Visual Studio 2022.
- Make sure the following components are selected:
- Universal Windows Platform development
- C++ CMake tools for Windows
- Download the MinGW installer from the MinGW website.
- Run the installer and select the gcc component.
Then I still had problems running py ingest.py, but using pythong ingest.py it worked!
Let me know if that solves your issue @joseberlines