Python3.8 venv without activate script
5,298
For some reason I tried to reinstall it again some times and now it worked.
I think i forgot to purge the package the last time and it tried to reinstall the package that was already downloaded.
So I ran sudo apt purge python3-venv
and sudo apt install python3-venv
and it worked.
Related videos on Youtube
Author by
Gabriel Maia Gondim
Updated on September 18, 2022Comments
-
Gabriel Maia Gondim over 1 year
When I try to create a virtual environment, the created folder does not have the venv/bin/activate script.
I tried to install and reinstall venv usingsudo apt install python3-venv
, but it always comes broken (without the script).
I also tried to use virtualenv (tried to install it using bothsudo apt install python3-virtualenv
andpip install virtualenv
), but it also doesn't create the script.-
Mukesh Sai Kumar about 4 yearsDoes this help you?
-
-
Jeremy Yeo about 3 yearsRan into the same thing here... the first installation of
python3-venv
created an env folder without theactivate
script so I purged and reinstalled as described here and it started working.