![]() |
|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]()
Hello,
I was trying to activate the virtual environment that I've created with python as local user and even as root but in both situations I got this message: ksh: ./myenv/bin/activate: cannot execute - Permission denied What seems to be the problem? |
|
|||
![]()
You don't execute it, you source it.
'. ./myenv/bin/activate' for ksh. |
|
|||
![]() Quote:
By the way could you please explain what is the difference between them? |
|
|||
![]()
It executes the commands in the current shell.
Why do that and not create a sub-shell? I'm not sure. I assume there is some practical difference that I don't know about. |
|
|||
![]()
Is it not possible to make the resulting shell interactive? I thought I've seen some systems do this. Then when you exit the modified sub-shell, you get you original clean environment back.
|
![]() |
Tags |
python, venv |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
activate SMP on AMD64 | philo_neo71 | NetBSD General | 8 | 18th December 2015 03:58 AM |
armV7 activate turbo | philo_neo71 | NetBSD General | 0 | 20th November 2015 03:50 AM |
OpenBSD in virtualized environment | jjstorm | OpenBSD General | 13 | 26th November 2014 06:04 AM |
Xfce 4.8.0 desktop environment released | J65nko | News | 4 | 18th January 2011 05:23 PM |
Cannot activate partition in XP. | bsdnewbie999 | OpenBSD Installation and Upgrading | 6 | 4th May 2009 05:21 PM |