sudo apt-get install ubuntu-desktop, Error: unable to locate package
2024-09-02 02:34:58
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
最新文章
- ZigZag Conversion
- Linux下第一次使用MySQL数据库,设置密码
- HierarchyRequestError:Node cannot be inserted at the specified point in the hierarchy
- HDU 2546(01背包)
- iOS8中如何将状态栏的字体颜色改为白色
- DRUID连接池的简单使用
- HTML5新特性之CSS+HTML5实例
- 如何设置Java虚拟机内存以适应大程序的装载
- input _文本框回车或者失去光标触发事件
- Java7中的ForkJoin并发框架初探(下)—— ForkJoin的应用
- hdu4638
- 结合源代码分析android的消息机制
- telnet配置和telnet用法
- Struts(二十七):使用token或tokenSession防止表单重复提交
- 理解ECS的概念和Unity中的ECS设计
- [工作积累] shadow map问题汇总
- Java基础之数据比较Integer、Short、int、short
- PHP魔术方法大全
- 【Topcoder 10107】TeamManagement
- 手机端touch事件封装