- Python Data Mining Quick Start Guide
- Nathan Greeneltch
- 226字
- 2021-06-24 15:19:45
Recommended libraries and how to install
Its easy to add or remove libraries from the Anaconda prompt. Once you have an the preferred environment activated, the simple Conda install command will search the Anaconda cloud repo for a matching package, and will begin download if it exists. Conda will warn if there are version dependencies with your other libraries. Always pay attention to these warnings, so that you know if any other library versions are affected. If, at any time, you need a reminder of what is in your environment, use the Conda list command to check package names and versions.
Let's look at some example commands:
- Create a new environment called my_env with Python version 3 using the following command:
(base) $ Conda create -n my_env Python=3
- Check whether my_env was created successfully by using the following command:
(base) $ Conda info --envs
You will see the following screen on the execution of the preceding command:

- Activate a new environment by using the following command:
(base) $ Conda activate my_env
- Install the numpy math library by using the following command:
(my_env) $ Conda install numpy
- Use Conda list as follows, to check whether a new library was installed or not and all other libraries and versions in my_env:
(my_env) $ Conda list
You will see the following screen on the execution of the preceding command:

推薦閱讀
- PowerShell 3.0 Advanced Administration Handbook
- Getting Started with MariaDB
- 深度學(xué)習(xí)中的圖像分類與對(duì)抗技術(shù)
- 永磁同步電動(dòng)機(jī)變頻調(diào)速系統(tǒng)及其控制(第2版)
- 西門子S7-200 SMART PLC實(shí)例指導(dǎo)學(xué)與用
- 現(xiàn)代傳感技術(shù)
- Google SketchUp for Game Design:Beginner's Guide
- Machine Learning with Apache Spark Quick Start Guide
- 計(jì)算機(jī)與信息技術(shù)基礎(chǔ)上機(jī)指導(dǎo)
- 單片機(jī)C語(yǔ)言程序設(shè)計(jì)完全自學(xué)手冊(cè)
- INSTANT Munin Plugin Starter
- 智能制造系統(tǒng)及關(guān)鍵使能技術(shù)
- Xilinx FPGA高級(jí)設(shè)計(jì)及應(yīng)用
- 設(shè)計(jì)模式
- Learning iOS 8 for Enterprise