Skip to content
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

No module named cyvcf2 #5

Closed
nuin opened this issue Feb 2, 2017 · 1 comment
Closed

No module named cyvcf2 #5

nuin opened this issue Feb 2, 2017 · 1 comment

Comments

@nuin
Copy link

nuin commented Feb 2, 2017

Hi

After the last update, I am getting an error on imports. Try the machine where I have it installed before and in a new one, fresh and no previous installs. I am on macOS, here is the error

Traceback (most recent call last):
  File "/usr/local/bin/vk", line 7, in <module>
    from vcfkit.vk import main
  File "/usr/local/lib/python2.7/site-packages/vcfkit/vk.py", line 27, in <module>
    from utils.vcf import *
  File "/usr/local/lib/python2.7/site-packages/vcfkit/utils/vcf.py", line 1, in <module>
    from cyvcf2 import VCF as cyvcf2
  File "/usr/local/lib/python2.7/site-packages/cyvcf2/__init__.py", line 1, in <module>
    from .cyvcf2 import (VCF, Variant, Writer, r_ as r_unphased, par_relatedness,
ImportError: No module named cyvcf2
@danielecook
Copy link
Contributor

cyvcf2 is not installing for some reason. I will try to install within a virtual machine and see what happens.
Try doing

pip install cyvcf2

@nuin nuin closed this as completed May 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants