<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>miniconda &#8211; 编码无悔 /  Intent &amp; Focused</title>
	<atom:link href="https://www.codelast.com/tag/miniconda/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.codelast.com</link>
	<description>最优化之路</description>
	<lastBuildDate>Mon, 27 Apr 2020 17:37:24 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>[原创] 在树莓派上安装 Miniconda 并创建 Python 3.6环境</title>
		<link>https://www.codelast.com/%e5%8e%9f%e5%88%9b-%e5%9c%a8%e6%a0%91%e8%8e%93%e6%b4%be%e4%b8%8a%e5%ae%89%e8%a3%85-miniconda-%e5%b9%b6%e5%88%9b%e5%bb%ba-python-3-6%e7%8e%af%e5%a2%83/</link>
					<comments>https://www.codelast.com/%e5%8e%9f%e5%88%9b-%e5%9c%a8%e6%a0%91%e8%8e%93%e6%b4%be%e4%b8%8a%e5%ae%89%e8%a3%85-miniconda-%e5%b9%b6%e5%88%9b%e5%bb%ba-python-3-6%e7%8e%af%e5%a2%83/#respond</comments>
		
		<dc:creator><![CDATA[learnhard]]></dc:creator>
		<pubDate>Sat, 30 Nov 2019 17:04:31 +0000</pubDate>
				<category><![CDATA[Raspberry Pi/树莓派]]></category>
		<category><![CDATA[原创]]></category>
		<category><![CDATA[miniconda]]></category>
		<category><![CDATA[Raspberry Pi]]></category>
		<category><![CDATA[树莓派]]></category>
		<guid isPermaLink="false">https://www.codelast.com/?p=11133</guid>

					<description><![CDATA[<p>
要查看更多树莓派相关文章，请点击<a href="https://www.codelast.com/?p=5013" rel="noopener noreferrer" target="_blank"><span style="background-color: rgb(255, 160, 122);">这里</span></a>。</p>
<p>在树莓派3上安装Miniconda，并不能安装普通的Linux版，你得安装 for ARM v7&#160;的版本：</p>
<blockquote>
<p>
		wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-armv7l.sh</p>
<div>
		chmod +x Miniconda3-latest-Linux-armv7l.sh</div>
<div>
		./Miniconda3-latest-Linux-armv7l.sh</div>
</blockquote>
<div>
	跟着向导一步步走下去就可以完成安装。<br />
	<span id="more-11133"></span><br />
	这样安装上的miniconda，对应的Python是3.4版本，要安装Python 3.6版本的环境，可以这样操作：
<blockquote>
<div>
			conda config --add channels rpi</div>
<div>
			conda install python=3.6</div>
<div>
			conda create --name py36 python=3.6</div>
</blockquote>
<div>
		<span style="color: rgb(255, 255, 255);">文章来源：</span><a href="https://www.codelast.com/" rel="noopener noreferrer" target="_blank"><span style="color: rgb(255, 255, 255);">https://www.codelast.com/</span></a><br />
		然后就可以进入Python 3.6的环境了：</div>
<blockquote>
<div>
			source activate py36</div>
</blockquote>
<div>
		最后不忘在&#160;.bashrc 中添加命令别名：</div>
<blockquote>
<div>
			alias py36=&#39;source activate py36&#39;</div>
</blockquote>
<div>
		这样就可以用 py36&#160;命令来进入Python 3.6的环境了。
<p>		<span style="color: rgb(255, 255, 255);">文章来源：</span><a href="https://www.codelast.com/" rel="noopener noreferrer" target="_blank"><span style="color: rgb(255, 255, 255);">https://www.codelast.com/</span></a></p></div></div>&#8230; <a href="https://www.codelast.com/%e5%8e%9f%e5%88%9b-%e5%9c%a8%e6%a0%91%e8%8e%93%e6%b4%be%e4%b8%8a%e5%ae%89%e8%a3%85-miniconda-%e5%b9%b6%e5%88%9b%e5%bb%ba-python-3-6%e7%8e%af%e5%a2%83/" class="read-more">Read More </a>]]></description>
										<content:encoded><![CDATA[<p>
要查看更多树莓派相关文章，请点击<a href="https://www.codelast.com/?p=5013" rel="noopener noreferrer" target="_blank"><span style="background-color: rgb(255, 160, 122);">这里</span></a>。</p>
<p>在树莓派3上安装Miniconda，并不能安装普通的Linux版，你得安装 for ARM v7&nbsp;的版本：</p>
<blockquote>
<p>
		wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-armv7l.sh</p>
<div>
		chmod +x Miniconda3-latest-Linux-armv7l.sh</div>
<div>
		./Miniconda3-latest-Linux-armv7l.sh</div>
</blockquote>
<div>
	跟着向导一步步走下去就可以完成安装。<br />
	<span id="more-11133"></span><br />
	这样安装上的miniconda，对应的Python是3.4版本，要安装Python 3.6版本的环境，可以这样操作：</p>
<blockquote>
<div>
			conda config --add channels rpi</div>
<div>
			conda install python=3.6</div>
<div>
			conda create --name py36 python=3.6</div>
</blockquote>
<div>
		<span style="color: rgb(255, 255, 255);">文章来源：</span><a href="https://www.codelast.com/" rel="noopener noreferrer" target="_blank"><span style="color: rgb(255, 255, 255);">https://www.codelast.com/</span></a><br />
		然后就可以进入Python 3.6的环境了：</div>
<blockquote>
<div>
			source activate py36</div>
</blockquote>
<div>
		最后不忘在&nbsp;.bashrc 中添加命令别名：</div>
<blockquote>
<div>
			alias py36=&#39;source activate py36&#39;</div>
</blockquote>
<div>
		这样就可以用 py36&nbsp;命令来进入Python 3.6的环境了。</p>
<p>		<span style="color: rgb(255, 255, 255);">文章来源：</span><a href="https://www.codelast.com/" rel="noopener noreferrer" target="_blank"><span style="color: rgb(255, 255, 255);">https://www.codelast.com/</span></a><br />
		<span style="color: rgb(255, 0, 0);">➤➤</span>&nbsp;版权声明&nbsp;<span style="color: rgb(255, 0, 0);">➤➤</span>&nbsp;<br />
		转载需注明出处：<u><a href="https://www.codelast.com/" rel="noopener noreferrer" target="_blank"><em><span style="color: rgb(0, 0, 255);"><strong style="font-size: 16px;"><span style="font-family: arial, helvetica, sans-serif;">codelast.com</span></strong></span></em></a></u>&nbsp;<br />
		感谢关注我的微信公众号（微信扫一扫）：</p>
<p style="border: 0px; font-size: 13px; margin: 0px 0px 9px; outline: 0px; padding: 0px; color: rgb(77, 77, 77);">
			<img decoding="async" alt="wechat qrcode of codelast" src="https://www.codelast.com/codelast_wechat_qr_code.jpg" style="width: 200px; height: 200px;" /></p>
</p></div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.codelast.com/%e5%8e%9f%e5%88%9b-%e5%9c%a8%e6%a0%91%e8%8e%93%e6%b4%be%e4%b8%8a%e5%ae%89%e8%a3%85-miniconda-%e5%b9%b6%e5%88%9b%e5%bb%ba-python-3-6%e7%8e%af%e5%a2%83/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>[原创] 在Ubuntu 14.04系统中为ELL安装Python 3.6——通过miniconda</title>
		<link>https://www.codelast.com/%e5%8e%9f%e5%88%9b-%e5%9c%a8ubuntu-14-04%e7%b3%bb%e7%bb%9f%e4%b8%ad%e4%b8%baell%e5%ae%89%e8%a3%85python-3-6-%e9%80%9a%e8%bf%87miniconda/</link>
					<comments>https://www.codelast.com/%e5%8e%9f%e5%88%9b-%e5%9c%a8ubuntu-14-04%e7%b3%bb%e7%bb%9f%e4%b8%ad%e4%b8%baell%e5%ae%89%e8%a3%85python-3-6-%e9%80%9a%e8%bf%87miniconda/#respond</comments>
		
		<dc:creator><![CDATA[learnhard]]></dc:creator>
		<pubDate>Sat, 15 Jul 2017 16:10:15 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[原创]]></category>
		<category><![CDATA[ELL]]></category>
		<category><![CDATA[miniconda]]></category>
		<category><![CDATA[Python 3.6]]></category>
		<guid isPermaLink="false">https://www.codelast.com/?p=9493</guid>

					<description><![CDATA[<p>
<a href="https://github.com/Microsoft/ELL" target="_blank" rel="noopener noreferrer"><span style="background-color: rgb(255, 160, 122);">ELL</span></a>的tutorial使用的是Python 3.6，因此，为了能少走弯路，我们最好也同样使用Python 3.6。<br />
同时，文档还建议我们最好使用<a href="https://www.continuum.io/" target="_blank" rel="noopener noreferrer"><span style="background-color: rgb(255, 160, 122);">anaconda</span></a>或者<a href="https://conda.io/miniconda.html" target="_blank" rel="noopener noreferrer"><span style="background-color: rgb(255, 160, 122);">miniconda</span></a>。所以这里又牵扯出另一个问题：anaconda和miniconda是什么？<br />
<span id="more-9493"></span><br />
按照anaconda官方的<a href="https://www.continuum.io/what-is-anaconda" target="_blank" rel="noopener noreferrer"><span style="background-color: rgb(255, 160, 122);">说法</span></a>：</p>
<blockquote>
<p>
		Anaconda is the world&#8217;s most popular and trusted data science ecosystem.</p>
</blockquote>
<p>这句话太大了，没有了解过的人看了也不知道它具体指的是什么。其实anaconda可以理解为一个Python发行版，就像Ubuntu是一个Linux发行版一样。<br />
在anaconda中，你可以用&#160;<span style="color: rgb(0, 0, 255);">conda install xxx</span>&#160;命令很方便地安装各种科学计算所需的Python module，就像Ubuntu用 apt-get install xxx 安装各种软件一样容易。<br />
这样的话，我们就无需自己去折腾安装各种Python module的依赖问题了，可以节省大量时间。<br />
而miniconda是anaconda的精简版，就像Ubuntu的某些精简版一样，里面只包含最基本的一些软件，所以，安装miniconda比anaconda占用的磁盘空间要小得多。<br />
<span style="color: rgb(255, 255, 255);">文章来源：</span><a href="https://www.codelast.com/" target="_blank" rel="noopener noreferrer"><span style="color: rgb(255, 255, 255);">https://www.codelast.com/</span></a><br />
我安装的是miniconda（Python 3.6，64bit版本），安装方法实在太简单，先到<a href="https://conda.io/miniconda.html" target="_blank" rel="noopener noreferrer"><span style="background-color:#ffa07a;">这里</span></a>下载安装程序，然后执行安装程序即可，在安装的过程中会要你指定安装路径，我把它安装到了当前用户的 ~/.miniconda3/&#8230; <a href="https://www.codelast.com/%e5%8e%9f%e5%88%9b-%e5%9c%a8ubuntu-14-04%e7%b3%bb%e7%bb%9f%e4%b8%ad%e4%b8%baell%e5%ae%89%e8%a3%85python-3-6-%e9%80%9a%e8%bf%87miniconda/" class="read-more">Read More </a></p>]]></description>
										<content:encoded><![CDATA[<p>
<a href="https://github.com/Microsoft/ELL" target="_blank" rel="noopener noreferrer"><span style="background-color: rgb(255, 160, 122);">ELL</span></a>的tutorial使用的是Python 3.6，因此，为了能少走弯路，我们最好也同样使用Python 3.6。<br />
同时，文档还建议我们最好使用<a href="https://www.continuum.io/" target="_blank" rel="noopener noreferrer"><span style="background-color: rgb(255, 160, 122);">anaconda</span></a>或者<a href="https://conda.io/miniconda.html" target="_blank" rel="noopener noreferrer"><span style="background-color: rgb(255, 160, 122);">miniconda</span></a>。所以这里又牵扯出另一个问题：anaconda和miniconda是什么？<br />
<span id="more-9493"></span><br />
按照anaconda官方的<a href="https://www.continuum.io/what-is-anaconda" target="_blank" rel="noopener noreferrer"><span style="background-color: rgb(255, 160, 122);">说法</span></a>：</p>
<blockquote>
<p>
		Anaconda is the world&rsquo;s most popular and trusted data science ecosystem.</p>
</blockquote>
<p>这句话太大了，没有了解过的人看了也不知道它具体指的是什么。其实anaconda可以理解为一个Python发行版，就像Ubuntu是一个Linux发行版一样。<br />
在anaconda中，你可以用&nbsp;<span style="color: rgb(0, 0, 255);">conda install xxx</span>&nbsp;命令很方便地安装各种科学计算所需的Python module，就像Ubuntu用 apt-get install xxx 安装各种软件一样容易。<br />
这样的话，我们就无需自己去折腾安装各种Python module的依赖问题了，可以节省大量时间。<br />
而miniconda是anaconda的精简版，就像Ubuntu的某些精简版一样，里面只包含最基本的一些软件，所以，安装miniconda比anaconda占用的磁盘空间要小得多。<br />
<span style="color: rgb(255, 255, 255);">文章来源：</span><a href="https://www.codelast.com/" target="_blank" rel="noopener noreferrer"><span style="color: rgb(255, 255, 255);">https://www.codelast.com/</span></a><br />
我安装的是miniconda（Python 3.6，64bit版本），安装方法实在太简单，先到<a href="https://conda.io/miniconda.html" target="_blank" rel="noopener noreferrer"><span style="background-color:#ffa07a;">这里</span></a>下载安装程序，然后执行安装程序即可，在安装的过程中会要你指定安装路径，我把它安装到了当前用户的 ~/.miniconda3/ 目录下，并且在安装即将结束的时候，允许miniconda把PATH路径添加到我的 .bashrc 文件中：</p>
<blockquote><p>
	# added by Miniconda3 4.3.21 installer<br />
	export PATH=&quot;/home/codelast/.miniconda3/bin:$PATH&quot;</p></blockquote>
<div>
	此时，你要么重启Ubuntu系统，要么在Ubuntu命令行下直接&nbsp;<span style="color: rgb(0, 0, 255);">source ~/.bashrc</span>，都可以让命令行可以识别到 conda 命令&mdash;&mdash;因为 conda 这个程序就是在 ~/.miniconda3/bin/ 目录下。<br />
	至此，Python 3.6其实就已经装好了&mdash;&mdash;看看 ~/.miniconda3/bin/ 目录下是不是已经有了python3.6程序？<br />
	然后你可以用 conda install xxx 来安装其他的软件包了，conda安装的程序，是安装到了miniconda环境里，不会对覆盖系统里已有的程序，这简直太方便了。<br />
	<span style="color: rgb(255, 255, 255);">文章来源：</span><a href="https://www.codelast.com/" rel="noopener noreferrer" target="_blank"><span style="color: rgb(255, 255, 255);">https://www.codelast.com/</span></a><br />
	<span style="color: rgb(255, 0, 0);">➤➤</span>&nbsp;版权声明&nbsp;<span style="color: rgb(255, 0, 0);">➤➤</span>&nbsp;<br />
	转载需注明出处：<u><a href="https://www.codelast.com/" rel="noopener noreferrer" target="_blank"><em><span style="color: rgb(0, 0, 255);"><strong style="font-size: 16px;"><span style="font-family: arial, helvetica, sans-serif;">codelast.com</span></strong></span></em></a></u>&nbsp;<br />
	感谢关注我的微信公众号（微信扫一扫）：</p>
<p style="border: 0px; font-size: 13px; margin: 0px 0px 9px; outline: 0px; padding: 0px; color: rgb(77, 77, 77);">
		<img decoding="async" alt="wechat qrcode of codelast" src="https://www.codelast.com/codelast_wechat_qr_code.jpg" style="width: 200px; height: 200px;" /></p>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.codelast.com/%e5%8e%9f%e5%88%9b-%e5%9c%a8ubuntu-14-04%e7%b3%bb%e7%bb%9f%e4%b8%ad%e4%b8%baell%e5%ae%89%e8%a3%85python-3-6-%e9%80%9a%e8%bf%87miniconda/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
