python-shell
python-shell copied to clipboard
Python path of virtual environment
What should be the exact path ko virtual environment of the python? somepath/venv/bin
or somepath/venv/lib/python3.6/site-packages
.
Getting an error message like this:
Error: spawn ..vrp/venv/lib/python3.6/site-packages EACCES
It depends on where the tool you have used to create the virtual environment has placed the virtual environment.
What command did you use to create the virtual env?
can someone please help me on how do i run the shell with virtual environment? (trying to use custom imports) i activated it via the terminal and it's working in the terminal, but not in the python shell.
typing which python3
into the command line while running in my pipenv virtual environment correctly gives me back the python path. This fixed this error for me, hopefully that helps
Hi @RedHairring if it is possible may you attach some code? I have the same error as @cerberusv2px.