Illumina / interop

C++ Library to parse Illumina InterOp files
http://illumina.github.io/interop/index.html
GNU General Public License v3.0
75 stars 26 forks source link

pip install is version 1.1.23? #328

Closed dmcmanam closed 9 months ago

dmcmanam commented 9 months ago

I would like to install the latest version to read NovaSeqX files but pip install only has up to version 1.1.23? Can you update the build from source instructions to include directions for making the current python bindings?

ezralanglois commented 9 months ago

I see it up there. https://pypi.org/project/interop/#files

What version of python and OS are you looking for?

dmcmanam commented 9 months ago

I'm looking for Linux CentOS 7, any version of python 3.

ezralanglois commented 9 months ago

Do you have 1.1.23 already installed?

dmcmanam commented 9 months ago

Yes,

pip show interop Name: interop Version: 1.1.23

ezralanglois commented 9 months ago

When you want to update a python package with pip you have to add -U

For example pip install -U interop. This is likely why it is not updating

dmcmanam commented 9 months ago

So far I still haven't installed the current version. For example:

pip install interop==1.2.4

ERROR: Could not find a version that satisfies the requirement interop==1.2.4 (from versions: 1.1.18, 1.1.19, 1.1.21, 1.1.22, 1.1.23)

ERROR: No matching distribution found for interop==1.2.4

On Tue, Oct 31, 2023 at 11:13 AM Robert Langlois @.***> wrote:

When you want to update a python package with pip you have to add -U

For example pip install -U interop. This is likely why it is not updating

— Reply to this email directly, view it on GitHub https://github.com/Illumina/interop/issues/328#issuecomment-1787422886, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADH6XLCWGDATKW5B4HHFW6DYCEIR5AVCNFSM6AAAAAA6V5CDHSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBXGQZDEOBYGY . You are receiving this because you authored the thread.Message ID: @.***>

ezralanglois commented 9 months ago

The reasons pip could fail are:

  1. pip not configured properly
  2. You are running an ARM chip
  3. You have an unsupported version of python3

I did a test with the latest CentOS 7 docker image (after installing python3 from yum).

[root@566f65e778dd tmp]# pip3 install interop
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
Collecting interop
  Downloading https://files.pythonhosted.org/packages/06/f2/060f837f66d6c4acaf8f9153ac63c05446b76913f10ecd7336533cde1211/interop-1.2.4-cp36-cp36m-manylinux1_x86_64.whl (4.2MB)
    100% |################################| 4.2MB 345kB/s 
Collecting numpy>=1.16.6; python_version >= "3.5" (from interop)
  Downloading https://files.pythonhosted.org/packages/45/b2/6c7545bb7a38754d63048c7696804a0d947328125d81bf12beaa692c3ae3/numpy-1.19.5-cp36-cp36m-manylinux1_x86_64.whl (13.4MB)
    100% |################################| 13.4MB 101kB/s 
Installing collected packages: numpy, interop
Successfully installed interop-1.2.4 numpy-1.19.5

We don't support python 3.11 yet, otherwise maybe you can find the wheel here: https://pypi.org/project/interop/#files

dmcmanam commented 9 months ago

Thank you, I upgraded to python 3.10 and now everything is working fine.