nanoporetech/pomoxis

installation error - porechop

mjfi2sb3 opened this issue · 9 comments

Hi,

I am getting the following error related to porechop while compiling. Any suggestions how to resolve?

Processing dependencies for pomoxis==0.2.0 Searching for Porechop Reading https://pypi.org/simple/Porechop/ Couldn't find index page for 'Porechop' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading https://pypi.org/simple/ No local packages or working download links found for Porechop error: Could not find suitable distribution for Requirement.parse('Porechop') make: *** [install] Error 1

cjw85 commented

Hi @mjfi2sb3,

Can you provide the command you are running to install pomoxis? Porechop is indeed not available on pypi, though the installation methods in the README.md (bar the last one if run as-is), should not cause an attempt to be made.

If you are a conda user you will most likely wish to follow the instructions under "Installation with conda", if not the instructions under "Installation from source" will be more appropriate.

cjw85 commented

The conda route would install Porechop using conda, so I am puzzled as to how you would get the above error message. Can you attach the full terminal output, perhaps something is going wrong earlier on?

cjw85 commented

I think the command you want to be running is:

CONDA=/bcl-nas/apps/anaconda3/v2018.12/ make conda

(I can see there is a typo in the README which we will correct). You are using python3.7, with which we do not test; you can see some errors in the log which pertain to this, though I doubt they are the cause of the Porechop issue.

cjw85 commented

I believe this is an issue with using python 3.7: a quick look at the python 3.7 release notes tells me async and await are now reserved keywords, so the above code is not valid python 3.7.

As such pomoxis is not compatible with python 3.7 (and isnt likely to be made so in the immediate future).

cjw85 commented

Thanks for confirming everything is now working.