OSError: Starting path not found (dotenv-0.21.0-py3.9.egg) (python)

172 Views Asked by At

I'm developing a script in Python 3.9 that works perfectly on my personal PC. When I tried moving and running it on a server, it gives me the following error:

there the error

Does anyone know how to fix this error?

Laptop version: 3.10.7 server version: 3.9.0

I tried to install dotenv via pip manually, but it doesn't work.

also tried shebang but doesnt work.

1

There are 1 best solutions below

0
On

This could be the same issue than there, where the problem was using python setup.py install instead of pip install ..