ricerati / proxy-checker-python

Proxy checker in Python
https://pypi.org/project/proxy-checker/
MIT License
53 stars 23 forks source link

Unable to install with pip #15

Open Avnsx opened 3 years ago

Avnsx commented 3 years ago

Using python 3.9.7 64bit for windows 10

C:\Users\me>pip install proxy_checker
Collecting proxy_checker
  Using cached proxy_checker-0.6-py3-none-any.whl (4.6 kB)
Collecting pycurl
  Using cached pycurl-7.44.1.tar.gz (227 kB)
  Preparing metadata (setup.py) ... error
  ERROR: Command errored out with exit status 10:
   command: 'C:\Program Files\Python39\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\me\\AppData\\Local\\Temp\\pip-install-g9poxl58\\pycurl_1a16e583b6344c5698d177d25eb3e199\\setup.py'"'"'; __file__='"'"'C:\\Users\\me\\AppData\\Local\\Temp\\pip-install-g9poxl58\\pycurl_1a16e583b6344c5698d177d25eb3e199\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\me\AppData\Local\Temp\pip-pip-egg-info-fcldw_gr'
       cwd: C:\Users\me\AppData\Local\Temp\pip-install-g9poxl58\pycurl_1a16e583b6344c5698d177d25eb3e199\
  Complete output (1 lines):
  Please specify --curl-dir=/path/to/built/libcurl
  ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/47/f9/c41d6830f7bd4e70d5726d26f8564538d08ca3a7ac3db98b325f94cdcb7f/pycurl-7.44.1.tar.gz#sha256=5bcef4d988b74b99653602101e17d8401338d596b9234d263c728a0c3df003e8 (from https://pypi.org/simple/pycurl/) (requires-python:>=3.5). Command errored out with exit status 10: python setup.py egg_info Check the logs for full command output.

infinitely looping like this

relevant https://github.com/pycurl/pycurl/issues/710

Zalexanninev15 commented 2 years ago

Same problem, any solution?

Avnsx commented 2 years ago

Same problem, any solution?

Only solution I see is, to annoy the main contributors of pycurl until they push windows builts for 3.9 and 3.10 🤔

see https://github.com/pycurl/pycurl/issues/710#issuecomment-1010586589

alpha90007vpn1 commented 1 year ago

Go here https://www.lfd.uci.edu/~gohlke/pythonlibs/#pycurl down load the currect pycurl based on your python version and then do pip install path/to/pycurl.x.x.x.x.whl replace the final bit with the correct path to the wheel you downloaded or you can also replace it with the url to the wheel and pip will download it for you.