Benutzer-Werkzeuge

Webseiten-Werkzeuge


playground:about:coworking:conda_python_node

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
playground:about:coworking:conda_python_node [2024/08/01 23:22]
47.128.98.132 alte Version wiederhergestellt (2024/01/23 19:07)
playground:about:coworking:conda_python_node [2025/04/14 11:14] (aktuell)
3.145.152.143 alte Version wiederhergestellt (2025/01/26 19:38)
Zeile 1: Zeile 1:
-====== Erstellen einer Enticklungsumgebung für Python und NodeJS ====== 
-''conda create -n n20p3 nodejs=20.9.0 python=3.9'' 
-<code> 
-(base) intrepid-ibex@intrepid-ibex:~/2bhCode$ conda create -n n20p3 python=3.9 nodejs=20.9.0 
-Channels: 
- - conda-forge 
- - defaults 
-Platform: linux-64 
-Collecting package metadata (repodata.json): done 
-Solving environment: done 
- 
-## Package Plan ## 
- 
-  environment location: /home/intrepid-ibex/miniconda3/envs/n20p3 
- 
-  added / updated specs: 
-    - nodejs=20.9.0 
-    - python=3.9 
- 
- 
-The following packages will be downloaded: 
- 
-    package                    |            build 
-    ---------------------------|----------------- 
-    icu-73.2                         h59595ed_0        11.5 MB  conda-forge 
-    libuv-1.46.0                     hd590300_0         872 KB  conda-forge 
-    nodejs-20.9.0              |       hb753e55_0        16.3 MB  conda-forge 
-    python-3.9.18              |h0755675_1_cpython        22.7 MB  conda-forge 
-    ------------------------------------------------------------ 
-                                           Total:        51.4 MB 
- 
-The following NEW packages will be INSTALLED: 
- 
-  _libgcc_mutex      conda-forge/linux-64::_libgcc_mutex-0.1-conda_forge  
-  _openmp_mutex      conda-forge/linux-64::_openmp_mutex-4.5-2_gnu  
-  bzip2              conda-forge/linux-64::bzip2-1.0.8-hd590300_5  
-  ca-certificates    conda-forge/linux-64::ca-certificates-2023.11.17-hbcca054_0  
-  icu                conda-forge/linux-64::icu-73.2-h59595ed_0  
-  ld_impl_linux-64   conda-forge/linux-64::ld_impl_linux-64-2.40-h41732ed_0  
-  libffi             conda-forge/linux-64::libffi-3.4.2-h7f98852_5  
-  libgcc-ng          conda-forge/linux-64::libgcc-ng-13.2.0-h807b86a_3  
-  libgomp            conda-forge/linux-64::libgomp-13.2.0-h807b86a_3  
-  libnsl             conda-forge/linux-64::libnsl-2.0.1-hd590300_0  
-  libsqlite          conda-forge/linux-64::libsqlite-3.44.2-h2797004_0  
-  libstdcxx-ng       conda-forge/linux-64::libstdcxx-ng-13.2.0-h7e041cc_3  
-  libuuid            conda-forge/linux-64::libuuid-2.38.1-h0b41bf4_0  
-  libuv              conda-forge/linux-64::libuv-1.46.0-hd590300_0  
-  libxcrypt          conda-forge/linux-64::libxcrypt-4.4.36-hd590300_1  
-  libzlib            conda-forge/linux-64::libzlib-1.2.13-hd590300_5  
-  ncurses            conda-forge/linux-64::ncurses-6.4-h59595ed_2  
-  nodejs             conda-forge/linux-64::nodejs-20.9.0-hb753e55_0  
-  openssl            conda-forge/linux-64::openssl-3.2.0-hd590300_1  
-  pip                conda-forge/noarch::pip-23.3.2-pyhd8ed1ab_0  
-  python             conda-forge/linux-64::python-3.9.18-h0755675_1_cpython  
-  readline           conda-forge/linux-64::readline-8.2-h8228510_1  
-  setuptools         conda-forge/noarch::setuptools-69.0.3-pyhd8ed1ab_0  
-  tk                 conda-forge/linux-64::tk-8.6.13-noxft_h4845f30_101  
-  tzdata             conda-forge/noarch::tzdata-2023d-h0c530f3_0  
-  wheel              conda-forge/noarch::wheel-0.42.0-pyhd8ed1ab_0  
-  xz                 conda-forge/linux-64::xz-5.2.6-h166bdaf_0  
-  zlib               conda-forge/linux-64::zlib-1.2.13-hd590300_5  
- 
- 
-Proceed ([y]/n)? y 
- 
- 
-Downloading and Extracting Packages: 
-                                                                                                                                      
-Preparing transaction: done                                                                                                           
-Verifying transaction: done                                                                                                           
-Executing transaction: done                                                                                                           
-# 
-# To activate this environment, use 
-# 
-#     $ conda activate n20p3 
-# 
-# To deactivate an active environment, use 
-# 
-#     $ conda deactivate 
-</code> 
- 
-''conda activate n20p3'' 
- 
-''conda env list'' 
- 
-  (n20p3) intrepid-ibex@intrepid-ibex:~/2bhCode$ node -v 
-v20.9.0 
-  (n20p3) intrepid-ibex@intrepid-ibex:~/2bhCode$ python --version 
-Python 3.9.18 
-  (n20p3) intrepid-ibex@intrepid-ibex:~/2bhCode$ npm -v 
-10.1.0 
-  (n20p3) intrepid-ibex@intrepid-ibex:~/2bhCode$ npm install npm@latest 
-npm notice Run npm install -g npm@10.3.0 to update! 
- 
-um alle Nodeversionsnummer aufzulisten \\ 
-''conda search -c conda-forge nodejs'' 
-  Loading channels: done 
-  # Name                       Version           Build  Channel 
-  nodejs                        20.9.0      hb753e55_0  conda-forge 
- 
-Um alles wieder zu enfternen:   
- 
-''conda deactivate'' 
- 
-''conda env remove -n n20p3'' 
- 
- 
- 
 ==== todo ==== ==== todo ====
   * codeblock Terminalausgabe aufräumen    * codeblock Terminalausgabe aufräumen 
