linnarsson-lab / loom-viewer

Tool for sharing, browsing and visualizing single-cell data stored in the Loom file format
BSD 2-Clause "Simplified" License
35 stars 6 forks source link

`ModuleNotFoundError: No module named 'gevent.wsgi'` on any invocation of `$ loom` #158

Open ivirshup opened 6 years ago

ivirshup commented 6 years ago

If I try and start loom-viewer, I get a ModueNotFoundError. Here's an example

$ loom --help                        
/usr/local/lib/python3.6/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
  from ._conv import register_converters as _register_converters
Traceback (most recent call last):
  File "/usr/local/bin/loom", line 7, in <module>
    from loom_viewer import main
  File "/usr/local/lib/python3.6/site-packages/loom_viewer/__init__.py", line 7, in <module>
    from .loom_cli import main
  File "/usr/local/lib/python3.6/site-packages/loom_viewer/loom_cli.py", line 41, in <module>
    from .loom_server import start_server
  File "/usr/local/lib/python3.6/site-packages/loom_viewer/loom_server.py", line 28, in <module>
    import gevent.wsgi
ModuleNotFoundError: No module named 'gevent.wsgi'

I'm using Python v3.6.5, loom-viewer v0.32.2, gevent v1.3.1, and loompy v2.0.9. I think the gevent.wsgi module is just named gevent.pywsgi now (relevant commit from gevent).

marcelm commented 6 years ago

Same problem here. Applying the changes from PR #159 fixes it.

JobLeonard commented 6 years ago

Sorry, we still have to push the changes to PyPi

holgerbrandl commented 6 years ago

Any news? I've tried to install/run it with

conda create --yes --name loomviewer python=3.6
source activate loomviewer
pip install loompy
pip install loom-viewer
loom 

but it still gives the error from above?