scylla icon indicating copy to clipboard operation
scylla copied to clipboard

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

Open Hanoso opened this issue 5 years ago • 4 comments

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 avatar Sep 02 '19 13:09 Hanoso

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版本的。

Hanoso avatar Sep 02 '19 13:09 Hanoso

可以安装pycurl-7.43.0.5

zhouzihaoshihehe avatar Apr 01 '20 04:04 zhouzihaoshihehe

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

wikipurse avatar Jun 14 '20 17:06 wikipurse

我是Windows,咋解决?

ChaXxl avatar Apr 24 '22 05:04 ChaXxl