Jump to content

Recommended Posts

Posted

I installed buster (5.10.21-sunxi) on an Orange Pi zero.

I'm trying to install a package using a python venv which required python 3.8 but buster comes with python 3.7.

I tried to update using this set of commands

sudo wget https://www.python.org/ftp/python/3.8.2/Python-3.8.2.tgz
sudo tar xzf Python-3.8.2.tgz
cd Python-3.8.2
./configure --enable-optimizations
make -j 4
sudo make altinstall

I tried to create a virtual environment with 

python3.8 -m venv /srv/myapp

but I get this error

Error: Command '['/srv/myapp/bin/python3.8', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.

 

What does it mean? How could I fix this?

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines