-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: No module named _snappy_cffi #46
Comments
Hi, I am also having this issue. I have tried working in another environment also. Python3 is able to import snappy but not python2. I have python installed through anaconda. Thanks |
I have the same issue... |
A workaround appears to be to grab |
hi, |
I installed bcbio-nextgen from bcbio and then I can use vcf2db after
loading bcbio-nextgen module.
…On Tue, Jan 29, 2019 at 1:37 PM Aurélien Béliard ***@***.***> wrote:
hi,
I tried inside or outside of a docker container in python 2 and 3 and
every time i have this problem. Is there a workaround ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#46 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEJUN9GhxqJJLd6njcsMoH0x20o1UUUkks5vICR6gaJpZM4VRHg1>
.
--
Syed Najeeb Ashraf
|
Any fixes for this?? |
did you run the commands in the readme?
|
Yeah.
I tried making the environment both python 3.7 and 2.7, same error |
Same issue here Brent. Is there a solution? |
can you install snappy from conda-forge? |
I did install. I did and also |
I mean: |
Yes brent! This is what I have run "conda install -c conda-forge snappy" |
I redid everything on a different server, this time using the gemini executables, gemini_conda and gemini_pip and also "gemini_conda install -c conda-forge snappy". I did not have the above mentioned error anymore while running vcf2db but this time I have a new one for the gene impacts module - "AttributeError: 'module' object has no attribute 'BCFT'" |
the BCFT error is because you have an old version of geneimpacts. If you update that it should go away. |
Thanks! That seems to work now. |
Hi All,
$ python vcf2db.py --help
Traceback (most recent call last):
File "vcf2db.py", line 12, in
import snappy
File "/gpfs/home/nsyed/bcbio/anaconda/envs/vcf2db/lib/python2.7/site-packages/snappy/init.py", line 3, in
from .snappy import (
File "/gpfs/home/nsyed/bcbio/anaconda/envs/vcf2db/lib/python2.7/site-packages/snappy/snappy.py", line 51, in
from .snappy_cffi import UncompressError, compress, decompress,
File "/gpfs/home/nsyed/bcbio/anaconda/envs/vcf2db/lib/python2.7/site-packages/snappy/snappy_cffi.py", line 3, in
from ._snappy_cffi import ffi, lib
ImportError: No module named _snappy_cffi
I made a seperate env for vcf2db but still getiing the same error. Any idea what could be reason for this.
Thanks
Najeeb
The text was updated successfully, but these errors were encountered: