nanoporetech / minknow_api

Protobuf and gRPC specifications for the MinKNOW API
Other
50 stars 12 forks source link

minknow_api cannot be imported #36

Closed mattloose closed 2 years ago

mattloose commented 2 years ago

The latest release of minknow_api (version 5.0.0) cannot be imported.

Steps to reproduce:

In a clean python3 environment run:

pip install minknow_api
python -c "import minknow_api"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/matt/testenv/lib/python3.7/site-packages/minknow_api/__init__.py", line 87, in <module>
    from minknow_api.manager import get_local_authentication_token_file
  File "/Users/matt/testenv/lib/python3.7/site-packages/minknow_api/manager.py", line 21, in <module>
    import minknow_api.basecaller_service
ModuleNotFoundError: No module named 'minknow_api.basecaller_service'
0x55555555 commented 2 years ago

Thanks @mattloose we will investigate internally and have a look, I suspect something has gone wrong with our deploy to pypi.

In the mean time, building the package from github should work as normal.

mattloose commented 2 years ago

Hi - thanks george - we can confirm that building from github works.

Matt

amerry commented 2 years ago

Apologies for that. I've uploaded a 5.0.0.1 package, which should be fixed (the code is the same as the 5.0.0 tag in the repository).

mattloose commented 2 years ago

Thanks.