venv installation
-
I'm trying to install venv but getting errors, same happens with pip.
phablet@ubuntu-phablet:~$ sudo apt-get install -y python3-venv
[sudo] password for phablet:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package python3-venv is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another sourceW: Not using locking for read only lock file /var/lib/dpkg/lock-frontend
W: Not using locking for read only lock file /var/lib/dpkg/lock
E: Package 'python3-venv' has no installation candidate
phablet@ubuntu-phablet:~$ sudo apt-get install -y python3-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
W: Not using locking for read only lock file /var/lib/dpkg/lock-frontend
W: Not using locking for read only lock file /var/lib/dpkg/lock
E: Unable to locate package python3-pip
phablet@ubuntu-phablet:~$Any suggestions?
-
@chaospredictor
Maybe you can tell us what you are willing to do ?
Here are some usefull informations: https://ubports.com/blog/ubports-news-1/how-ubuntu-touch-works-3896 -
@chaospredictor
One option I've tested is to useCrackleto install the version of python you want
After that, you can use pip and venv. -
@lduboeuf I'm building some python web app with local server. I would like it to be deployed on Ubuntu touch. And now, I just tried to run it by installing required python frameworks.
-
@chaospredictor said in venv installation:
@lduboeuf I'm building some python web app with local server. I would like it to be deployed on Ubuntu touch. And now, I just tried to run it by installing required python frameworks.
i don't know if it is possible to embed a custom python version within your click package, also running a web app server will probably need unrestricted access policy, will be hard to share it on open store later.
But someone with better knowledge need to answer
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login