sudo apt-get install ubuntu-desktop, Error: unable to locate package

http://askubuntu.com/questions/130532/sudo-apt-get-install-ubuntu-desktop-error-unable-to-locate-package

This may help you!!!
Enter the following in terminal

sudo su
apt-get clean
cd /var/lib/apt
mv lists lists.old
mkdir -p lists/partial
apt-get clean
apt-get update

  

安装了ubuntu14.04 64位,bandwagong。

自带python,

首先按上面的代码解决掉:不能定位包。问题

然后,安装pip,下面的代码只要执行第一行就ok了

pip install

$ sudo apt-get install python-pip python-dev build-essential
$ sudo pip install --upgrade pip

接下来直接安装tf:这里出现好多情况,最后换了个地址就可以了。下面是地址,感觉是版本匹配的问题

install tensorflow

pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.10.0rc0-cp27-none-linux_x86_64.whl

下来安装git,

下载ay的东西,运行recurrent_network.py,没问题

注明
:上面的地址,参考这个http://stackoverflow.com/questions/38896424/tensorflow-not-found-in-pip

安装matplotlib,参考http://matplotlib.org/1.5.1/users/installing.html用下面的命令可以安装,scipy同理。

sudo apt-get install python-matplotlib

原文地址:https://www.cnblogs.com/cdsj/p/6035614.html