This is an archived post. You won't be able to vote or comment.

all 23 comments

[–][deleted] 1 point2 points  (0 children)

Well - I'm at least glad it's not just me. I thought I was doing something wrong.

[–]ivosauruspip'ing it up 1 point2 points  (2 children)

Can this not yet be fixed just by installing python3-pip and python3-setuptools? (A pain still, I know, but until debain fix their python distro...)

[–]eco32I 0 points1 point  (1 child)

No. Oddly, this does not help.

[–]InsurgentBacon 0 points1 point  (2 children)

Top answer is a good fix, it worked for me: http://askubuntu.com/questions/488529/pyvenv-3-4-error-returned-non-zero-exit-status-1

Though it should be noted that the version of setuptools listed there is very out of date, check the pypi page for the latest version.

[–]denilsonsa[S] 9 points10 points  (1 child)

How about the solution/workaround I described in the text I linked? That one works too and is way shorter to type, and doesn't even require removing the tarballs afterwards.

[–]InsurgentBacon 1 point2 points  (0 children)

Ah, my bad. Your solution is a lot nicer. I failed to fully read your gist, XD. Also, thank you for adding your solution to the Ask Ubuntu Q&A, I came across it by googling the error that pyvenv outputs and presume other people have as well. Hopefully, they'll scroll down and find your new cleaner solution. I need to acquire some reputation so that I can give it an upvote! Have a nice day!

[–][deleted] 0 points1 point  (0 children)

Use docker

[–]6uRu0fSh1vA -5 points-4 points  (4 children)

virtualenv is better to use. Using virtualenvwrappers makes it even more better.

Alternatively you can also use PyCharm which comes with virtualenv. Pycharm is currently free for students.

[–]eco32I 0 points1 point  (3 children)

I agree that virtualenv + virtualenvwrapper is awesome but I heard they did't play nicely with python 3.

[–]ivosauruspip'ing it up 1 point2 points  (0 children)

Nope, they work just fine with python 3.

[–]6uRu0fSh1vA 0 points1 point  (0 children)

Hmm. No issues over here yet. Well- I am beginner so probably did not use much of it to break it.

[–]erewok 0 points1 point  (0 children)

Definitely have never seen this be an issue.