Hi all,
I'm trying to run CNVkit (from source, in linux) after following the installation instructions on the github page but running into import errors which seem to be rare as I couldn't find any references online:
Traceback (most recent call last):
File "cnvkit.py", line 8, in <module>
from cnvlib import commands
File "/home/alon/Desktop/BioinformaticsPrograms/cnvkit/cnvlib/__init__.py", line 4, in <module>
from .cmdutil import read_cna as read
File "/home/alon/Desktop/BioinformaticsPrograms/cnvkit/cnvlib/cmdutil.py", line 9, in <module>
from .cnary import CopyNumArray as CNA
File "/home/alon/Desktop/BioinformaticsPrograms/cnvkit/cnvlib/cnary.py", line 14, in <module>
from .segmetrics import segment_mean
ImportError: No module named segmetrics
Will greatly appreciate any help!
Alon
Try to install using virtualenv and pip, currently (2018-01-22) PyPI hosts the same version as the GitHub repository.
` I have the sane error:
Having the same issue as you both. Please post solution if anyone of you figure it out (I will as well).
hi all i am having similar errors with installation of cnvkit (for mac)...and cannot seem to figure it out...would anyone kindly please help?
Please use
conda
to do the installation. A basic tutorial is available here to useconda
(use the part forconda
): Creating workflows with snakemake and conda