Hallo Community,
ich würde gerne Anaconda oder Miniconda auf einem MX-Linux-System installieren. mit Anaconda/Minicoda ::
Ana/Miniconda ist ein Python package & virtual environment manager. Aber leider ist das nicht in dem Synaptic oder Paket-Installer drinne: Das ist sehr schade: Das einzige was ich gefunden habe - das ist eine allgem. Anleitung.
ggf. gibt es hier noch debianbasierte Optionen und Anleitungen:
das hier hab ich gefunden: https://www.dunderdata.com/blog/anacnd-conda-forge [MEDIA=youtube]ePS6lII4SEg[/MEDIA]
...
...ich werde mir das mal ansehen und eine Anleitung für Conda daraus ableiten. Es gibt eine Mini-Anleitung für die Installation via Kommandozeile. Eleganter wäre schon - wenn das in Synaptic oder im Package-Installer integriert wäre. Hier das Manual für die manuelle Installation. idle python 3.8 - MX Linux Forum (der Link: idle python 3.8 - MX Linux Forum ) Wenn ich nichts praktikableres finde - dann werde ich nach der Installation verfahren!
VG
update: und um hier noch kurz eine weitere Frage hinterherzuschieben: ich hab VSCode (und Python auf einem Desktop [zugegeben hier jetzt win10]) Also die Frage: kann ich denn dann hier noch ohne weiteres und ohne Konfigurationsorgien nun ggf. Anaconda installieren? Geht das denn!? Kommen sich hier nicht Anaconda und Python (das schon auf dem Rechner ist) in die Quere!?
Muss ich dann ggf. in das Setting gehen und dort in settings.json den python.path editieren - etwa
Zusammengefasst: muss ich dann also noch eine spezifische Umgebung aktivieren?
vgl. hier: Activating Anaconda Environment in VsCode :: can i integrate vscode into anaconda - how to do this?
Activating Anaconda Environment in VsCode
Also, die Ausgangs-Zusatz-Frage ist die Folgende: kann ich denn dann hier noch ohne weiteres und ohne Konfigurationsorgien nun ggf.
Anaconda installieren? Geht das denn!? Kommen sich hier nicht Anaconda und Python (das schon auf dem Rechner ist) in die Quere!?
zuletzt noch die Vergleichsfrage am Rande: - welches der beiden Systeme wird denn schneller & nachhaltiger entwickelt: Anaconda oder WinPython:
vgl. WinPython
Die Frage Anaconda & WinPython - hier also als Systemfrage: aber ich denke, dass ich mich für Anaconda entscheide - denn dies kann ich auf Win & MX-Linux laufen lassen - einarbeitung nur in ein System..
update: ich hab mal noch etwas weiter-gemacht - und zwar mit dem Versuch Anaconda auf das MX-Linux-System 19.2 zu installieren.
also - hier gibts eine von der o.g. Quelle abgeleitete Anleitung für Conda-Installation: idle python 3.8 - MX Linux Forum
ich bin '''dieser Installationanleitung gefolgt''': Wie man die Anaconda Python Distribution unter Debian 10 installiert - HowtoForge
bis hierher hat alles super geklappt:
allerdings glaube ich dass ich oben nun etwas übersprungen habe: Denn an diesesr Stelle komme ich nicht mehr weiter.+
und ich glaube dass oben irgendetwas übersprungen wurde: hier nämlich...
wie gesagt - es scheint irgendwie nicht weiterzugehen:
wie gesagt: dieser Anleitung folge ich im ganzen bei dem Versuch Anaconda zu installieren auf dem MX 19.2 System..https://www.howtoforge.de/anleitung/...0-installiert/
...jetzt versuche ich herauszubekommen woran es hängt. es scheint mir hier diese Stelle problematisch:
....vermutlich habe ich hier einen Fehler gemacht!?
ich würde gerne Anaconda oder Miniconda auf einem MX-Linux-System installieren. mit Anaconda/Minicoda ::
Ana/Miniconda ist ein Python package & virtual environment manager. Aber leider ist das nicht in dem Synaptic oder Paket-Installer drinne: Das ist sehr schade: Das einzige was ich gefunden habe - das ist eine allgem. Anleitung.
ggf. gibt es hier noch debianbasierte Optionen und Anleitungen:
das hier hab ich gefunden: https://www.dunderdata.com/blog/anacnd-conda-forge [MEDIA=youtube]ePS6lII4SEg[/MEDIA]
...
If you don't mind the size, (some 12GB) Anaconda comes with lots of stuff, many you will probably never use, but also nicely integrated several different IDE's such as Spyder, which is much better, nicer, advanced than IDLE. It also comes VSCode very nice advance IDE. IDLE used to come with Python, but don't know if this is still the case, i never use it, so i can't help you here
Conda documentation: Miniconda — Conda documentation
Conda documentation: Miniconda — Conda documentation
...ich werde mir das mal ansehen und eine Anleitung für Conda daraus ableiten. Es gibt eine Mini-Anleitung für die Installation via Kommandozeile. Eleganter wäre schon - wenn das in Synaptic oder im Package-Installer integriert wäre. Hier das Manual für die manuelle Installation. idle python 3.8 - MX Linux Forum (der Link: idle python 3.8 - MX Linux Forum ) Wenn ich nichts praktikableres finde - dann werde ich nach der Installation verfahren!
VG
update: und um hier noch kurz eine weitere Frage hinterherzuschieben: ich hab VSCode (und Python auf einem Desktop [zugegeben hier jetzt win10]) Also die Frage: kann ich denn dann hier noch ohne weiteres und ohne Konfigurationsorgien nun ggf. Anaconda installieren? Geht das denn!? Kommen sich hier nicht Anaconda und Python (das schon auf dem Rechner ist) in die Quere!?
Muss ich dann ggf. in das Setting gehen und dort in settings.json den python.path editieren - etwa
Code:
"python.pythonPath": "C:\\Anaconda3\\envs\\py34\\python.exe"
Zusammengefasst: muss ich dann also noch eine spezifische Umgebung aktivieren?
...so that the script runs in that Anaconda environment? – and what about the User and Workspace Settings: see here: Activating Anaconda Environment in VsCode :: can i integrate vscode into anaconda - how to do this?
Activating Anaconda Environment in VsCode:
the question is: how to configure Visual Studio Code to our liking through its various settings. Nearly every part of VS Code's editor, user interface, and functional behavior has options we can modify. i found some Instructions to edit settings.json here: Visual Studio Code User and Workspace Settings
VS Code provides two different scopes for settings:
User Settings - Settings that apply globally to any instance of VS Code you open.
Workspace Settings - Settings stored inside your workspace and only apply when the workspace is opened.
Workspace settings override user settings. Workspace settings are specific to a project and can be shared across developers on a project.
Note: A VS Code "workspace" is usually just your project root folder. Workspace settings as well as debugging and task configurations are stored at the root in a .vscode folder. You can also have more than one root folder in a VS Code workspace through a feature called Multi-root workspaces.
Creating User and Workspace Settings: To open your user and workspace settings, use the following VS Code menu command:
Activating Anaconda Environment in VsCode:
the question is: how to configure Visual Studio Code to our liking through its various settings. Nearly every part of VS Code's editor, user interface, and functional behavior has options we can modify. i found some Instructions to edit settings.json here: Visual Studio Code User and Workspace Settings
VS Code provides two different scopes for settings:
User Settings - Settings that apply globally to any instance of VS Code you open.
Workspace Settings - Settings stored inside your workspace and only apply when the workspace is opened.
Workspace settings override user settings. Workspace settings are specific to a project and can be shared across developers on a project.
Note: A VS Code "workspace" is usually just your project root folder. Workspace settings as well as debugging and task configurations are stored at the root in a .vscode folder. You can also have more than one root folder in a VS Code workspace through a feature called Multi-root workspaces.
Creating User and Workspace Settings: To open your user and workspace settings, use the following VS Code menu command:
- On Windows/Linux - File > Preferences > Settings
- On macOS - Code > Preferences > Settings
vgl. hier: Activating Anaconda Environment in VsCode :: can i integrate vscode into anaconda - how to do this?
Activating Anaconda Environment in VsCode
Also, die Ausgangs-Zusatz-Frage ist die Folgende: kann ich denn dann hier noch ohne weiteres und ohne Konfigurationsorgien nun ggf.
Anaconda installieren? Geht das denn!? Kommen sich hier nicht Anaconda und Python (das schon auf dem Rechner ist) in die Quere!?
zuletzt noch die Vergleichsfrage am Rande: - welches der beiden Systeme wird denn schneller & nachhaltiger entwickelt: Anaconda oder WinPython:
vgl. WinPython
Designed for scientists, data-scientists, and education (thanks to NumPy, SciPy, Sympy, Matplotlib, Pandas, pyqtgraph, etc.):
interactive data processing and visualization using Python with Spyder and Jupyter/IPython, Pyzo, IDLEX or IDLE fully integrated Cython and Numba! See included example connectors (cffi, odbc, rpy2, scilab2py, requests, ...) for advanced users
Portable: Runs out of the box(*) on any Windows 8+ with 2GB Ram (Jupyter Notebook will require a recent browser)
The WinPython folder can be moved to any location (**) (local, network, USB drive) with most of the application settings
Flexible:
You can install as many WinPython distributions as you want on the same machine: each one is isolated and self-consistent
These installations can be of different versions of Python (3.7/3.8/3.9...)
Customizable:
The integrated WinPython Package Manager (WPPM) helps installing, uninstalling or upgrading Python packages
It's also possible to install or upgrade packages using pip from the WinPython command prompt
A configuration file allows you to set environment variables at runtime
interactive data processing and visualization using Python with Spyder and Jupyter/IPython, Pyzo, IDLEX or IDLE fully integrated Cython and Numba! See included example connectors (cffi, odbc, rpy2, scilab2py, requests, ...) for advanced users
Portable: Runs out of the box(*) on any Windows 8+ with 2GB Ram (Jupyter Notebook will require a recent browser)
The WinPython folder can be moved to any location (**) (local, network, USB drive) with most of the application settings
Flexible:
You can install as many WinPython distributions as you want on the same machine: each one is isolated and self-consistent
These installations can be of different versions of Python (3.7/3.8/3.9...)
Customizable:
The integrated WinPython Package Manager (WPPM) helps installing, uninstalling or upgrading Python packages
It's also possible to install or upgrade packages using pip from the WinPython command prompt
A configuration file allows you to set environment variables at runtime
Die Frage Anaconda & WinPython - hier also als Systemfrage: aber ich denke, dass ich mich für Anaconda entscheide - denn dies kann ich auf Win & MX-Linux laufen lassen - einarbeitung nur in ein System..
update: ich hab mal noch etwas weiter-gemacht - und zwar mit dem Versuch Anaconda auf das MX-Linux-System 19.2 zu installieren.
also - hier gibts eine von der o.g. Quelle abgeleitete Anleitung für Conda-Installation: idle python 3.8 - MX Linux Forum
ich bin '''dieser Installationanleitung gefolgt''': Wie man die Anaconda Python Distribution unter Debian 10 installiert - HowtoForge
bis hierher hat alles super geklappt:
Code:
installing: scikit-image-0.14.2-py37he671110b0_0 ... installing: scikit-learn-0.20.3-py37hd81dba3_0 ... installing: astropy-3.1.2-py37h7b6447c_0 ... installing: statsmodels-0.9.0-py37h035aef0_0 ... installing: seaborn-0.9.0-py37_0 ... installing: anaconda-2019.03-py37_0 ... installation finished. Do you wish the installer to initialize Anaconda3 by running conda init? [yes|no] [no] >>> You have chosen to not have conda modify your shell scripts at all. To activate conda's base environment in your current shell session: eval "$(/root/anaconda3/bin/conda shell.YOUR_SHELL_NAME hook)" To install conda's shell functions for easier access, first activate, then: conda init If you'd prefer that conda's base environment not be activated on startup, set the auto_activate_base parameter to false: conda config --set auto_activate_base false Thank you for installing Anaconda3! =========================================================================== Anaconda and JetBrains are working together to bring you Anaconda-powered environments tightly integrated in the PyCharm IDE. PyCharm for Anaconda is available at:
allerdings glaube ich dass ich oben nun etwas übersprungen habe: Denn an diesesr Stelle komme ich nicht mehr weiter.+
Code:
Aktivieren Sie nun die Anaconda-Installation mit dem folgenden Befehl: source ~/.bashrc Sie sollten die folgende Ausgabe sehen:
und ich glaube dass oben irgendetwas übersprungen wurde: hier nämlich...
Code:
installation finished. Do you wish the installer to initialize Anaconda3 by running conda init? [yes|no] [no] >>> You have chosen to not have conda modify your shell scripts at all. To activate conda's base environment in your current shell session:
wie gesagt - es scheint irgendwie nicht weiterzugehen:
Code:
[email protected]:/home/martin# source ~/.bashrc
wie gesagt: dieser Anleitung folge ich im ganzen bei dem Versuch Anaconda zu installieren auf dem MX 19.2 System..https://www.howtoforge.de/anleitung/...0-installiert/
...jetzt versuche ich herauszubekommen woran es hängt. es scheint mir hier diese Stelle problematisch:
Code:
installation finished. Do you wish the installer to initialize Anaconda3 by running conda init? [yes|no] [no] >>>
....vermutlich habe ich hier einen Fehler gemacht!?
Comment