Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:soft_utilisation_de_python_au_centre_de_calcul [2017/11/14 17:40]
David BOUVET
en:soft_utilisation_de_python_au_centre_de_calcul [2019/10/09 11:03] (current)
Gino MARCHETTI
Line 18: Line 18:
 Your file should also have the "​executable"​ UNIX characteristic because Python is an interpreted language. You should not generated an binary executable in the sense of programming languages as C, C++ or Fortran. Your file should also have the "​executable"​ UNIX characteristic because Python is an interpreted language. You should not generated an binary executable in the sense of programming languages as C, C++ or Fortran.
  
 +\\
 To load Python environment:​ To load Python environment:​
 <​code>​ <​code>​
-. python_env.sh ​<​version>​+ccenv python ​<​version>​ 
 +</​code>​ 
 +To list the available versions: 
 +<​code>​ 
 +$ ccenv python --list
 </​code>​ </​code>​
-Running the command without the version will list the available versions. 
  
 \\ \\
 You have also the option of installing locally the python packages you need without administrator rights on the machines. To do this, please follow the procedure below: You have also the option of installing locally the python packages you need without administrator rights on the machines. To do this, please follow the procedure below:
 <​code>​ <​code>​
-$ . python_env.sh 3.3+ccenv python 3.6.7
 $ python -m venv --system-site-packages "​my_new_env"​ $ python -m venv --system-site-packages "​my_new_env"​
 $ source "​my_new_env"/​bin/​activate $ source "​my_new_env"/​bin/​activate
  • en/soft_utilisation_de_python_au_centre_de_calcul.1510677602.txt.gz
  • Last modified: 2017/11/14 17:40
  • by David BOUVET