Closed ObliviousMonkey closed 3 years ago
@ObliviousMonkey I was experiencing the same issue on RHEL 6/7.
In my case the underlying issue was genomeview having issues cythonizing files, which resulted in a segfault. I got around that by downloading the genomeview source and manually installing it into the environment.
virtualenv svviz2-2.0a
source svviz2-2.0a
mkdir svviz2-2.0a/src
cd svviz2-2.0a/src
wget https://github.com/nspies/genomeview/archive/v1.0.1.tar.gz
tar -zxf v1.0.1.tar.gz
cd genomeview-1.0.1
python setup.py install
I didn't get any errors at this point in my miniconda3 environment but I did get this error inside a virtualenv:
cythoning genomeview/_quickconsensus.pyx to genomeview/_quickconsensus.c
Segmentation fault (core dumped)
After running python setup.py install
again it seems to install just fine.
python setup.py install
pip install -U git+git://github.com/nspies/svviz2.git
svviz2
It seems that cythonizing that file only fails the first time around and not the second. I think the build gets cleaned up by pip after it fails, but not with the setuptools installation method. Maybe there are dependencies that are not found the first time around?
@cenders This approach did not initially work for me in virtualenv
.
I then made a miniconda3
env, where the same approach did not work either. However force reinstalling genomeview
through pip
finally solved it for me, I don't know why:
pip install -U --force-reinstall git+https://github.com/nspies/genomeview.git
Thank you!!
I'm having trouble installing
svviz2
on an Ubuntu 19.04 VM. I've created a "mantaEnv" virtual environment usingvirtualenv
, used the recommendedpip
command to install, tested it withsvviz2 --help
and that's where things go wrong. Force reinstallinggenomeview
doesn't change the error which keeps coming back. What am I doing wrong ?EDIT: I've installed
Cython
in the virtualenv as per this thread, then force reinstalled bothgenomeview
andsvviz2
, but the same error keeps popping up when doingsvviz2 --help
. I'm listingpip list
output for reference after the chunk below.