Skip to content

ERROR: Environment does not contain activate script. #101

Open
@quantitative-technologies

Description

I'm using Ubuntu 22.04.2 on an AWS server.

virtualenvwrapper was installed the same way I have done for years.

But now when I try to create a virtualenv I get the error:

ubuntu@ip-172-31-36-200:~$ mkvirtualenv bot                                                                                                                                                                        
created virtual environment CPython3.10.12.final.0-64 in 1039ms                                                                                                                                                    
  creator CPython3Posix(dest=/home/ubuntu/.virtualenvs/bot, clear=False, no_vcs_ignore=False, global=False)                                                                                                        
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/ubuntu/.local/share/virtualenv)                                                                     
    added seed packages: pip==24.1, setuptools==70.1.0, wheel==0.43.0                                                                                                                                              
  activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator                                                                                                      
virtualenvwrapper.user_scripts creating /home/ubuntu/.virtualenvs/bot/bin/predeactivate                                                                                                                            
virtualenvwrapper.user_scripts creating /home/ubuntu/.virtualenvs/bot/bin/postdeactivate                                                                                                                           
virtualenvwrapper.user_scripts creating /home/ubuntu/.virtualenvs/bot/bin/preactivate                                                                                                                              
virtualenvwrapper.user_scripts creating /home/ubuntu/.virtualenvs/bot/bin/postactivate                                                                                                                             
virtualenvwrapper.user_scripts creating /home/ubuntu/.virtualenvs/bot/bin/get_env_details                                                                                                                          
ERROR: Environment '/home/ubuntu/.virtualenvs/bot' does not contain an activate script.                                                                                                                            

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions