issues with the installation and setup of python on linux
Posted: 2020-03-19 11:30
hello dear experts - i struggle with the installation and setup of python on a linux-machine
you see - exactly in the last part - i have issues:
hmm - ineed to have further investigations...
Code: Select all
Passwort:
root@mx:/home/martin#
root@mx:/home/martin# wget -qO - https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg | sudo apt-key add -
OK
root@mx:/home/martin#
root@mx:/home/martin# echo 'deb https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/repos/debs/ vscodium main' | sudo tee --append /etc/apt/sources.list.d/vscodium.list
deb https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/repos/debs/ vscodium main
root@mx:/home/martin#
root@mx:/home/martin# sudo apt update && sudo apt install codium
OK:1 http://deb.debian.org/debian buster-updates InRelease
Ign:2 http://dl.google.com/linux/chrome/deb stable InRelease
OK:3 http://ftp.halifax.rwth-aachen.de/mxlinux/packages/mx/repo buster InRelease
OK:4 http://deb.debian.org/debian buster InRelease
OK:5 http://deb.debian.org/debian-security buster/updates InRelease
OK:6 http://dl.google.com/linux/chrome/deb stable Release
OK:7 https://packagecloud.io/AtomEditor/atom/any any InRelease
Holen:9 https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/repos/debs vscodium InRelease [3.828 B]
Holen:10 https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/repos/debs vscodium/main amd64 Packages [603 B]
Es wurden 4.431 B in 5 s geholt (822 B/s).
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Aktualisierung für 49 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Die folgenden NEUEN Pakete werden installiert:
codium
0 aktualisiert, 1 neu installiert, 0 zu entfernen und 49 nicht aktualisiert.
Es müssen 64,2 MB an Archiven heruntergeladen werden.
Nach dieser Operation werden 269 MB Plattenplatz zusätzlich benutzt.
Holen:1 https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/repos/debs vscodium/main amd64 codium amd64 1.43.1-1584565098 [64,2 MB]
Es wurden 64,2 MB in 45 s geholt (1.436 kB/s).
Vormals nicht ausgewähltes Paket codium wird gewählt.
(Lese Datenbank ... 335525 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../codium_1.43.1-1584565098_amd64.deb ...
Entpacken von codium (1.43.1-1584565098) ...
codium (1.43.1-1584565098) wird eingerichtet ...
Trigger für mime-support (3.62) werden verarbeitet ...
Trigger für desktop-file-utils (0.23-4) werden verarbeitet ...
root@mx:/home/martin#
root@mx:/home/martin# python3 -m venv scrapingvenv
The virtual environment was not created successfully because ensurepip is not
available. On Debian/Ubuntu systems, you need to install the python3-venv
package using the following command.
apt-get install python3-venv
You may need to use sudo with that command. After installing the python3-venv
package, recreate your virtual environment.
Failing command: ['/home/martin/scrapingvenv/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']
root@mx:/home/martin# ^C
root@mx:/home/martin#
root@mx:/home/martin# python3 -m venv scrapingvenv
The virtual environment was not created successfully because ensurepip is not
available. On Debian/Ubuntu systems, you need to install the python3-venv
package using the following command.
apt-get install python3-venv
You may need to use sudo with that command. After installing the python3-venv
package, recreate your virtual environment.
Failing command: ['/home/martin/scrapingvenv/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']
root@mx:/home/martin#
you see - exactly in the last part - i have issues:
Code: Select all
martin@mx:~
$ python3 -m venv scrapingvenv
The virtual environment was not created successfully because ensurepip is not
available. On Debian/Ubuntu systems, you need to install the python3-venv
package using the following command.
apt-get install python3-venv
You may need to use sudo with that command. After installing the python3-venv
package, recreate your virtual environment.
Failing command: ['/home/martin/scrapingvenv/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']
martin@mx:~
$
hmm - ineed to have further investigations...