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

TypeError Python 3 #30

Open
sofsta opened this issue Sep 18, 2020 · 2 comments
Open

TypeError Python 3 #30

sofsta opened this issue Sep 18, 2020 · 2 comments

Comments

@sofsta
Copy link

sofsta commented Sep 18, 2020

Hello,

I am having an environment.yml file and I am installing vcfkit through conda. The file looks as follows:

name:myenv
channels:

  • bioconda
    depedencies:
    -vcfkit

I get the following error when I am using vcfkit:

Command error:
Traceback (most recent call last):
File "/opt/conda/envs/myenv/lib/python3.6/site-packages/vcfkit/vcf2tsv.py", line 89, in
line = line.replace("u'","") # No idea why u' is prefixed...
TypeError: a bytes-like object is required, not 'str'

Has anyone come across the same error?

@danielecook
Copy link
Contributor

@sofsta I have just submitted a new version that I believe will resolve this. Please try the latest version (0.2.9)

@sofsta
Copy link
Author

sofsta commented Dec 21, 2020

@danielecook Thank you! Are you planning to update the conda environment as well?

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