Skip to content Skip to sidebar Skip to footer

Manually Installing Pysam Error: "importerror: No Module Named Version"

I am trying to install pysam manually as I am working on a cluster without internet connection and I do not have admin rights (thus doing it through conda is not possible, which I

Solution 1:

version.py is in path/to/pysam-master/pysam. The script uses the os-module to add the pysam directory to the working directory of the environment before importing:

sys.path.insert(0, "pysam")

So, this specific problem should be solved by replacing the "pysam" in

sys.path.insert(0, "pysam")

with the full path to the pysam-directory.

Post a Comment for "Manually Installing Pysam Error: "importerror: No Module Named Version""