Centos6.7系统,python3.6.7,通过 pip 安装pycurl出现报错: __main__.ConfigurationError: Could not run curl-config: [Errno 2] No such file or directory: 'curl-config': 'curl-config' 系统已经安装了curl,出现此错误提示一般是因为没有安装对应的开发库,解决方法: yum -y install libcurl-devel…
window7 64位下安装第三方包,,比如安装yaml的exe执行文件,会 报错及解决:python version 2.7(3.4) required,which was not found in the registry 方法:新建一个register.py 文件,把一下代码贴进去,保存 # # script to register Python 2.0 or later for use with win32all # and other extensions that require P…
MacOS 上安装 R 包 install.packages("data.table") 后面提示是否安装需要编译的版本: Do you want to install from sources the package which needs compilation?y/n 选择了 y 之后,报错 clang: error: unsupported option '-fopenmp' 网上找到的解决方法是: 安装 clang-omp brew install clang-omp 但是提…
最近项目不忙了~~有开始专研的python大业,上来想用pip安装一个第三方的库,就一直报错: Could not fetch URL https://pypi.org/simple/xrld/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/xrld/ (Cause…
项目中用到一些sass写的样式,但是每次一编译就报错 按照它上面的提醒,npm rebuild node-sass --force,还是一样有错.不过仔细看看他的错误信息我发现了其中这条: gyp verb could not find "C:\Users\myh\AppData\Local\Programs\Python\Python36\python.EXE". checking python launchergyp verb could not find "C:\Use…
安装/卸载第三包可能出现如下问题及相应解决办法: 在pycharm编辑中,使用anconda2更新.卸载第三方包时,出现如下错误: AttributeError:'module' object has no attribute 'main' 原因:新版pip中的main函数已经发生了变化,pip版本的原因,pip version 10.0.1,旧版本不会出现问题 参考:PyCharm 2017.3 在pip10.0.0版本中报错(module 'pip' has no attribute 'ma…
解决方法: pip2.7, you can at first curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py then python2.7 get-pip.py --force-reinstall to reinstall pip. 注意使用sudo…