nanoporetech / pomoxis

Analysis components from Oxford Nanopore Research
Other
92 stars 23 forks source link

Python 3.7? #41

Open BrianaGross opened 4 years ago

BrianaGross commented 4 years ago

Just tried to install this using conda, and the install failed because it was "incompatible with the existing python installation in your environment". Here is the error:

Specifications:

  - pomoxis -> python[version='>=3.4,<3.7']

Your python: python=3.7

Is it correct for me to assume that pomoxis will not install with Python 3.7, and I would have to go to a previous version of Python for this to work?

Thank you!

cjw85 commented 4 years ago

Hi @BrianaGross,

In a word, yes. We do not test pomoxis with python > 3.6 so cannot guarantee it will work correctly with python 3.7.

TomNEU commented 4 years ago

Is there any way to force it to run with python 3.7?

cjw85 commented 4 years ago

For the conda installation method I am unsure.

If installing from source you would have to edit this line, of the setup.py file before running make install.

TomNEU commented 4 years ago

Hi cjw85,

Thanks for the answer.

I think I found an alternate workaround in another thread, which is to create a new environment running python 3.6 using:

conda create -n pomoxis python=3.6

and then install pomoxis.

It seems to be working so far, but will try your suggestion if it doesn't. Thanks!