Package 'python-virtualenv' has no installation candidate

1,438 views
Skip to first unread message

Hendrik du Toit

unread,
Feb 1, 2021, 5:32:21 PM2/1/21
to Reahl discuss
I get the following error in step 1 of "Preparing for installation on Ubuntu" (https://www.reahl.org/docs/5.0/tutorial/install-ubuntu.d.html)

sudo apt-get install python3-dev gcc cython python-virtualenv
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package python-virtualenv 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 source
E: Package 'python-virtualenv' has no installation candidate

Craig Sparks

unread,
Feb 2, 2021, 1:35:20 AM2/2/21
to reahl-...@googlegroups.com

Hi Hendrik,

yes the package used to be called python-virtualenv on older versions of Ubuntu, however on newer versions (since Ubuntu 20.04) it is rather referred to as python3-virtualenv. Our docs need to be updated accordingly. If you execute the command in Ubuntu 20.04, it will work:


sudo apt-get install python3-dev gcc cython python3-virtualenv


Appreciate the heads up.

Craig.

--
You received this message because you are subscribed to the Google Groups "Reahl discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reahl-discus...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/reahl-discuss/f9e7f800-330f-4087-a058-af7fce429ff5n%40googlegroups.com.

Hendrik du Toit

unread,
Feb 2, 2021, 9:17:30 AM2/2/21
to Reahl discuss
Sorted.  Thanx!
Reply all
Reply to author
Forward
0 new messages