Tweepy installieren/importieren
@ayhan: Importiere mal das `tweepy`-Modul und gibt es mit `print()` aus. Und vielleicht auch noch das Ergebnis von `dir()` auf das Modul angewendet ausgeben. Zeig mal was dabei heraus kommt.
Python 2.7.8 (default, Jun 30 2014, 16:03:49) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> import tweepy
>>> print(tweepy)
<module 'tweepy' from 'C:\Python27\lib\site-packages\tweepy-2.3-py2.7.egg\tweepy\__init__.pyc'>
>>>
Type "copyright", "credits" or "license()" for more information.
>>> import tweepy
>>> print(tweepy)
<module 'tweepy' from 'C:\Python27\lib\site-packages\tweepy-2.3-py2.7.egg\tweepy\__init__.pyc'>
>>>
@ayhan: Das ist jetzt aber Python 2.7, im letzten Beitrag hast Du geschrieben Du hättest 3.4 installiert. Und das ist jetzt auch in einer Python-Shell und nicht in dem Skript wo das nicht funktioniert.
Hab ja beide installiert aus frust, das kommt bei 3.4 raus
Python 3.4.2 (v3.4.2:ab2c023a9432, Oct 6 2014, 22:15:05) [MSC v.1600 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> import tweepy
>>> print(tweepy)
<module 'tweepy' (namespace)>
>>>
Python 3.4.2 (v3.4.2:ab2c023a9432, Oct 6 2014, 22:15:05) [MSC v.1600 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> import tweepy
>>> print(tweepy)
<module 'tweepy' (namespace)>
>>>
HAB DIE LÖSUNG MIR HABEN WEITERE BIBS GEFEHLT, am besten geht man auf die seite http://www.lfd.uci.edu/~gohlke/pythonlibs/#setuptools
und lädt sich alle fehlenden daten runter !
und lädt sich alle fehlenden daten runter !