Pyvcf Install Error
1
0
Entering edit mode
11.0 years ago
lyz10302012 ▴ 450

Can PyVCF be installed in Python3.3? I found some errors when I installed it in Python3.3. Can anyone help me to solve this problem?

I first installed distribute-0.6.36, then use 'python setup.py install' to install PyVCF. When I tried to use PyVCF, then there was the errors.

>>> import vcf
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File ".\vcf\__init__.py", line 175, in <module>
    from vcf.parser import Reader, Writer
  File ".\vcf\parser.py", line 24, in <module>
    from model import _Call, _Record, make_calldata_tuple
ImportError: No module named 'model'
>>>
vcf • 8.2k views
ADD COMMENT
0
Entering edit mode

your question contains too few details, put the entire traceback and error there not just one line, specify when you get the error, compilation, installation runtime etc.

ADD REPLY
0
Entering edit mode

Thanks Istvan, I have reedit my post.

ADD REPLY
0
Entering edit mode
11.0 years ago

this looks a little strange, even though you say that you have installed the module it still gets imported from the local path. The error has nothing to do with Python 3 or not, it is a basic import error.

try the same from a different folder, one that does not also have the vcf module in the path,

then also check that you have that file present wherever the module installed,

from somewhere else do a

python -m vcf
ADD COMMENT

Login before adding your answer.

Traffic: 2539 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6