Python code for listing installed packages on HTCondor
Python code for listing all installed Python packages.
Adding packages to Anaconda Python 2.7.6
- module load python/2.7.6
- mkdir python27_packages
- export PYTHONPATH=$(pwd)/python27_packages
- pip install --target=python27_packages <python_package1>
- pip install --target=python27_packages <python_package2>
- condor_submit submit_python27_listpackages.txt
using the following HTCondor submit file.
Adding packages to Anaconda Python 3.3.4
- module load python/3.3.4
- mkdir python33_packages
- export PYTHONPATH=$(pwd)/python33_packages
- pip install --target=python33_packages <python_package1>
- pip install --target=python33_packages <python_package2>
- condor_submit submit_python33_listpackages.txt
using the following HTCondor submit file.
Adding packages to Anaconda Python 3.4.1
- module load python/3.4.1
- mkdir python34_packages
- export PYTHONPATH=$(pwd)/python34_packages
- pip install --target=python34_packages <python_package1>
- pip install --target=python34_packages <python_package2>
- condor_submit submit_python34_listpackages.txt
using the following HTCondor submit file.