- changed status to resolved
ImportError: cannot import name fromfd
Issue #13
new
{{{
!python
Traceback (most recent call last): File "C:\test\twitter.py", line 3, in <module> import tweetstream File "C:\Python26\lib\site-packages\tweetstream-1.1.0-py2.6.egg\tweetstream__init__.py", line 41, in <module> from .streamclasses import SampleStream, FilterStream File "C:\Python26\lib\site-packages\tweetstream-1.1.0-py2.6.egg\tweetstream\streamclasses .py", line 5, in <module> from socket import fromfd, AF_INET, SOCK_STREAM ImportError: cannot import name fromfd }}}
Comments (2)
-
-
- changed status to new
Hi, I also run this similar problem. Sorry, I am not very familiar with Python. What does "." in "from . import" mean?
- Log in to comment
I guess you are running on app engine or somewhere that doesn't expose socket stuff? Anyway, the code was left over, and have been taken out in f6d18d947bef