Dear Community,
running VSCodium on MX-Linux
here i have the Python Version 2.7.x - visible in the menu - at the bottom-line of vscodium
i thought that i can install via Terminal the Version 3!? But this is not possible:
question: is pip install not available as a command!?
found a interesting thread here VSCode: There is no Pip installer available in the selected environment
I’ve followed the instructions here: Using Python Environments in Visual Studio Code and selected my interpreter (⇧⌘P): /usr/local/bin/python
I then try to format my code, and VSCode says autopep8 isn’t installed, and can be installed via Pip. However, when I try to install via Pip, it says There is no Pip installer available in the selected environment. I then tried launching a terminal in the current environment by selecting Python: Create Terminal from the Command Palette. The terminal opens fine, pip is present, and I’m even able to pip install autopep8 in the terminal that opened in VSCode,
i runned this command:
root@mx:/home/martin# apt-get install python3-pip
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
python3-pip ist schon die neueste Version (18.1-5).
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
gir1.2-gstreamer-1.0 gir1.2-javascriptcoregtk-4.0 gir1.2-soup-2.4 libdbusmenu-qt5-2 libfam0
libgssdp-1.0-3 libgstreamer-plugins-bad1.0-0 libgupnp-1.0-4 libgupnp-igd-1.0-4 libicu67
libjavascriptcoregtk-4.0-18 libkf5activities5 libkf5archive5 libkf5attica5 libkf5auth-data
libkf5auth5 libkf5bookmarks-data libkf5bookmarks5 libkf5codecs-data libkf5codecs5
libkf5completion-data libkf5completion5 libkf5config-data libkf5configcore5 libkf5configgui5
libkf5configwidgets-data libkf5configwidgets5 libkf5coreaddons-data libkf5coreaddons5
libkf5crash5 libkf5dbusaddons-data libkf5dbusaddons5 libkf5doctools5 libkf5globalaccel-bin
libkf5globalaccel-data libkf5globalaccel5 libkf5globalaccelprivate5 libkf5guiaddons5
libkf5i18n-data libkf5i18n5 libkf5iconthemes-data libkf5iconthemes5 libkf5itemviews-data
libkf5itemviews5 libkf5jobwidgets-data libkf5jobwidgets5 libkf5js5 libkf5jsapi5
libkf5kexiv2-15.0.0 libkf5kiocore5 libkf5kiontlm5 libkf5kiowidgets5 libkf5notifications-data
libkf5parts-data libkf5pty-data libkf5pty5 libkf5service-bin libkf5service-data libkf5service5
libkf5solid5 libkf5solid5-data libkf5sonnet5-data libkf5sonnetcore5 libkf5sonnetui5
libkf5textwidgets-data libkf5textwidgets5 libkf5threadweaver5 libkf5wallet-data
libkf5widgetsaddons-data libkf5widgetsaddons5 libkf5windowsystem-data libkf5windowsystem5
libkf5xmlgui-data libkf5xmlgui5 libmicrodns0 libmjpegutils-2.1-0 libmms0 libmodplug1
libmpeg2encpp-2.1-0 libmplex2-2.1-0 libmwaw-0.3-3 libnice10 libnumbertext-1.0-0
libnumbertext-data libofa0 liborcus-0.14-0 libphonon4qt5-4 libpolkit-qt5-1-1 libqca-qt5-2
libqmobipocket2 libqt5script5 libqt5texttospeech5 libreoffice-avmedia-backend-gstreamer
libspandsp2 libsrtp2-1 libvo-aacenc0 libvo-amrwbenc0 libwildmidi2 libxmlsec1 libxmlsec1-nss
libzbar0 python3-distro python3-pypdf2 xsel yelp-xsl
Verwenden Sie »apt autoremove«, um sie zu entfernen.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
root@mx:/home/martin# ^C
root@mx:/home/martin#
wil now check if this will work in VSCode…