Repository navigation
ERROR: Environment does not contain activate script. #101
Copy link
Copy link
Open
Labels
questionFurther information is requestedFurther information is requested
Description
Activity
Which version of virtualenv are you using?
quantitative-technologies commented
on Jun 30, 2024 AuthorMore actionsHello,
This is occurring with 20.26.3:
ubuntu@ip-172-31-36-200:~$ pip show virtualenv Name: virtualenv Version: 20.26.3 Summary: Virtual Python Environment builder Home-page: https://github.com/pypa/virtualenv Author: Author-email: License: Location: /home/ubuntu/.local/lib/python3.10/site-packages Requires: distlib, filelock, platformdirs Required-by: virtualenvwrapperDoes
/home/ubuntu/.virtualenvs/bot/bin/activateexist and is it a file?quantitative-technologies commented
on Jul 4, 2024 AuthorMore actionsCorrect:
ubuntu@ip-172-31-36-200:~/.virtualenvs/bot/bin$ ls -l total 76 -rw-rw-r-- 1 ubuntu ubuntu 2241 Jun 24 22:21 activate -rw-rw-r-- 1 ubuntu ubuntu 1500 Jun 24 22:21 activate.csh -rw-rw-r-- 1 ubuntu ubuntu 3064 Jun 24 22:21 activate.fish -rw-rw-r-- 1 ubuntu ubuntu 2748 Jun 24 22:21 activate.nu -rw-rw-r-- 1 ubuntu ubuntu 1653 Jun 24 22:21 activate.ps1 -rw-rw-r-- 1 ubuntu ubuntu 1303 Jun 24 22:21 activate_this.py -rwxr-xr-x 1 ubuntu ubuntu 150 Jun 24 22:21 get_env_details -rwxrwxr-x 1 ubuntu ubuntu 245 Jun 24 22:21 pip -rwxrwxr-x 1 ubuntu ubuntu 245 Jun 24 22:21 pip-3.10 -rwxrwxr-x 1 ubuntu ubuntu 245 Jun 24 22:21 pip3 -rwxrwxr-x 1 ubuntu ubuntu 245 Jun 24 22:21 pip3.10 -rw-r--r-- 1 ubuntu ubuntu 72 Jun 24 22:21 postactivate -rw-r--r-- 1 ubuntu ubuntu 74 Jun 24 22:21 postdeactivate -rwxr-xr-x 1 ubuntu ubuntu 69 Jun 24 22:21 preactivate -rw-r--r-- 1 ubuntu ubuntu 75 Jun 24 22:21 predeactivate lrwxrwxrwx 1 ubuntu ubuntu 16 Jun 24 22:21 python -> /usr/bin/python3 lrwxrwxrwx 1 ubuntu ubuntu 6 Jun 24 22:21 python3 -> python lrwxrwxrwx 1 ubuntu ubuntu 6 Jun 24 22:21 python3.10 -> python -rwxrwxr-x 1 ubuntu ubuntu 232 Jun 24 22:21 wheel -rwxrwxr-x 1 ubuntu ubuntu 232 Jun 24 22:21 wheel-3.10 -rwxrwxr-x 1 ubuntu ubuntu 232 Jun 24 22:21 wheel3 -rwxrwxr-x 1 ubuntu ubuntu 232 Jun 24 22:21 wheel3.10
Do you have any other overrides or shell aliases for commands like
lsorfind? What other virtualenvwrapper settings do you have configured?- addedquestionFurther information is requestedFurther information is requested
on Sep 2, 2024 I received this message in a very different environment: using Windows python from an msys2/ucrt64 shell. The VIRTUALENVWRAPPER_ENV_BIN_DIR was not set correctly because UCRT64 is not considered in the cases for the MSYSTEM variable. Everything seems to work properly now that I added that test.
It would/could be helpful to dump all VIRTUALENVWRAPPER environment variables in cases like this.
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested
I'm using Ubuntu 22.04.2 on an AWS server.
virtualenvwrapperwas installed the same way I have done for years.But now when I try to create a virtualenv I get the error: