zoukankan      html  css  js  c++  java
  • python, environment, conda

    1. What is Conda

        Conda is an open source package management system and environment management system that runs on Windows, macOS, and Linux.

        Conda quickly installs, runs and updates packages and their dependencies.

        Conda easily creates, saves, loads, and switches between environments on your local computer.

        It was created for Python programs but it can package and distribute software for any language.

    2. Install Conda and create virtual environment

        ( 1 ) Download the installer for Linux  from here: https://docs.conda.io/en/latest/miniconda.html and I downloaded Miniconda installer for Linux(my system is Ubuntu 14 )  

        ( 2 ) Go to the installer-file directory and run $bash Miniconda3-latest-xxxxxxx.sh 

      ( 3 ) Stop the virtual environment if that virtual environment is running  $conda deactivate  

      ( 4 ) Create a virtual environment naming "helloProject" and install python3.5,  $conda -n helloProject python=3.5   

        ( 5 )  Activate that virtual environment  $ conda activate helloProject

      ( 6 ) Install package under the virtual environment, ( "helloProject" is ahead of  ' $ ' ) which means a virtual environment has launched 

         (helloProject)$ conda install scikit-learn    #install scikit-learn package

      ( 7 ) Exit the virtual environment $ conda deactivate

        

  • 相关阅读:
    第六周例行报告
    第五周每周例行报告
    第三、四周例行报告
    PSP总结报告
    获奖感言
    20181204-1 每周例行报告
    20181127-2 每周例行报告
    软件工程原则的应用实例分析
    20181120-1 每周例行报告
    20181113-2 每周例行报告
  • 原文地址:https://www.cnblogs.com/sarah-zhang/p/12131338.html
Copyright © 2011-2022 走看看