dgnsrekt / nitter_scraper

Scrape Twitter API without authentication using Nitter.
https://nitter-scraper.readthedocs.io/
MIT License
62 stars 13 forks source link

Cannot install module: onflict with dependencies #6

Open alex27riva opened 2 years ago

alex27riva commented 2 years ago

Hi everyone, I have this issue when installing the module with pip3 on my Windows 10 machine:

pip3 install nitter-scraper
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
Collecting nitter-scraper
  Using cached nitter_scraper-0.5.0-py3-none-any.whl (12 kB)
Collecting loguru<0.6.0,>=0.5.1
  Using cached loguru-0.5.3-py3-none-any.whl (57 kB)
Collecting requests-html<0.11.0,>=0.10.0
  Using cached requests_html-0.10.0-py3-none-any.whl (13 kB)
Collecting jinja2<3.0.0,>=2.11.2
  Using cached Jinja2-2.11.3-py2.py3-none-any.whl (125 kB)
Collecting pendulum<3.0.0,>=2.1.2
  Using cached pendulum-2.1.2.tar.gz (81 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Collecting docker<5.0.0,>=4.3.1
  Using cached docker-4.4.4-py2.py3-none-any.whl (147 kB)
Collecting pydantic<2.0.0,>=1.6.1
  Using cached pydantic-1.10.2-cp310-cp310-win_amd64.whl (2.1 MB)
Collecting websocket-client>=0.32.0
  Using cached websocket_client-1.4.1-py3-none-any.whl (55 kB)
Collecting requests!=2.18.0,>=2.14.2
  Using cached requests-2.28.1-py3-none-any.whl (62 kB)
Collecting six>=1.4.0
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting docker<5.0.0,>=4.3.1
  Using cached docker-4.4.3-py2.py3-none-any.whl (146 kB)
  Using cached docker-4.4.2-py2.py3-none-any.whl (146 kB)
  Using cached docker-4.4.1-py2.py3-none-any.whl (146 kB)
  Using cached docker-4.4.0-py2.py3-none-any.whl (146 kB)
  Using cached docker-4.3.1-py2.py3-none-any.whl (145 kB)
INFO: pip is looking at multiple versions of <Python from Requires-Python> to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of nitter-scraper to determine which version is compatible with other requirements. This could take a while.
Collecting nitter-scraper
  Using cached nitter_scraper-0.4.2-py3-none-any.whl (10 kB)
  Using cached nitter_scraper-0.3.4-py3-none-any.whl (9.9 kB)
  Using cached nitter_scraper-0.3.3-py3-none-any.whl (9.6 kB)
  Using cached nitter_scraper-0.3.2-py3-none-any.whl (7.9 kB)
ERROR: Cannot install nitter-scraper because these package versions have conflicting dependencies.

The conflict is caused by:
    docker 4.4.4 depends on pywin32==227; sys_platform == "win32"
    docker 4.4.3 depends on pywin32==227; sys_platform == "win32"
    docker 4.4.2 depends on pywin32==227; sys_platform == "win32"
    docker 4.4.1 depends on pywin32==227; sys_platform == "win32"
    docker 4.4.0 depends on pywin32==227; sys_platform == "win32"
    docker 4.3.1 depends on pywin32==227; sys_platform == "win32"

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)

How can I fix?

Zarathustrai commented 1 year ago

bump; more relevant than ever

jus3q commented 1 year ago

Same issue. cannot install