1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Python] Install `venv` without sudo access [duplicate]

Discussão em 'Python' iniciado por Stack, Setembro 13, 2024.

  1. Stack

    Stack Membro Participativo

    I am in a Ubuntu 22.04 cluster with Python==3.11 and pip==24.2 and no sudo access. When I try to create a virtual environment python3 -m venv .env I get:

    The virtual environment was not created successfully because ensurepip is not
    available. On Debian/Ubuntu systems, you need to install the python3-venv
    package using the following command.

    apt-get install python3-venv


    any idea how to do it? I only need 'venv', for 'virtualenv' or 'pyenv' I have found how to do it.

    Continue reading...

Compartilhe esta Página