title: Use Python library in Slurm job
body: <p>I want to run a job on Slurm and my Python script needs the <code>evaluate</code> package which I have on my local machine. I don't know if I could change the Python path on the server to match the one on my local machine, and if I could I'm afraid I might break the system.</p>
  <p>So I followed <a href="https://stackoverflow.com/questions/55883018/how-to-install-python-package-module-in-slurm">this answer</a>, and included a <code>requirements.txt</code> file with just <code>evaluate==0.1.2</code> in it, and I get even more errors:</p>
  <pre><code>load GCC/10.2.0 (PATH, MANPATH, INFOPATH, LIBRARY_PATH, LD_LIBRARY_PATH, STD COMP VARS) 
  load ROCM/5.1.1 (PATH, MANPATH, LD_LIBRARY_PATH, LIBRARY_PATH, C_INCLUDE_PATH)
  Set INTEL compilers as MPI wrappers backend
  load mkl/2018.4 (LD_LIBRARY_PATH)
  load PYTHON/3.7.4 (PATH, MANPATH, LD_LIBRARY_PATH, LIBRARY_PATH, PKG_CONFIG_PATH, C_INCLUDE_PATH, CPLUS_INCLUDE_PATH, PYTHONHOME, PYTHONPATH) 
  /var/spool/slurmd/job216863/slurm_script: line 12: virtualenv: command not found
  /var/spool/slurmd/job216863/slurm_script: line 16: /env/bin/activate: No such file or directory
  ERROR: Could not find a version that satisfies the requirement evaluate==0.1.2 (from versions: none)
  ERROR: No matching distribution found for evaluate==0.1.2
  Traceback (most recent call last):
    File &quot;eval_comet.py&quot;, line 1, in &lt;module&gt;
      from evaluate import load
  ModuleNotFoundError: No module named 'evaluate'
  </code></pre>