dieseldev / diesel

Greenlet-based event I/O Framework for Python

Home Page:http://diesel.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No module named 'logmod'

scottmiao opened this issue · comments

Thanks for the report. Do you have more details on this? A full traceback, perhaps?

Here it is:

Original exception was:
Traceback (most recent call last):
  File "http.py", line 1, in <module>
    import diesel
  File "/usr/local/lib/python3.4/dist-packages/diesel/__init__.py", line 2, in <module>
    from logmod import log, levels as loglevels, set_log_level
ImportError: No module named 'logmod'

This error

Steps to reproduce (uses one of the examples from the Diesel website:

sudo pip3 install diesel
git clone https://gist.github.com/39dad2b6500837a7e834.git
cd 39dad2b6500837a7e834
python3 dieseltest.py

Please feel free to ask if I can help fixing this issue or if you need any additional info!

Ah, looks like you're running on Python 3. diesel 3.x doesn't support Python 3.

It's not all bad news though - I'm doing some work in a diesel4 branch and will be targeting Python 3 support there. I think @msabramo has done some work toward Python 3 compatibility and I hope to incorporate that.

Closing this in favor of #97. We'll track Python 3 support there.