Skip to content
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

pycurl安装报错,其他安装正常。 #106

Open
Hanoso opened this issue Sep 2, 2019 · 4 comments
Open

pycurl安装报错,其他安装正常。 #106

Hanoso opened this issue Sep 2, 2019 · 4 comments

Comments

@Hanoso
Copy link

Hanoso commented Sep 2, 2019

Please provide the following information if applicable:

  • Operating system and its version: WIN 10家庭版
  • Version number of Scylla: 最新版
  • Version number of your Chromium (if related):

报错信息如下,最后使用pycurl源码clone的。

Using cached https://files.pythonhosted.org/packages/77/d9/d272b38e6e25d2686e22f6058820298dadead69340b1c57ff84c87ef81f0/pycurl-7.43.0.1.tar.gz
ERROR: Command errored out with exit status 10: command: 'd:\python37\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\CCF\\AppData\\Local\\Temp\\pip-install-k4nkhttk\\pycurl\\setup.py'"'"'; __file__='"'"'C:\\Users\\CCF\\AppData\\Local\\Temp\\pip-install-k4nkhttk\\pycurl\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info cwd: C:\Users\CCF\AppData\Local\Temp\pip-install-k4nkhttk\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 the logs for full command output.

@Hanoso
Copy link
Author

Hanoso commented Sep 2, 2019

D:\Python37\Scripts>pip install pycurl-7.43.0.3-cp36-cp36m-win32.whl

ERROR: pycurl-7.43.0.3-cp36-cp36m-win32.whl is not a supported wheel on this platform.
谷歌了一个方法,安装whl,但是试了cp27/36/37/38都报如上错误。python是3.7版本的。

@zhouzihaoshihehe
Copy link

可以安装pycurl-7.43.0.5

@wikipurse
Copy link

终于解决这个问题了 sudo apt install libcurl4-openssl-dev libssl-dev

@ChaXxl
Copy link

ChaXxl commented Apr 24, 2022

我是Windows,咋解决?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants