-
Notifications
You must be signed in to change notification settings - Fork 13
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
Docker installed, but "no module named docker" #13
Comments
OK I can see now that it's different version to that listed in pyproject.toml. Then again, instructions on main page of this repo didn't say anything about needing a poetry install. So.
a couple of errors here
Still can't find docker. So maybe I need to start over and set up the env with 3.7, not 3.8? I don't know what am I missing here. |
Progress Now a new error.
Now I get these errors
So my conclusion is this thing is just old and doesn't work any more. |
I got to the same place of you with a slightly different error: 2024-01-21 15:11:01.821 | INFO | nitter_scraper.nitter:_get_client:31 - Docker connection successful.
2024-01-21 15:11:03.146 | INFO | nitter_scraper.nitter:start:155 - Running container inspiring_shirley 4b5453b0c4.
2024-01-21 15:11:03.377 | INFO | nitter_scraper.nitter:stop:159 - Stopping container inspiring_shirley 4b5453b0c4.
2024-01-21 15:11:08.661 | INFO | nitter_scraper.nitter:stop:162 - Container inspiring_shirley 4b5453b0c4 Destroyed.
Traceback (most recent call last):
File "/home/esteban/dev/python/nitter/test.py", line 6, in <module>
profile = nitter.get_profile("dgnsrekt")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/esteban/dev/python/nitter/venv/lib/python3.11/site-packages/nitter_scraper/nitter.py", line 114, in get_profile
return get_profile(username=username, not_found_ok=not_found_ok, address=self.address)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/esteban/dev/python/nitter/venv/lib/python3.11/site-packages/nitter_scraper/profile.py", line 207, in get_profile
raise ValueError(f'Oops! Either "{username}" does not exist or is private.')
ValueError: Oops! Either "dgnsrekt" does not exist or is private. do you make some progress ? |
@estebanlm I gave up on Nitter as I found a few places around the web to get sets of free monthly API calls. Search google for API sites and see a) what gets you a free account (not all will offer that) and b) what services they connect to. Some will do twitter and give a few hundred API calls a month. This is more than enough for my purposes, and I don't need to muck around with a Nitter instance or docker any more - I just call with Python and Requests |
:( sadly I can not do that, I will continue digging and see if I can make a PR (highly unlikely, I am very new to python ;) |
Hi
Tried to set this up today on Win11. So far everything seems to have installed. I already have Docker Desktop.
However I'm hitting a wall trying to run a simple scrape (the example from github on the main page).
Running the .py, I get
Which is weird because I've literally just run pip install docker, as well as already having desktop.
Any tips here appreciated. Version mismatch? I ran into an earlier issue where I couldn't pip install nitter_scraper because it didn't like python=3.11. Am now running 3.8. But perhaps it also wants an older docker?
pip list shows:
The text was updated successfully, but these errors were encountered: