upterm icon indicating copy to clipboard operation
upterm copied to clipboard

Can't activate python virtualenv

Open jpompe opened this issue 9 years ago • 10 comments

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

jpompe avatar Sep 08 '15 21:09 jpompe

Hey, @jpompe. source is a built-in shell function. We use a custom shell, which doesn't support it yet.

vlad-shatskyi avatar Sep 08 '15 21:09 vlad-shatskyi

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'!

maicss avatar Jul 08 '16 19:07 maicss

Very nice and interactive. If it only supported source to use it with virtualenvs.

madisvain avatar Jul 13 '16 15:07 madisvain

Any updates on this or maybe a way I could help?

madisvain avatar Oct 14 '16 11:10 madisvain

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.

drew-gross avatar Oct 14 '16 17:10 drew-gross

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.

halink0803 avatar Apr 10 '17 02:04 halink0803

No, sorry :(

drew-gross avatar Apr 10 '17 17:04 drew-gross

Perhaps venv functionality for Python development can be implemented as a Plugin?

kennell avatar Jun 09 '17 12:06 kennell

@kennell perhaps the exact steps to reproduce with expected and actual results would be helpful to have it fixed sooner.

vlad-shatskyi avatar Jun 12 '17 08:06 vlad-shatskyi

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

Ornataweaver avatar Dec 31 '17 15:12 Ornataweaver