pygame installation package

python -m pip install pygame或者pip install pygame

Anaconda comprising Conda, the Python and mounted kit lot, such as: numpy , PANDAS , etc.

Comparison with conda install pip install

conda installation package path is XXXXX \ Anaconda3 \ pkgs
PIP installation package path is xxxx \ Anaconda3 \ envs \ a_conda_env \ Lib \ site-packages in a virtual environment
here need to pay attention if you use conda install multiple environments for the same package only needs to be installed once. There conda centralized management.
But if pip pip installed for each environment as used in a different path, it will repeat the installation, the package will be taken from the cache.

 

 

relationship with the Python Anaconda

Python is a programming languages, the C Go Java belong to the same kind.

The Anaconda is a toolkit, conda originally Python package management tool, then in order to make it easier to apply and Scientific Computing, did integration. There are some tools to focus together. [Require additional installation]

 

A master if a novice, want to learn Python, and in Windows, recommended Anaconda, so learning is low cost, easy to focus on learning Python.

 

Good tool to help us do more with less, but the learning process and will not reduce the total amount.

 

 

 

update installation package pip

  1. We first take a look at the version pip.

    pip show pip

    You can see, pip small series version here is 7.1.2

    Taught you how how to upgrade pip use Python pip?
  2.  

    Please note that the information at the bottom of the yellow color, which is very important.

    You are using pip version 7.1.2, however version 10.0.1 is available.

    What this means is that, pip version you are using is 7.1.2, version 10.0.1 is available.

    If the small partner after seeing this prompt, indicating pip is much too old.

    Taught you how how to upgrade pip use Python pip?
  3.  

    In the end why should upgrade pip?

    If the version pip too old, many packages can not be installed.

    For example, small series of pip7.1.2 such problems will arise when installing lxml package.

    Figure

    Taught you how how to upgrade pip use Python pip?
  4.  

    Let us upgrade our pip, OK, I believe small partners are aware of this information, the color yellow tips.

    You should consider upgrading via the 'python -m pip install --upgrade pip' comm

    What this means is that you can consider using 'python -m pip install --upgrade pip' to upgrade pip

    OK, we copy down the line.

    python -m pip install --upgrade pip

    See Successfully word that is successfully installed

    Taught you how how to upgrade pip use Python pip?
  5.  

    Let's examine the next pip version, just to ensure efficient operation

    pip show pip

    This shows that we are indeed pip upgrade a success.

    How, did not learn? Point a wave of attention to it (* ^ __ ^ *) 

    Taught you how how to upgrade pip use Python pip?
  6.  

Guess you like

Origin www.cnblogs.com/Crystal0717/p/12284992.html