Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fresh linux install does not work after latest commit #6

Open
mendezg opened this issue May 1, 2017 · 0 comments
Open

fresh linux install does not work after latest commit #6

mendezg opened this issue May 1, 2017 · 0 comments

Comments

@mendezg
Copy link

mendezg commented May 1, 2017

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant