久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

如何在 Anaconda 中為不同的 Python 版本安裝包?

How do I install a package for different Python versions in Anaconda?(如何在 Anaconda 中為不同的 Python 版本安裝包?)
本文介紹了如何在 Anaconda 中為不同的 Python 版本安裝包?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

我有 Python 2.7 作為 root.我需要在 Python 3.6 中安裝包statistics",它不在 anaconda navigator 的環境中.如何使用 condapip 為輔助 Python 環境安裝statistics"?

I have Python 2.7 as root. I need to install the package "statistics" in Python 3.6, and it is not in the environments of anaconda navigator. How can install "statistics" with conda or pip for a secondary Python environment?

推薦答案

通過運行創建一個新的 Python 3 環境:

Create a new Python 3 environment by running:

conda create --name python3 python=3

如果您希望默認安裝所有標準 anaconda 軟件包,請執行以下操作:

If you want all the standard anaconda packages installed by default, do:

conda create --name python3 python=3 anaconda

當你需要使用 python3 時運行:

Whenever you need to use python3 run:

activate python3

然后正常使用命令行.所以,如果你想在你的 python3 環境中安裝一些東西,請確保你首先 activate python3.

Then use the command line as normal. So, if you want to install something into your python3 environment, make sure you activate python3 first.

請注意,python 3 擁有自己的統計模塊,您可能會發現它很有用,如果您愿意,此模塊 已移植到 python 2.

Note that python 3 has it's own statistics module that you may find useful, and this module has been ported to python 2 if you would prefer.

這篇關于如何在 Anaconda 中為不同的 Python 版本安裝包?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

Troubles while parsing with python very large xml file(使用 python 解析非常大的 xml 文件時出現問題)
Find all nodes by attribute in XML using Python 2(使用 Python 2 在 XML 中按屬性查找所有節點)
Python - How to parse xml response and store a elements value in a variable?(Python - 如何解析 xml 響應并將元素值存儲在變量中?)
How to get XML tag value in Python(如何在 Python 中獲取 XML 標記值)
How to correctly parse utf-8 xml with ElementTree?(如何使用 ElementTree 正確解析 utf-8 xml?)
Parse XML from URL into python object(將 XML 從 URL 解析為 python 對象)
主站蜘蛛池模板: 久久久久久久影院 | www.成人网 | 一级黄视频 | 国产精品777| 插少妇| 97精品国产露脸对白 | 午夜精品视频在线 | 影音先锋在线视频 | 一区视频在线 | 福利视频二区 | 欧美性久久 | 毛片毛片毛片 | 成人免费视频国产免费 | 国产91热爆ts人妖系列 | 99视频免费| 成人激情视频在线观看 | 最新超碰 | 午夜aaa| 91精品网站 | 国产黄色三级 | 欧美在线看片 | 国产乱码精品一区二区三 | 亚洲天堂一区二区 | 欧美伊人久久 | 一区二区免费 | 国产亚洲视频在线观看 | 中文字幕在线观看一区二区三区 | 国产无遮挡 | 日韩毛片网站 | 97精品在线| 中文字幕免费视频 | 欧美日韩国产成人 | 九九色综合 | 日韩视频一区二区 | 欧美日韩国产三级 | 一级真人毛片 | 中文字幕在线观看网址 | av资源站| 亚洲福利一区 | 在线观看亚洲精品 | 一级特黄视频 |