dex-net系统环境搭建

Dex_net系统搭建

根据伯克利官方网址https://berkeleyautomation.github.io/gqcnn/install/install.html#python-installation上的配置要求
pip install numpy scipy matplotlib tensorflow-gpu opencv-python scikit-image scikit-learn pillow
我的系统版本ubuntu14.04,结果报错:

/usr/local/lib/python2.7/dist-packages/pip/vendor/urllib3/util/ssl.py:137:
InsecurePlatformWarning: A true SSLContext object is not available.
This prevents urllib3 from configuring SSL appropriately and may cause
certain SSL connections to fail. This prevents urllib3 from
configuring SSL appropriately and may cause certain SSL connections to
fail. You can upgrade to a newer version of Python to solve this. For
more information, see
https://urllib3.readthedocs.io/en/latest/advanced-usage.

一大堆错误信息也没弄清楚什么错误,总之通过pip install 安装软件包的时候都是有报错,真的很苦恼.查了博客说先升级下ubuntu系统自带的Python.采用以下命令:

    sudo add-apt-repository ppa:fkrull/deadsnakes-python2.7  
    sudo apt-get update  
    sudo apt-get upgrade

大约半个小时之后更新完成.
完成后继续安装,但是需要numpy 升级

  sudo pip install numpy -I 

继续安装继续报错:launchpadlib 1.10.2 requires testresources, which is not installed.
不信邪了,继续解决

  sudo pip install launchpadlib
  同时升级一下pillow
  sudo pip install -U pillow

又会有好多错误,但是狗屎关于six包的

 sudo pip install six --upgrade --target="/usr/local/lib/python2.7/dist-packages"

我只能在升级啦,测试了各种升级办法,还是上面的这个好用(重点重点).
继续安装上面的各种包,终于…..成功啦!
暂且到此!

你可能感兴趣的:(dex-net系统环境搭建)