ricerati / proxy-checker-python

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

Command errored out with exit status 10 when pip install proxy-checker #5

Closed lobsik closed 3 years ago

lobsik commented 3 years ago

why am i receive error when pip install proxy-checker

C:\Windows\system32>pip install proxy-checker Collecting proxy-checker Using cached proxy_checker-0.4-py3-none-any.whl (4.3 kB) Collecting pycurl Using cached pycurl-7.43.0.6.tar.gz (222 kB) ERROR: Command errored out with exit status 10: command: 'd:\python\python.exe' -c 'import sys, setuptools, tokenize; sys.a rgv[0] = '"'"'C:\Users\asus\AppData\Local\Temp\pip-install-8ho3d121\pycur l\setup.py'"'"'; file='"'"'C:\Users\asus\AppData\Local\Temp\pip-insta ll-8ho3d121\pycurl\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(f ile);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compil e(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\asus\AppData\L ocal\Temp\pip-pip-egg-info-naz5l16d' cwd: C:\Users\asus\AppData\Local\Temp\pip-install-8ho3d121\pycurl\ Complete output (1 lines): Please specify --curl-dir=/path/to/built/libcurl

ERROR: Command errored out with exit status 10: python setup.py egg_info Check t he logs for full command output.

ricerati commented 3 years ago

The error occurs when PycURL is being installed. You need to specify the path to libcurl.

Please specify --curl-dir=/path/to/built/libcurl

Alternatively, download and install PycURL from Christoph Gohlke's Windows Binaries for Python Extension Packages (https://www.lfd.uci.edu/~gohlke/pythonlibs/#pycurl) to have libcurl included in the package.

To install a WHL file you run the following command:

pip install /path/to/package.whl