python anaconda install environment

Personally I prefer a python package installation and development tools are: anaconda + pycharm.
Here's a few tips that can help us install most of the libraries:

  1. When installing a package in the anaconda (such as glog), in python script can not import in, then you can use pip to install the library. Enter conda of envs / myenv / bin, execute ./pip install glog.
  2. Switching a plurality of the command line environment may be used conda activate myenv.
  3. When installed ros, you need the command line, the default setup script off to rest, otherwise conda will be affected.
  4. In exchange for domestic use must be domestic sources, otherwise it will be very slow. Increasing the address of the warehouse, with reference to the configuration file ~ / .condarc in: https: //mirrors.tuna.tsinghua.edu.cn/help/anaconda/
  5. When using conda-navigator, right-click the box, and can choose to install version . Conda search: bad this way, the graphical interface and sometimes get stuck, do not know in what steps, use the command line requires only two steps to conda install pkg. Even a progress = version * Tucao about conda navigator, is installed. bars are not, do not know the computer card? Or the network is too slow? Or bag is too big?
  6. It has a bag when not installed, you can use offline installation, the first search https://pypi.org/project/easydict/ download and use: python setup.py install to install.
Published 36 original articles · won praise 3 · views 10000 +

Guess you like

Origin blog.csdn.net/wang_jun_whu/article/details/104095719