python学习笔记—

Microsoft Windows [版本 10.0.16299.431]
(c) 2017 Microsoft Corporation。保留所有权利。

C:\Users\zyong>pip install
ERROR: You must give at least one requirement to install (see "pip help install")

C:\Users\zyong>pip install requests
Requirement already satisfied: requests in c:\users\zyong\anaconda3\lib\site-packages (2.18.4)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\users\zyong\anaconda3\lib\site-packages (from requests) (3.0.4)
Requirement already satisfied: idna<2.7,>=2.5 in c:\users\zyong\anaconda3\lib\site-packages (from requests) (2.6)
Requirement already satisfied: urllib3<1.23,>=1.21.1 in c:\users\zyong\anaconda3\lib\site-packages (from requests) (1.22)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\zyong\anaconda3\lib\site-packages (from requests) (2018.1.18)
notebook 5.4.0 requires ipykernel, which is not installed.
jupyter 1.0.0 requires ipykernel, which is not installed.
jupyter-console 5.2.0 requires ipykernel, which is not installed.
ipywidgets 7.1.1 requires ipykernel>=4.5.1, which is not installed.

C:\Users\zyong>stdo python3 -m ipykernel install
'stdo' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

C:\Users\zyong>conda create -n py36-test python=3.6
Solving environment: done


==> WARNING: A newer version of conda exists. <==
current version: 4.4.10
latest version: 4.5.2

Please update conda by running

$ conda update -n base conda

## Package Plan ##

environment location: C:\Users\zyong\Anaconda3\envs\py36-test

added / updated specs:
- python=3.6


The following packages will be downloaded:

package | build
---------------------------|-----------------
python-3.6.5 | h0c2934d_0 21.6 MB
setuptools-39.1.0 | py36_0 570 KB
pip-10.0.1 | py36_0 1.8 MB
certifi-2018.4.16 | py36_0 143 KB
wheel-0.31.0 | py36_0 81 KB
------------------------------------------------------------
Total: 24.2 MB

The following NEW packages will be INSTALLED:

certifi: 2018.4.16-py36_0
pip: 10.0.1-py36_0
python: 3.6.5-h0c2934d_0
setuptools: 39.1.0-py36_0
vc: 14-h0510ff6_3
vs2015_runtime: 14.0.25123-3
wheel: 0.31.0-py36_0
wincertstore: 0.2-py36h7fe50ca_0

Proceed ([y]/n)? y


Downloading and Extracting Packages
python 3.6.5: ################################################################################################# | 100%
setuptools 39.1.0: ############################################################################################ | 100%
pip 10.0.1: ################################################################################################### | 100%
certifi 2018.4.16: ############################################################################################ | 100%
wheel 0.31.0: ################################################################################################# | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use:
# > activate py36-test
#
# To deactivate an active environment, use:
# > deactivate
#
# * for power-users using bash, you must source
#


C:\Users\zyong>pip install requests
Requirement already satisfied: requests in c:\users\zyong\anaconda3\lib\site-packages (2.18.4)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\users\zyong\anaconda3\lib\site-packages (from requests) (3.0.4)
Requirement already satisfied: idna<2.7,>=2.5 in c:\users\zyong\anaconda3\lib\site-packages (from requests) (2.6)
Requirement already satisfied: urllib3<1.23,>=1.21.1 in c:\users\zyong\anaconda3\lib\site-packages (from requests) (1.22)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\zyong\anaconda3\lib\site-packages (from requests) (2018.1.18)
notebook 5.4.0 requires ipykernel, which is not installed.
jupyter 1.0.0 requires ipykernel, which is not installed.
jupyter-console 5.2.0 requires ipykernel, which is not installed.
ipywidgets 7.1.1 requires ipykernel>=4.5.1, which is not installed.

C:\Users\zyong>

猜你喜欢

转载自www.cnblogs.com/gengyi/p/9026770.html