re: Dead Simple Python: Virtual Environments and pip VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Hello Jason, I found this article very informative and point-to-point coverage on topics. Though I still have doubts on she-bang. As you said abov...
 

That error has nothing to do with Python at all. Running just...

test.py

...is going to search your system environment paths for an executable file called test.py, and I can practically guarantee your project folder isn't part of that environment path.

Thus, you need to run...

./test.py

The . means "current working directory", and then you build the relative path from there.

code of conduct - report abuse