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.

Share:
5,298

Related videos on Youtube

Gabriel Maia Gondim
Author by

Gabriel Maia Gondim

Updated on September 18, 2022

Comments

  • Gabriel Maia Gondim
    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 using sudo apt install python3-venv, but it always comes broken (without the script).

    I also tried to use virtualenv (tried to install it using both sudo apt install python3-virtualenv and pip install virtualenv), but it also doesn't create the script.

    • Mukesh Sai Kumar
      Mukesh Sai Kumar about 4 years
      Does this help you?
  • Jeremy Yeo
    Jeremy Yeo about 3 years
    Ran into the same thing here... the first installation of python3-venv created an env folder without the activate script so I purged and reinstalled as described here and it started working.