TweeterPy is a python library to extract data from Twitter. TweeterPy API lets you scrape data from a user's profile like username, userid, bio, followers/followings list, profile media, tweets, etc.
MIT License
164
stars
29
forks
source link
ModuleNotFoundError: No module named 'tweeterpy.tid' #74
Hi, I was running your nice package for couple of months with Colab for my bachelor thesis in social science, but with the new update with Colab, it is broken. I get this massege after ( !pip install git+https://github.com/iSarabjitDhiman/TweeterPy )
.................................
Successfully uninstalled tweeterpy-1.0.13
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
google-colab 1.0.0 requires requests==2.32.3, but you have requests 2.32.2 which is incompatible.
Successfully installed lxml-5.2.2 requests-2.32.2 tweeterpy-1.2.1
WARNING: The following packages were previously imported in this runtime:
[lxml,requests,tweeterpy]
You must restart the runtime in order to use newly installed versions.
and also when I try to import the class, it shows me this: (from tweeterpy import TweeterPy)
ModuleNotFoundError Traceback (most recent call last)
in <cell line: 1>()
----> 1 from tweeterpy import TweeterPy
3 frames
/usr/local/lib/python3.10/dist-packages/tweeterpy/request_util.py in
5 from tweeterpy import config
6 from urllib.parse import urlparse
----> 7 from tweeterpy.tid import ClientTransaction
8 from requests.exceptions import ProxyError, InvalidProxyURL
9
ModuleNotFoundError: No module named 'tweeterpy.tid'
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
"Open Examples" button below.
can you please help me solve the issue? it was working before and I need to use this package.
thank you
update :
It seems some issue with tid.
I had to install previous version "!pip install tweeterpy==1.1.5" and it works for now.
Hi, I was running your nice package for couple of months with Colab for my bachelor thesis in social science, but with the new update with Colab, it is broken. I get this massege after ( !pip install git+https://github.com/iSarabjitDhiman/TweeterPy )
................................. Successfully uninstalled tweeterpy-1.0.13 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. google-colab 1.0.0 requires requests==2.32.3, but you have requests 2.32.2 which is incompatible. Successfully installed lxml-5.2.2 requests-2.32.2 tweeterpy-1.2.1 WARNING: The following packages were previously imported in this runtime: [lxml,requests,tweeterpy] You must restart the runtime in order to use newly installed versions.
and also when I try to import the class, it shows me this: (from tweeterpy import TweeterPy)
ModuleNotFoundError Traceback (most recent call last) in <cell line: 1>()
----> 1 from tweeterpy import TweeterPy
3 frames /usr/local/lib/python3.10/dist-packages/tweeterpy/request_util.py in
5 from tweeterpy import config
6 from urllib.parse import urlparse
----> 7 from tweeterpy.tid import ClientTransaction
8 from requests.exceptions import ProxyError, InvalidProxyURL
9
ModuleNotFoundError: No module named 'tweeterpy.tid'
NOTE: If your import is failing due to a missing package, you can manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the "Open Examples" button below.
can you please help me solve the issue? it was working before and I need to use this package. thank you
update : It seems some issue with tid. I had to install previous version "!pip install tweeterpy==1.1.5" and it works for now.