-  * Schritte dokumentieren nachträgliche Änderungen wie GPL aus Datei app.js und package.json entnehmen +  * Schritte dokumentieren 
-  * :-wichtig nano package.json die Zeile am Ende einfügen <code>,"type": "module"</code>+  * wic:-wichtig nano package.json die Zeile am Ende einfügen <code>,"type": "module"</code>
   * pull und commit der Dateien in https://github.com/onlineCodes/notes   * pull und commit der Dateien in https://github.com/onlineCodes/notes
-  * MiniConda Installation mit davor setzen FIXME 
  
 <code> <code>
Zeile 861: Zeile 752:
  
 </code> </code>
- 
----- 
-app.js 
-<file javascript> 
-import express from 'express'; 
-var app = express(); 
-app.use(express.static('public')); 
-app.listen(2024, () => { 
-    console.log("Server läuft auf localhost Port 2024"); 
-}); 
-app.get("/", (req, res) => { 
-    res.send('Hallo Welt ;-)') 
-}); 
-</file> 
- 
-package.json 
-<file json> 
-{ 
-  "name": "expressapp", 
-  "version": "1.0.0", 
-  "description": "der Anfang mit NodeJS und Python", 
-  "main": "app.js", 
-  "scripts": { 
-    "test": "echo \"Error: no test specified\" && exit 1" 
-  }, 
-  "repository": { 
-    "type": "git", 
-    "url": "git+https://github.com/onlineCodes/notes.git" 
-  }, 
-  "keywords": [ 
-    "alle", 
-    "Schlüsselwörter" 
-  ], 
-  "author": "Stefan", 
-  "license": "GPL-3.0-or-later", 
-  "bugs": { 
-    "url": "https://github.com/onlineCodes/notes/issues" 
-  }, 
-  "homepage": "https://github.com/onlineCodes/notes#readme", 
-  "dependencies": { 
-    "express": "^4.18.2" 
-  }, 
-  "type": "module" 
-} 
-</file> 
/volume1/web/dokuwiki/data/attic/playground/about/coworking/conda_python_node.1722547326.txt.gz · Zuletzt geändert: 2024/08/01 23:22 von 47.128.98.132