Monday, April 18, 2022

[SOLVED] pyvenv-3.4 returned non-zero exit status 1

Issue

I'm in Kubuntu 14.04 , I want to create a virtualenv with python3.4. I did with python2.7 before in other folder. But when I try:

pyvenv-3.4 venv

I've got:

Error: Command '['/home/fmr/projects/ave/venv/bin/python3.4', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1


Solution

I got a solution installing python-virtualenv

sudo apt-get install python-virtualenv

and using

virtualenv --python=/usr/bin/python3.4 venv


Answered By - kahonmlg
Answer Checked By - Mildred Charles (WPSolving Admin)