upterm
upterm copied to clipboard
Can't activate python virtualenv
I cannot activate a python virtual environment:
source venv/bin/activate execvp(3) failed.: No such file or directory . venv/bin/activate execvp(3) failed.: Permission denied
my user is the owner of the files
Hey, @jpompe. source
is a built-in shell function. We use a custom shell, which doesn't support it yet.
I don't know should this be a new issue or just put it here.
Sorry.
When I typed source activate
nothing happens.
I mean: no error, and also no virtual env has a sign of whether activated.
I think, it should has a sign to show one env has activated.
Thanks for you gays crate such cool 'shell'!
Very nice and interactive. If it only supported source to use it with virtualenvs.
Any updates on this or maybe a way I could help?
The way to implement this would be by using an "environment observer" plugin. We currently have an environment observer plugin that adds support for RVM that you can look at for an example of how to do it. Look for the file RVM.ts
. Due to the way virtualenv
works, though (with source
) you may need to add some features to the core code as well.
Any updates on this issue, is it solved or is there any instruction to go around with it? I am still facing with this issue.
No, sorry :(
Perhaps venv functionality for Python development can be implemented as a Plugin?
@kennell perhaps the exact steps to reproduce with expected and actual results would be helpful to have it fixed sooner.
Check-out extraterm. It's worth your time, you will love it. I'm a fan of the project and I'm learning to code. So my contributions are just talking at the moment. https://github.com/railsware/upterm/issues/266 https://github.com/sedwards2009/extraterm/issues/70#issuecomment-354504881