Skip to content

Cannot use import vfc #336

Description

@doctorasgr

Hi everyone,
I just installed PyVCF today and after tried to run import vcf what I see in my terminal is this:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\my_user_folder\anaconda3\envs\my_sprint\lib\site-packages\vcf\__init__.py", line 166, in <module>
    from parser import Reader, Writer
ImportError: cannot import name 'Reader' from 'parser' (unknown location)

Any ideas why?

I went to the init.py and opened this in the editor and all I can see is:

from parser import Reader, Writer <====== this is the line 166
from parser import VCFReader, VCFWriter
from filters import Base as Filter
from parser import RESERVED_INFO, RESERVED_FORMAT

VERSION = '0.4.3'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions