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

Why is that, it seems to have some problem compatible with my python? #22

Closed
ChaoLab opened this issue Jan 24, 2018 · 1 comment
Closed

Comments

@ChaoLab
Copy link

ChaoLab commented Jan 24, 2018

zhouzhichao@ubuntu-32:/mnt/nfs_storage7/tools/drep/bin$ dRep -h
Traceback (most recent call last):
File "/usr/local/bin/dRep", line 19, in
import drep.argumentParser
File "/usr/local/lib/python2.7/dist-packages/drep/init.py", line 10, in
import drep.d_filter
File "/usr/local/lib/python2.7/dist-packages/drep/d_filter.py", line 211
def calc_genome_info(genomes: list):
^
SyntaxError: invalid syntax

Can you help me on installation?

@MrOlm
Copy link
Owner

MrOlm commented Jan 24, 2018

Hello,

You have installed the program within python 2.7, but it needs to be installed in python 3.

This can be done using a python management system (I recommend pyenv (https://github.com/pyenv/pyenv)), or you could simply try the command pip3 install dRep

Best,
-Matt

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