mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
scripts/install_python2.sh: Explain pip install of older virtualenv
This commit is contained in:
parent
b61053cc3a
commit
6dec23b6c3
1 changed files with 6 additions and 3 deletions
|
@ -16,9 +16,12 @@
|
|||
export DEBIAN_FRONTEND=noninteractive
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
|
||||
# Older version http://launchpadlibrarian.net/651276954/virtualenv_20.19.0+ds-1_all.deb
|
||||
# unfortunately drags in newer 20.23+ version of python3-virtualenv, preventing Python 2.
|
||||
# So let's try pip: (which installs to /usr/local/bin)
|
||||
# 2023-05-19: #3573 -> PR #3582: Ubuntu 23.10's virtualenv 20.23 no longer
|
||||
# supports Python 2. Older version from Ubuntu 23.04 seemed plausible...
|
||||
# http://launchpadlibrarian.net/651276954/virtualenv_20.19.0+ds-1_all.deb
|
||||
# ...but drags in newer 20.23+ version of python3-virtualenv, leaving us
|
||||
# with /usr/bin/virtualenv 20.23 once again, i.e. preventing Python 2.
|
||||
# Whereas pip (which installs /usr/local/bin/virtualvenv) at least works:
|
||||
apt -y install python3-pip
|
||||
pip install virtualenv==20.21.1 --break-system-packages
|
||||
#apt -y install virtualenv
|
||||
|
|
Loading…
Add table
Reference in a new issue