1,turicreate入门 - jupyter & turicreate安装
turicreate入门系列文章目录
1,turicreate入门 - jupyter & turicreate安装
3,turicreate入门 - 优化回归模型,使得预测更准确
1,Windows10 WSL 安装ubuntu18.04。Windows10如何安装,请自行百度。
2,更新apt源
1 | sudo apt-get update |
3,更改apt源为阿里源,提高下载速度
1 2 | sudo mv /etc/apt/source .list /ect/apt/source .list.bak // 对原文件备份 sudo vim /etc/apt/source .list // 编辑apt源 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | deb http: //mirrors .aliyun.com /ubuntu/ bionic main restricted universe multiverse deb-src http: //mirrors .aliyun.com /ubuntu/ bionic main restricted universe multiverse deb http: //mirrors .aliyun.com /ubuntu/ bionic-security main restricted universe multiverse deb-src http: //mirrors .aliyun.com /ubuntu/ bionic-security main restricted universe multiverse deb http: //mirrors .aliyun.com /ubuntu/ bionic-updates main restricted universe multiverse deb-src http: //mirrors .aliyun.com /ubuntu/ bionic-updates main restricted universe multiverse deb http: //mirrors .aliyun.com /ubuntu/ bionic-proposed main restricted universe multiverse deb-src http: //mirrors .aliyun.com /ubuntu/ bionic-proposed main restricted universe multiverse deb http: //mirrors .aliyun.com /ubuntu/ bionic-backports main restricted universe multiverse deb-src http: //mirrors .aliyun.com /ubuntu/ bionic-backports main restricted universe multiverse |
:wq保存退出后,更新设置
1 | sudo apt-get update |
4,安装pip3
1 | sudo apt-get install python3-pip |
5,更改pip源为阿里源,提高下载速度
1 2 3 4 | cd ~ mkdir .pip cd .pip sudo vim pip.conf |
输入以下内容:
1 2 3 4 | [global] timeout = 6000 index-url = https: //mirrors .aliyun.com /pypi/simple trusted-host = mirros.aliyun.com |
:wq保存退出后,更新pip设置
1 | sudo pip3 install update |
6,安装jupyter notebook
1 | pip3 install jupyter |
如果使用WSL,输入
1 | sudo jupyter notebook --allow-root |
如果是ubuntu,直接输入
1 | jupyter notebook |
这时候,一切正常的话,就可以打开网页了
7,至此,安装完成了一半了!下面开始安装turicreate。先安装虚拟环境。
1 2 3 4 5 6 | sudo pip3 install virtualenv cd ~ virtualenv turienv cd turienv source ~ /turienv/bin/activate // 激活虚拟环境 |
再安装turicreate。
1 2 3 4 5 | // 在虚拟环境下安装turicreate和ipykernel内核,并且配置jupyter notebook的显示 pip3 install update pip3 install ipykernel pip3 install turicreate python -m ipykernel install --user --name turienv --display-name turienv |
8,退出虚拟环境,启动jupyter
1 2 3 4 5 6 | deactivate //wsl 输入 sudo jupyter notebook --allow-root //ubuntu 输入 jupyter notebook |
可以看到turi内核
Done!
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】博客园社区专享云产品让利特惠,阿里云新客6.5折上折
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· C++代码改造为UTF-8编码问题的总结
· DeepSeek 解答了困扰我五年的技术问题
· 为什么说在企业级应用开发中,后端往往是效率杀手?
· 用 C# 插值字符串处理器写一个 sscanf
· Java 中堆内存和栈内存上的数据分布和特点
· PPT革命!DeepSeek+Kimi=N小时工作5分钟完成?
· What?废柴, 还在本地部署DeepSeek吗?Are you kidding?
· DeepSeek企业级部署实战指南:从服务器选型到Dify私有化落地
· 程序员转型AI:行业分析
· 重磅发布!DeepSeek 微调秘籍揭秘,一键解锁升级版全家桶,AI 玩家必备神器!
2011-04-07 SaveAs in Excel 2007-2010