Difference: AMCTPythonSoftware (8 vs. 9)

Revision 917 Aug 2016 - SemirayGirgisChyla

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"

AMCT Python Software

Line: 10 to 10
 For python tool, typically you need to use `virtualenv` to create a separate python environment and install all dependencies. It creates a folder which contains all the necessary executables to use the packages that a Python project would need. Before starting, make sure you have 'pip' and 'virtualenv'. Use your favorite package manager to install them.

Installation

Deleted:
<
<

 

Virtualenv Installation

Added:
>
>

 
  • cd ~/amc13
  • make
  • source env.sh
Line: 29 to 30
 
  • python setup.py develop

Python 2.7 Installation to Virtualenv

Deleted:
<
<
Inside the virtualenv you can also install python 2.7 version (it is better than 2.6) and use ipython (python 2.6 version does not support ipython). I have already put the Python-2.7.12.tgz file in the folder, you just need to run it as below:
 
Added:
>
>
Inside the virtualenv you can also install python 2.7 version (it is better than 2.6) and use ipython (python 2.6 version does not support ipython). Here is the installation of python-2.7.12 version.

 
  • cd Python-2.7.12
  • make clean
  • ./configure --prefix=/home/${USER}/.localpython
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback