Ok, finalmente encontrei a solução. Eu quebrei o source.list. Eu regenho um novo aqui:
E substitua em /etc/apt/
Estou tentando instalar o pacote python3-venv
ubuntu, mas tenho este erro:
sudo apt-get install python3-venv
The following packages have unmet dependencies:
python3-venv : Depends: python3.5-venv (>= 3.5.1-2~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Então, tentei instalar python3.5-venv
, mas sem sucesso:
sudo apt-get install python3-venv
The following packages have unmet dependencies:
python3.5-venv : Depends: python3.5 (= 3.5.1-10) but 3.5.2-2ubuntu0~16.04.1 is to be installed
E: Unable to correct problems, you have held broken packages.
Eu tentei usar conda
e fazer o downgrade da minha versão do python de 3.5.2 para 3.5.1, mas o erro ainda ocorre.
conda install python=3.5.1
Minha versão do Ubuntu = > Ubuntu 16.04.2 LTS de 64 bits
Eu também tentei sudo apt install -f
, mas isso não resolveu meu problema.
Onde pode haver um problema?
venv
está nos módulos padrão desde o Python 3.3 e significa que você não precisa instalá-lo separadamente.
python3 -m venv my_venv