pva-faster-rcnn安装error汇总

本文汇总了在安装PVA-Faster-RCNN过程中遇到的各种错误及解决方案,包括setuptools、Cython、numpy、OpenCV等依赖库的安装问题,以及编译错误和库文件缺失的问题。
摘要由CSDN通过智能技术生成

总结一下,留备用

question1:

File"setup.py", line 10, in <module>

    from setuptools import setup

ImportError:No module named setuptools

make:*** [all] Error 1

 

solution1:

wget http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gz  

tar zxvf setuptools-0.6c11.tar.gz  

cd setuptools-0.6c11  

python setup.py build  

python setup.py install

 

question2:    File "setup.py", line 12, in<module>

    from Cython.Distutils import build_ext

ImportError:No module named Cython.Distutils

make:*** [all] Error 1

 

solution2:    

在Ubuntu14.04上,建议通过下面的方法安装,这是一种通用的方法,

手动下载下来就行了

wgethttps://bootstrap.pypa.io/get-pip.py --no-check-certificate

sudo python get-pip.py

sudo pip install cython

(add q2:

sudo python get-pip.py 

error:

pip isconfigured with locations that require TLS/SSL, however the ssl module inPython is not available.

Collecting pip

 Could not fetch URL https://pypi.python.org/simple/pip/: There was aproblem confirming the ssl certificate: Can't connect to HTTPS URL because theSSL module is not available. - skipping

 Could not find a version that satisfies the requirement pip (fromversions: )

No matching distribution foundfor pip )

(solution add2:

Sudo reboot 重新输入就可以,应该是后台有程序占用,kill也可以。

)

question3:

File "setup.py", line14, in <module>

    import numpy as np

ImportError: No module namednumpy

make: *** [all] Error 1

solution3:

sudo apt-get installpython-numpy

 

question4:

x86_64-linux-gnu-gcc: error:utils/bbox.c: No such file or directory

x86_64-linux-gnu-gcc: fatalerror: no input files

compilation terminated.

error: command 'x86_64-linux-gnu-gcc'failed with exit status 4

make:

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值