nanoporetech / duplex-tools

Splitting of sequence reads by internal adapter sequence search
Other
50 stars 6 forks source link

couldn't install on linux or pc #48

Closed readingradio closed 11 months ago

readingradio commented 1 year ago

Hello, I am getting an error trying to set up duplex-tools on both linux and windows. I tried updating python and pip, setuptools, wheels, and making sure the directory was in the path variable, all to no avail. Please help.

cjw85 commented 1 year ago

Hi @readingradio,

Can you please provide the commands you are trying to run and their output.

readingradio commented 1 year ago

pip install duplex-tools

error on linux: error: metadata-generation-failed initial error on linux: ModuleNotFoundError: No module named '_ctypes'

error on windows: Getting requirements to build wheel did not run successfully. initial error on windows: "." is not recognizable as an internal or external command

cjw85 commented 1 year ago

The package on PyPI is called duplex_tools not duplex-tools.

readingradio commented 1 year ago

Indeed, I used 'duplex_tools' and got those errors; I even tried reinstalling python. Is there a recommended version of python that needs to be used? Thanks.

cjw85 commented 1 year ago

Can you please provide the full output of running the command

pip install --upgrade pip
pip install duplex_tools

on your Linux computer. duplex-tools will not work on Windows (it has dependencies that are not available on Windows).