Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ivirshup opened this issue May 28, 2018 · 3 comments

Comments

@ivirshup
Copy link

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
Copy link
Contributor

marcelm commented Jun 12, 2018

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

@JobLeonard
Copy link
Contributor

Sorry, we still have to push the changes to PyPi

@holgerbrandl
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants