vgraph icon indicating copy to clipboard operation
vgraph copied to clipboard

fresh linux install does not work after latest commit

Open mendezg opened this issue 8 years ago • 0 comments

A fresh install of vgraph on a clean linux system gives the following error:

root@5dda7d88618a:/data#` vgraph Traceback (most recent call last): File "/usr/local/bin/vgraph", line 9, in load_entry_point('vgraph==0.1.dev46-gf65a674', 'console_scripts', 'vgraph')() File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 351, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2363, in load_entry_point return ep.load() File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2088, in load entry = import(self.module_name, globals(),globals(), ['name']) File "/usr/local/lib/python2.7/dist-packages/vgraph/vgraph.py", line 22, in from vgraph.repmatch import match_replicates ImportError: No module named repmatch

Dockerfile for replication of error:

# Base Image
FROM ubuntu:14.04

################## BEGIN INSTALLATION ######################

# UPDATE APT, INSTALL PREREQUISITES AND CLEAN CACHE
RUN apt-get clean all && \
    apt-get update -y && \
    apt-get upgrade -y && \
    apt-get install python2.7 python2.7-dev -y && \
    apt-get install python-pip -y && \
    apt-get install git -y && \
    apt-get install libbz2-dev -y && \
    apt-get install liblzma-dev -y && \
    apt-get install zlib1g-dev -y && \
    apt-get clean && \
    apt-get purge && \
    rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

RUN pip install -U Cython && \
pip install -U git+https://github.com/pysam-developers/pysam

# Install vgraph from latest git
RUN pip install -U git+https://github.com/bioinformed/vgraph.git

# CHANGE USER BACK TO BIODOCKER
# USER biodocker

# CHANGE WORKDIR TO /DATA
WORKDIR /data

If you change the vgraph git checkout to the previous commit vgraph works: change RUN pip install -U git+https://github.com/bioinformed/vgraph.git to RUN pip install -U git+https://github.com/bioinformed/vgraph.git@8c80608b0605f2a8791f26001028baab67f7f7f9#diff-c4caab0e1769fcdd29acfecb28e763f9

mendezg avatar May 01 '17 13:05 mendezg