Anaconda使用

Anaconda使用

如果环境配置正确,在cmd中输入python –version,会出现如下信息
python 2.7.11 :: Anaconda 2.4.1 (65-bit)

Anaconda的一些命令
• 查看已经安装的python应用包:conda list
• 更新anaconda的安装包:conda update pythonpackage
• 卸载anaconda的安装包:conda unistall pythonpackage
• 安装新的python包:conda install pythonpackage
• Pip install pythonpackage
• 更新pip:python -m pip install --upgrade pip

什么是MinGW
MinGW(Minimalist GNU for Windows),又称mingw32,是将GCC编译器和GNU Binutils移植到Win32平台下的产物,包括一系列头文件(Win32API)、库和可执行文件。
你就把gcc当成c语言编译器,g++当成c++语言编译器用就是了。

创建新的环境
conda -n py3.6 python=3.6
conda create -n py36 python=3.6

activate py3.6

pip3
pip3 and pip would make a difference only when you are not using any environment managers like virualenv (or) conda. Now as you are creating a conda environment which has python==3.x, pip would be equivalent to pip3.

pip3只会在没有虚拟环境的情况下使用,在有虚拟环境的情况下使用的效果等同于pip

列出环境
conda info --envs
source activate py27

创建新环境
anaconda环境管理
创建一个环境
conda create --name snowflakes biopython
https://blog.csdn.net/simple_the_best/article/details/74351769
https://blog.csdn.net/H_O_W_E/article/details/77370456

Anaconda如何同时安装python2和python3
http://www.snailtoday.com/archives/7101
win7系统安装python,并安装Pycharm集成开发环境+pycharm快捷键
https://blog.csdn.net/tina_ttl/article/details/51793345
install pip3 for conda
https://stackoverflow.com/questions/44362214/install-pip3-for-conda

posted @ 2022-06-22 09:49  xiaoxuxli  阅读(52)  评论(0编辑  收藏  举报