Python全栈开发工程师 第一模块作业

1.【编程题】100分
第一模块作业:
1- 学习计算机运行原理,绘制一张python代码从输入电脑,到处理,到输出结果的整个流程图
2- 构建自己的python编程环境,整个过程做笔记,把截图放到word里提交
3- 写下自己学习编程的目标(建议按月写,至少写出前三个月的,比如学到哪个模块或者做个什么小程序,我们都在盼着你的进步哦!)

要求与提示:
1- 流程图建议手绘,简单线框图就好。如果用计算机画可以考虑用processon在线平台或visio或xmind或其他
2- 虚拟环境要用自己的名字拼音命名,可以缩写。不能是中文!
3- 作业目录用你本人拼音命名,假如你叫张三,本次作业目录为:01ready-zhangsan【注意:是拼音,zhangsan替换为你的拼音,请严格按此名称命名】,然后提交压缩包。(压缩软件推荐:360压缩,基本不会有跨平台问题)
1.
2.- 构建自己的python编程环境,整个过程做笔记,把截图放到word里提交
(1)-安装vscode
• 官网下载vscode
或者通过Microsoft Store 安装
(2)安装anaconda
下载后安装
或者访问​​https://repo.anaconda.com/​​

​​https://repo.anaconda.com/miniconda/​​
下载安装miniconda

配置国内清华源
show_channel_urls: true
channels:

  • defaults
    show_channel_urls: true
    default_channels:
  • https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
  • https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r
  • https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2
    custom_channels:
    conda-forge: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
    msys2: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
    bioconda: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
    menpo: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
    pytorch: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
    pytorch-lts: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
    simpleitk: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
    报错 HTTP 000 没法使用
    已解决:
    conda config --set ssl_verify false
    conda install jupyter

conda install ipython
有的时候需要管理员权限才能安装!
默认pip源升级
(base) c:\Users\mj>python -m pip install --upgrade pip
Requirement already satisfied: pip in c:\programdata\miniconda3\lib\site-packages (23.0.1)
Collecting pip
Downloading pip-23.1.2-py3-none-any.whl (2.1 MB)
---------------------------------------- 2.1/2.1 MB 16.7 kB/s eta 0:00:00
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 23.0.1
Uninstalling pip-23.0.1:
Successfully uninstalled pip-23.0.1
Successfully installed pip-23.1.2

(base) c:\Users\mj>pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
Writing to C:\Users\mj\AppData\Roaming\pip\pip.ini

(base) c:\Users\mj>
(3)配置conemu

为conda添加环境变量
C:\ProgramData\miniconda3\condabin
$ cc py3-10 python=3.10
Collecting package metadata (current_repodata.json): done
Solving environment: done

Package Plan

environment location: C:\ProgramData\miniconda3\envs\py3-10

added / updated specs:
- python=3.10

The following packages will be downloaded:

package                    |            build
---------------------------|-----------------
bzip2-1.0.8                |       he774522_0         113 KB  defaults
ca-certificates-2023.05.30 |       haa95532_0         120 KB  defaults
libffi-3.4.4               |       hd77b12b_0         113 KB  defaults
openssl-3.0.8              |       h2bbff1b_0         7.4 MB  defaults
pip-23.0.1                 |  py310haa95532_0         2.8 MB  defaults
python-3.10.11             |       he1021f5_3        15.8 MB  defaults
setuptools-67.8.0          |  py310haa95532_0         1.1 MB  defaults
sqlite-3.41.2              |       h2bbff1b_0         894 KB  defaults
tk-8.6.12                  |       h2bbff1b_0         3.1 MB  defaults
tzdata-2023c               |       h04d1e81_0         116 KB  defaults
wheel-0.38.4               |  py310haa95532_0          83 KB  defaults
xz-5.4.2                   |       h8cc25b3_0         592 KB  defaults
zlib-1.2.13                |       h8cc25b3_0         113 KB  defaults
------------------------------------------------------------
                                       Total:        32.2 MB

The following NEW packages will be INSTALLED:

bzip2 anaconda/pkgs/main/win-64::bzip2-1.0.8-he774522_0
ca-certificates anaconda/pkgs/main/win-64::ca-certificates-2023.05.30-haa95532_0
libffi anaconda/pkgs/main/win-64::libffi-3.4.4-hd77b12b_0
openssl anaconda/pkgs/main/win-64::openssl-3.0.8-h2bbff1b_0
pip anaconda/pkgs/main/win-64::pip-23.0.1-py310haa95532_0
python anaconda/pkgs/main/win-64::python-3.10.11-he1021f5_3
setuptools anaconda/pkgs/main/win-64::setuptools-67.8.0-py310haa95532_0
sqlite anaconda/pkgs/main/win-64::sqlite-3.41.2-h2bbff1b_0
tk anaconda/pkgs/main/win-64::tk-8.6.12-h2bbff1b_0
tzdata anaconda/pkgs/main/noarch::tzdata-2023c-h04d1e81_0
vc anaconda/pkgs/main/win-64::vc-14.2-h21ff451_1
vs2015_runtime anaconda/pkgs/main/win-64::vs2015_runtime-14.27.29016-h5e58377_2
wheel anaconda/pkgs/main/win-64::wheel-0.38.4-py310haa95532_0
xz anaconda/pkgs/main/win-64::xz-5.4.2-h8cc25b3_0
zlib anaconda/pkgs/main/win-64::zlib-1.2.13-h8cc25b3_0

Proceed ([y]/n)? y

Downloading and Extracting Packages

Preparing transaction: done
Verifying transaction: done
Executing transaction: done

To activate this environment, use

$ conda activate py3-10

To deactivate an active environment, use

$ conda deactivate

done

To activate this environment, use

$ conda activate jsp-py2

To deactivate an active environment, use

$ conda deactivate

mj@LAPTOP-HLD4DNNL C:\Users\mj
$
(jsp-py3) mj@LAPTOP-HLD4DNNL C:\Users\mj
$ python -m pip install --upgrade pip
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Requirement already satisfied: pip in c:\programdata\miniconda3\envs\jsp-py3\lib\site-packages (23.0.1)

Collecting pip
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/08/e3/57d4c24a050aa0bcca46b2920bff40847db79535dc78141eb83581a52eb8/pip-23.1.2-py3-none-any.whl (2.1 MB)
---------------------------------------- 2.1/2.1 MB 9.4 MB/s eta 0:00:00
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 23.0.1
Uninstalling pip-23.0.1:
Successfully uninstalled pip-23.0.1
Successfully installed pip-23.1.2

(jsp-py3) mj@LAPTOP-HLD4DNNL C:\Users\mj
$ pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
Writing to C:\Users\mj\AppData\Roaming\pip\pip.ini

(jsp-py3) mj@LAPTOP-HLD4DNNL C:\Users\mj
$ pip install jupyter
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting jupyter
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/83/df/0f5dd132200728a86190397e1ea87cd76244e42d39ec5e88efd25b2abd7e/jupyter-1.0.0-py2.py3-none-any.whl (2.7 kB)
Collecting notebook (from jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/7a/21/0e7683e7c4d51b8f6cc5df9bbd33fb2d1e114b9e5dcddeef96ebd8e86348/notebook-6.5.4-py3-none-any.whl (529 kB)
---------------------------------------- 529.8/529.8 kB 4.2 MB/s eta 0:00:00
Collecting qtconsole (from jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/18/3b/7bdbb99256d1406ae6c8904355222c6dc010640e6be158830f48b7097b32/qtconsole-5.4.3-py3-none-any.whl (121 kB)
---------------------------------------- 121.9/121.9 kB ? eta 0:00:00
Collecting jupyter-console (from jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/ca/77/71d78d58f15c22db16328a476426f7ac4a60d3a5a7ba3b9627ee2f7903d4/jupyter_console-6.6.3-py3-none-any.whl (24 kB)
Collecting nbconvert (from jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/2f/90/79bf16b584f5150550b0c175ca7a6e88334226e9275cf16db13785105d73/nbconvert-7.4.0-py3-none-any.whl (285 kB)
---------------------------------------- 285.9/285.9 kB 17.2 MB/s eta 0:00:00
Collecting ipykernel (from jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/5d/4b/ffb537e392e730c9a5b02758f9c87077d9087bcb0d957853e13f121e5ea7/ipykernel-6.23.1-py3-none-any.whl (152 kB)
---------------------------------------- 152.2/152.2 kB ? eta 0:00:00
Collecting ipywidgets (from jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/50/7d/2c8b7bba2b1c2b5d1299f22fa7853f09b573c84e63b62870c13a6ec11990/ipywidgets-8.0.6-py3-none-any.whl (138 kB)
---------------------------------------- 138.3/138.3 kB ? eta 0:00:00
Collecting comm>=0.1.1 (from ipykernel->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/74/f3/b88d7e1dadf741550c56b70d7ce62673354fddb68e143d193ceb80224208/comm-0.1.3-py3-none-any.whl (6.6 kB)
Collecting debugpy>=1.6.5 (from ipykernel->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/bb/27/6f8ba374ec748a70fedf61e87b9d08387a299f22458c4847c82b12bdd357/debugpy-1.6.7-cp310-cp310-win_amd64.whl (4.8 MB)
---------------------------------------- 4.8/4.8 MB 34.2 MB/s eta 0:00:00
Collecting ipython>=7.23.1 (from ipykernel->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/d5/16/2161195dd2f617933f8ada5bc567eb47ddbb7c99dc16ffa3e729dd25a1a0/ipython-8.13.2-py3-none-any.whl (797 kB)
---------------------------------------- 797.7/797.7 kB 49.2 MB/s eta 0:00:00
Collecting jupyter-client>=6.1.12 (from ipykernel->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/07/37/4019d2c41ca333c08dfdfeb84c0fc0368c8defbbd3c8f0c9a530851e5813/jupyter_client-8.2.0-py3-none-any.whl (103 kB)
---------------------------------------- 103.2/103.2 kB ? eta 0:00:00
Collecting jupyter-core!=5.0.,>=4.12 (from ipykernel->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/41/1e/92a67f333b9335f04ce409799c030dcfb291712658b9d9d13997f7c91e5a/jupyter_core-5.3.0-py3-none-any.whl (93 kB)
---------------------------------------- 93.2/93.2 kB ? eta 0:00:00
Collecting matplotlib-inline>=0.1 (from ipykernel->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/f2/51/c34d7a1d528efaae3d8ddb18ef45a41f284eacf9e514523b191b7d0872cc/matplotlib_inline-0.1.6-py3-none-any.whl (9.4 kB)
Collecting nest-asyncio (from ipykernel->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/e9/1a/6dd9ec31cfdb34cef8fea0055b593ee779a6f63c8e8038ad90d71b7f53c0/nest_asyncio-1.5.6-py3-none-any.whl (5.2 kB)
Collecting packaging (from ipykernel->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/ab/c3/57f0601a2d4fe15de7a553c00adbc901425661bf048f2a22dfc500caf121/packaging-23.1-py3-none-any.whl (48 kB)
---------------------------------------- 48.9/48.9 kB ? eta 0:00:00
Collecting psutil (from ipykernel->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/86/f3/23e4e4e7ec7855d506ed928756b04735c246b14d9f778ed7ffaae18d8043/psutil-5.9.5-cp36-abi3-win_amd64.whl (255 kB)
---------------------------------------- 255.1/255.1 kB 15.3 MB/s eta 0:00:00
Collecting pyzmq>=20 (from ipykernel->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/32/e4/ce4f94009f84c2a688082c2674d490d2e20e0c9058087f5358a2bf29ddf1/pyzmq-25.1.0-cp310-cp310-win_amd64.whl (1.1 MB)
---------------------------------------- 1.1/1.1 MB 70.5 MB/s eta 0:00:00
Collecting tornado>=6.1 (from ipykernel->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/de/fa/b8b2ee2f528eedd03d98d49c76822f065f18e99f6f58c1e18fe5ed893098/tornado-6.3.2-cp38-abi3-win_amd64.whl (428 kB)
---------------------------------------- 428.4/428.4 kB 26.1 MB/s eta 0:00:00
Collecting traitlets>=5.4.0 (from ipykernel->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/77/75/c28e9ef7abec2b7e9ff35aea3e0be6c1aceaf7873c26c95ae1f0d594de71/traitlets-5.9.0-py3-none-any.whl (117 kB)
---------------------------------------- 117.4/117.4 kB ? eta 0:00:00
Collecting widgetsnbextension~=4.0.7 (from ipywidgets->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/2e/f0/6e3a0d9c1ef015322cad1dd2191c338349b41151e4dc5e7ae984700c9dd2/widgetsnbextension-4.0.7-py3-none-any.whl (2.1 MB)
---------------------------------------- 2.1/2.1 MB 67.8 MB/s eta 0:00:00
Collecting jupyterlab-widgets~=3.0.7 (from ipywidgets->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/46/98/e7ce879b7b5d4871b80e291be967d22e5e66fa43474c476a95fe6231f50d/jupyterlab_widgets-3.0.7-py3-none-any.whl (198 kB)
---------------------------------------- 198.2/198.2 kB 12.5 MB/s eta 0:00:00
Collecting prompt-toolkit>=3.0.30 (from jupyter-console->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/87/3f/1f5a0ff475ae6481f4b0d45d4d911824d3218b94ee2a97a8cb84e5569836/prompt_toolkit-3.0.38-py3-none-any.whl (385 kB)
---------------------------------------- 385.8/385.8 kB 23.5 MB/s eta 0:00:00
Collecting pygments (from jupyter-console->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/34/a7/37c8d68532ba71549db4212cb036dbd6161b40e463aba336770e80c72f84/Pygments-2.15.1-py3-none-any.whl (1.1 MB)
---------------------------------------- 1.1/1.1 MB 36.7 MB/s eta 0:00:00
Collecting beautifulsoup4 (from nbconvert->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/57/f4/a69c20ee4f660081a7dedb1ac57f29be9378e04edfcb90c526b923d4bebc/beautifulsoup4-4.12.2-py3-none-any.whl (142 kB)
---------------------------------------- 143.0/143.0 kB ? eta 0:00:00
Collecting bleach (from nbconvert->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/ac/e2/dfcab68c9b2e7800c8f06b85c76e5f978d05b195a958daa9b1dda54a1db6/bleach-6.0.0-py3-none-any.whl (162 kB)
---------------------------------------- 162.5/162.5 kB ? eta 0:00:00
Collecting defusedxml (from nbconvert->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/07/6c/aa3f2f849e01cb6a001cd8554a88d4c77c5c1a31c95bdf1cf9301e6d9ef4/defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
Collecting jinja2>=3.0 (from nbconvert->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/bc/c3/f068337a370801f372f2f8f6bad74a5c140f6fda3d9de154052708dd3c65/Jinja2-3.1.2-py3-none-any.whl (133 kB)
---------------------------------------- 133.1/133.1 kB ? eta 0:00:00
Collecting jupyterlab-pygments (from nbconvert->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/c0/7e/c3d1df3ae9b41686e664051daedbd70eea2e1d2bd9d9c33e7e1455bc9f96/jupyterlab_pygments-0.2.2-py2.py3-none-any.whl (21 kB)
Collecting markupsafe>=2.0 (from nbconvert->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/84/a8/c4aebb8a14a1d39d5135eb8233a0b95831cdc42c4088358449c3ed657044/MarkupSafe-2.1.3-cp310-cp310-win_amd64.whl (17 kB)
Collecting mistune<3,>=2.0.3 (from nbconvert->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/9f/e5/780d22d19543f339aad583304f58002975b586757aa590cbe7bea5cc6f13/mistune-2.0.5-py2.py3-none-any.whl (24 kB)
Collecting nbclient>=0.5.0 (from nbconvert->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/ac/5a/d670ca51e6c3d98574b9647599821590efcd811d71f58e9c89fc59a17685/nbclient-0.8.0-py3-none-any.whl (73 kB)
---------------------------------------- 73.1/73.1 kB ? eta 0:00:00
Collecting nbformat>=5.1 (from nbconvert->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/e1/ce/7f0f454b4e7f1cb31345f9f977bdce7486033a1c08b5945b17ea95c4afbc/nbformat-5.9.0-py3-none-any.whl (77 kB)
---------------------------------------- 77.6/77.6 kB ? eta 0:00:00
Collecting pandocfilters>=1.4.1 (from nbconvert->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/5e/a8/878258cffd53202a6cc1903c226cf09e58ae3df6b09f8ddfa98033286637/pandocfilters-1.5.0-py2.py3-none-any.whl (8.7 kB)
Collecting tinycss2 (from nbconvert->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/da/99/fd23634d6962c2791fb8cb6ccae1f05dcbfc39bce36bba8b1c9a8d92eae8/tinycss2-1.2.1-py3-none-any.whl (21 kB)
Collecting argon2-cffi (from notebook->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/a8/07/946d5a9431bae05a776a59746ec385fbb79b526738d25e4202d3e0bbf7f4/argon2_cffi-21.3.0-py3-none-any.whl (14 kB)
Collecting ipython-genutils (from notebook->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/fa/bc/9bd3b5c2b4774d5f33b2d544f1460be9df7df2fe42f352135381c347c69a/ipython_genutils-0.2.0-py2.py3-none-any.whl (26 kB)
Collecting Send2Trash>=1.8.0 (from notebook->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/a9/78/e4df1e080ed790acf3a704edf521006dd96b9841bd2e2a462c0d255e0565/Send2Trash-1.8.2-py3-none-any.whl (18 kB)
Collecting terminado>=0.8.3 (from notebook->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/84/a7/c7628d79651b8c8c775d27b374315a825141b5783512e82026fb210dd639/terminado-0.17.1-py3-none-any.whl (17 kB)
Collecting prometheus-client (from notebook->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/5b/62/75fc6f255e214ff0a8bd3267a0bd337521dd24f76cd593c10795e488f41b/prometheus_client-0.17.0-py3-none-any.whl (60 kB)
---------------------------------------- 60.6/60.6 kB 3.4 MB/s eta 0:00:00
Collecting nbclassic>=0.4.7 (from notebook->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/84/ae/eaa71c0ed64e8ddc426a4c902e83d31c4925e9d3418d6b240dd5752b6e71/nbclassic-1.0.0-py3-none-any.whl (10.0 MB)
---------------------------------------- 10.0/10.0 MB 64.0 MB/s eta 0:00:00
Collecting qtpy>=2.0.1 (from qtconsole->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/51/9f/495736f9bbebc56b9f2ba3d95df1045fd367378254f799e86463b0037ab0/QtPy-2.3.1-py3-none-any.whl (84 kB)
---------------------------------------- 84.9/84.9 kB ? eta 0:00:00
Collecting backcall (from ipython>=7.23.1->ipykernel->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/4c/1c/ff6546b6c12603d8dd1070aa3c3d273ad4c07f5771689a7b69a550e8c951/backcall-0.2.0-py2.py3-none-any.whl (11 kB)
Collecting decorator (from ipython>=7.23.1->ipykernel->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/d5/50/83c593b07763e1161326b3b8c6686f0f4b0f24d5526546bee538c89837d6/decorator-5.1.1-py3-none-any.whl (9.1 kB)
Collecting jedi>=0.16 (from ipython>=7.23.1->ipykernel->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/6d/60/4acda63286ef6023515eb914543ba36496b8929cb7af49ecce63afde09c6/jedi-0.18.2-py2.py3-none-any.whl (1.6 MB)
---------------------------------------- 1.6/1.6 MB 33.1 MB/s eta 0:00:00
Collecting pickleshare (from ipython>=7.23.1->ipykernel->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/9a/41/220f49aaea88bc6fa6cba8d05ecf24676326156c23b991e80b3f2fc24c77/pickleshare-0.7.5-py2.py3-none-any.whl (6.9 kB)
Collecting stack-data (from ipython>=7.23.1->ipykernel->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/6a/81/aa96c25c27f78cdc444fec27d80f4c05194c591465e491a1358d8a035bc1/stack_data-0.6.2-py3-none-any.whl (24 kB)
Collecting colorama (from ipython>=7.23.1->ipykernel->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Collecting python-dateutil>=2.8.2 (from jupyter-client>=6.1.12->ipykernel->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/36/7a/87837f39d0296e723bb9b62bbb257d0355c7f6128853c78955f57342a56d/python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
---------------------------------------- 247.7/247.7 kB ? eta 0:00:00
Collecting platformdirs>=2.5 (from jupyter-core!=5.0.
,>=4.12->ipykernel->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/89/7e/c6ff9ddcf93b9b36c90d88111c4db354afab7f9a58c7ac3257fa717f1268/platformdirs-3.5.1-py3-none-any.whl (15 kB)
Collecting pywin32>=300 (from jupyter-core!=5.0.*,>=4.12->ipykernel->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/d3/d6/891894edec688e72c2e308b3243fad98b4066e1839fd2fe78f04129a9d31/pywin32-306-cp310-cp310-win_amd64.whl (9.2 MB)
---------------------------------------- 9.2/9.2 MB 65.8 MB/s eta 0:00:00
Collecting jupyter-server>=1.8 (from nbclassic>=0.4.7->notebook->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/6f/04/b2e87b4ee96a2219df7666706b28c9ebffd9895fc98fe4b5c56b8b6931ce/jupyter_server-2.6.0-py3-none-any.whl (375 kB)
---------------------------------------- 375.0/375.0 kB 3.3 MB/s eta 0:00:00
Collecting notebook-shim>=0.2.3 (from nbclassic>=0.4.7->notebook->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/f4/79/73250372e5bbab63018b41b02d5cc6b395655ec6c1254e477ef7c913aada/notebook_shim-0.2.3-py3-none-any.whl (13 kB)
Collecting fastjsonschema (from nbformat>=5.1->nbconvert->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/d4/a1/b3816c7945742ee95e2fb68dd59aaa205c9ce53ffd90704f70c2207a7b4d/fastjsonschema-2.17.1-py3-none-any.whl (23 kB)
Collecting jsonschema>=2.6 (from nbformat>=5.1->nbconvert->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/c1/97/c698bd9350f307daad79dd740806e1a59becd693bd11443a0f531e3229b3/jsonschema-4.17.3-py3-none-any.whl (90 kB)
---------------------------------------- 90.4/90.4 kB 5.0 MB/s eta 0:00:00
Collecting wcwidth (from prompt-toolkit>=3.0.30->jupyter-console->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/20/f4/c0584a25144ce20bfcf1aecd041768b8c762c1eb0aa77502a3f0baa83f11/wcwidth-0.2.6-py2.py3-none-any.whl (29 kB)
Collecting pywinpty>=1.1.0 (from terminado>=0.8.3->notebook->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/a4/2e/7aabef8a774819d4851112388b6646bd65782adfcec6fbbf2e309ddb07fb/pywinpty-2.0.10-cp310-none-win_amd64.whl (1.4 MB)
---------------------------------------- 1.4/1.4 MB 18.0 MB/s eta 0:00:00
Collecting argon2-cffi-bindings (from argon2-cffi->notebook->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/37/2c/e34e47c7dee97ba6f01a6203e0383e15b60fb85d78ac9a15cd066f6fe28b/argon2_cffi_bindings-21.2.0-cp36-abi3-win_amd64.whl (30 kB)
Collecting soupsieve>1.2 (from beautifulsoup4->nbconvert->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/49/37/673d6490efc51ec46d198c75903d99de59baffdd47aea3d071b80a9e4e89/soupsieve-2.4.1-py3-none-any.whl (36 kB)
Collecting six>=1.9.0 (from bleach->nbconvert->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting webencodings (from bleach->nbconvert->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/f4/24/2a3e3df732393fed8b3ebf2ec078f05546de641fe1b667ee316ec1dcf3b7/webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
Collecting parso<0.9.0,>=0.8.0 (from jedi>=0.16->ipython>=7.23.1->ipykernel->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/05/63/8011bd08a4111858f79d2b09aad86638490d62fbf881c44e434a6dfca87b/parso-0.8.3-py2.py3-none-any.whl (100 kB)
---------------------------------------- 100.8/100.8 kB ? eta 0:00:00
Collecting attrs>=17.4.0 (from jsonschema>=2.6->nbformat>=5.1->nbconvert->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/f0/eb/fcb708c7bf5056045e9e98f62b93bd7467eb718b0202e7698eb11d66416c/attrs-23.1.0-py3-none-any.whl (61 kB)
---------------------------------------- 61.2/61.2 kB 3.4 MB/s eta 0:00:00
Collecting pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 (from jsonschema>=2.6->nbformat>=5.1->nbconvert->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/87/72/e5b2347f136d14f09c8260a2e3a528be94e536d97e6635cc9f22cff2d88c/pyrsistent-0.19.3-cp310-cp310-win_amd64.whl (62 kB)
---------------------------------------- 62.7/62.7 kB 3.5 MB/s eta 0:00:00
Collecting anyio>=3.1.0 (from jupyter-server>=1.8->nbclassic>=0.4.7->notebook->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/68/fe/7ce1926952c8a403b35029e194555558514b365ad77d75125f521a2bec62/anyio-3.7.0-py3-none-any.whl (80 kB)
---------------------------------------- 80.9/80.9 kB 4.4 MB/s eta 0:00:00
Collecting jupyter-events>=0.6.0 (from jupyter-server>=1.8->nbclassic>=0.4.7->notebook->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/ee/14/e11a93c1b47a69432ee7898f1b55f1da27f2f93b009a34dbdafb9b903f81/jupyter_events-0.6.3-py3-none-any.whl (18 kB)
Collecting jupyter-server-terminals (from jupyter-server>=1.8->nbclassic>=0.4.7->notebook->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/ea/7f/36db12bdb90f5237766dcbf59892198daab7260acbcf03fc75e2a2a82672/jupyter_server_terminals-0.4.4-py3-none-any.whl (13 kB)
Collecting overrides (from jupyter-server>=1.8->nbclassic>=0.4.7->notebook->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/7f/36/3fef66c2bf1f66f35538a6703aca0447114b1873913c403f0ea589721aae/overrides-7.3.1-py3-none-any.whl (17 kB)
Collecting websocket-client (from jupyter-server>=1.8->nbclassic>=0.4.7->notebook->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/86/5c/2ebfbb7d4dbb7f35a1f70c40d003f7844d78945ac7c69757067ebaea9c78/websocket_client-1.5.2-py3-none-any.whl (56 kB)
---------------------------------------- 56.6/56.6 kB 2.9 MB/s eta 0:00:00
Collecting cffi>=1.0.1 (from argon2-cffi-bindings->argon2-cffi->notebook->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/0e/e2/a23af3d81838c577571da4ff01b799b0c2bbde24bd924d97e228febae810/cffi-1.15.1-cp310-cp310-win_amd64.whl (179 kB)
---------------------------------------- 179.1/179.1 kB ? eta 0:00:00
Collecting executing>=1.2.0 (from stack-data->ipython>=7.23.1->ipykernel->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/28/3c/bc3819dd8b1a1588c9215a87271b6178cc5498acaa83885211f5d4d9e693/executing-1.2.0-py2.py3-none-any.whl (24 kB)
Collecting asttokens>=2.1.0 (from stack-data->ipython>=7.23.1->ipykernel->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/f3/e1/64679d9d0759db5b182222c81ff322c2fe2c31e156a59afd6e9208c960e5/asttokens-2.2.1-py2.py3-none-any.whl (26 kB)
Collecting pure-eval(from stack-data->ipython>=7.23.1->ipykernel->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/2b/27/77f9d5684e6bce929f5cfe18d6cfbe5133013c06cb2fbf5933670e60761d/pure_eval-0.2.2-py3-none-any.whl (11 kB)
Collecting idna>=2.8 (from anyio>=3.1.0->jupyter-server>=1.8->nbclassic>=0.4.7->notebook->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/fc/34/3030de6f1370931b9dbb4dad48f6ab1015ab1d32447850b9fc94e60097be/idna-3.4-py3-none-any.whl (61 kB)
---------------------------------------- 61.5/61.5 kB 3.2 MB/s eta 0:00:00
Collecting sniffio>=1.1 (from anyio>=3.1.0->jupyter-server>=1.8->nbclassic>=0.4.7->notebook->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/c3/a0/5dba8ed157b0136607c7f2151db695885606968d1fae123dc3391e0cfdbf/sniffio-1.3.0-py3-none-any.whl (10 kB)
Collecting exceptiongroup (from anyio>=3.1.0->jupyter-server>=1.8->nbclassic>=0.4.7->notebook->jupyter)

Downloading https://pypi.tuna.tsinghua.edu.cn/packages/61/97/17ed81b7a8d24d8f69b62c0db37abbd8c0042d4b3fc429c73dab986e7483/exceptiongroup-1.1.1-py3-none-any.whl (14 kB)
Collecting pycparser (from cffi>=1.0.1->argon2-cffi-bindings->argon2-cffi->notebook->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/62/d5/5f610ebe421e85889f2e55e33b7f9a6795bd982198517d912eb1c76e1a53/pycparser-2.21-py2.py3-none-any.whl (118 kB)
---------------------------------------- 118.7/118.7 kB ? eta 0:00:00
Collecting python-json-logger>=2.0.4 (from jupyter-events>=0.6.0->jupyter-server>=1.8->nbclassic>=0.4.7->notebook->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/35/a6/145655273568ee78a581e734cf35beb9e33a370b29c5d3c8fee3744de29f/python_json_logger-2.0.7-py3-none-any.whl (8.1 kB)
Collecting pyyaml>=5.3 (from jupyter-events>=0.6.0->jupyter-server>=1.8->nbclassic>=0.4.7->notebook->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/b7/09/2f6f4851bbca08642fef087bade095edc3c47f28d1e7bff6b20de5262a77/PyYAML-6.0-cp310-cp310-win_amd64.whl (151 kB)
---------------------------------------- 151.7/151.7 kB ? eta 0:00:00
Collecting rfc3339-validator (from jupyter-events>=0.6.0->jupyter-server>=1.8->nbclassic>=0.4.7->notebook->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/7b/44/4e421b96b67b2daff264473f7465db72fbdf36a07e05494f50300cc7b0c6/rfc3339_validator-0.1.4-py2.py3-none-any.whl (3.5 kB)
Collecting rfc3986-validator>=0.1.1 (from jupyter-events>=0.6.0->jupyter-server>=1.8->nbclassic>=0.4.7->notebook->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/9e/51/17023c0f8f1869d8806b979a2bffa3f861f26a3f1a66b094288323fba52f/rfc3986_validator-0.1.1-py2.py3-none-any.whl (4.2 kB)
Collecting fqdn (from jsonschema>=2.6->nbformat>=5.1->nbconvert->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/cf/58/8acf1b3e91c58313ce5cb67df61001fc9dcd21be4fadb76c1a2d540e09ed/fqdn-1.5.1-py3-none-any.whl (9.1 kB)
Collecting isoduration (from jsonschema>=2.6->nbformat>=5.1->nbconvert->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/7b/55/e5326141505c5d5e34c5e0935d2908a74e4561eca44108fbfb9c13d2911a/isoduration-20.11.0-py3-none-any.whl (11 kB)
Collecting jsonpointer>1.13 (from jsonschema>=2.6->nbformat>=5.1->nbconvert->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/a3/be/8dc9d31b50e38172c8020c40f497ce8debdb721545ddb9fcb7cca89ea9e6/jsonpointer-2.3-py2.py3-none-any.whl (7.8 kB)
Collecting uri-template (from jsonschema>=2.6->nbformat>=5.1->nbconvert->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/c0/db/d4f9c75b43541f7235daf4d13eb43f4491f9d5f5df45ce41daeed3a903f6/uri_template-1.2.0-py3-none-any.whl (10 kB)
Collecting webcolors>=1.11 (from jsonschema>=2.6->nbformat>=5.1->nbconvert->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/d5/e1/3e9013159b4cbb71df9bd7611cbf90dc2c621c8aeeb677fc41dad72f2261/webcolors-1.13-py3-none-any.whl (14 kB)
Collecting arrow>=0.15.0 (from isoduration->jsonschema>=2.6->nbformat>=5.1->nbconvert->jupyter)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/67/67/4bca5a595e2f89bff271724ddb1098e6c9e16f7f3d018d120255e3c30313/arrow-1.2.3-py3-none-any.whl (66 kB)
---------------------------------------- 66.4/66.4 kB 3.5 MB/s eta 0:00:00
Installing collected packages: webencodings, wcwidth, pywin32, pure-eval, pickleshare, mistune, ipython-genutils, fastjsonschema, executing, backcall, widgetsnbextension, websocket-client, webcolors, uri-template, traitlets, tornado, tinycss2, soupsieve, sniffio, six, Send2Trash, rfc3986-validator, pyzmq, pyyaml, pywinpty, python-json-logger, pyrsistent, pygments, pycparser, psutil, prompt-toolkit, prometheus-client, platformdirs, parso, pandocfilters, packaging, overrides, nest-asyncio, markupsafe, jupyterlab-widgets, jupyterlab-pygments, jsonpointer, idna, fqdn, exceptiongroup, defusedxml, decorator, debugpy, colorama, attrs, terminado, rfc3339-validator, qtpy, python-dateutil, matplotlib-inline, jupyter-core, jsonschema, jinja2, jedi, comm, cffi, bleach, beautifulsoup4, asttokens, anyio, stack-data, nbformat, jupyter-server-terminals, jupyter-client, arrow, argon2-cffi-bindings, nbclient, isoduration, ipython, argon2-cffi, nbconvert, ipykernel, qtconsole, jupyter-events, jupyter-console, ipywidgets, jupyter-server, notebook-shim, nbclassic, notebook, jupyter
Successfully installed Send2Trash-1.8.2 anyio-3.7.0 argon2-cffi-21.3.0 argon2-cffi-bindings-21.2.0 arrow-1.2.3 asttokens-2.2.1 attrs-23.1.0 backcall-0.2.0 beautifulsoup4-4.12.2 bleach-6.0.0 cffi-1.15.1 colorama-0.4.6 comm-0.1.3 debugpy-1.6.7 decorator-5.1.1 defusedxml-0.7.1 exceptiongroup-1.1.1 executing-1.2.0 fastjsonschema-2.17.1 fqdn-1.5.1 idna-3.4 ipykernel-6.23.1 ipython-8.13.2 ipython-genutils-0.2.0 ipywidgets-8.0.6 isoduration-20.11.0 jedi-0.18.2 jinja2-3.1.2 jsonpointer-2.3 jsonschema-4.17.3 jupyter-1.0.0 jupyter-client-8.2.0 jupyter-console-6.6.3 jupyter-core-5.3.0 jupyter-events-0.6.3 jupyter-server-2.6.0 jupyter-server-terminals-0.4.4 jupyterlab-pygments-0.2.2 jupyterlab-widgets-3.0.7 markupsafe-2.1.3 matplotlib-inline-0.1.6 mistune-2.0.5 nbclassic-1.0.0 nbclient-0.8.0 nbconvert-7.4.0 nbformat-5.9.0 nest-asyncio-1.5.6 notebook-6.5.4 notebook-shim-0.2.3 overrides-7.3.1 packaging-23.1 pandocfilters-1.5.0 parso-0.8.3 pickleshare-0.7.5 platformdirs-3.5.1 prometheus-client-0.17.0 prompt-toolkit-3.0.38 psutil-5.9.5 pure-eval-0.2.2 pycparser-2.21 pygments-2.15.1 pyrsistent-0.19.3 python-dateutil-2.8.2 python-json-logger-2.0.7 pywin32-306 pywinpty-2.0.10 pyyaml-6.0 pyzmq-25.1.0 qtconsole-5.4.3 qtpy-2.3.1 rfc3339-validator-0.1.4 rfc3986-validator-0.1.1 six-1.16.0 sniffio-1.3.0 soupsieve-2.4.1 stack-data-0.6.2 terminado-0.17.1 tinycss2-1.2.1 tornado-6.3.2 traitlets-5.9.0 uri-template-1.2.0 wcwidth-0.2.6 webcolors-1.13 webencodings-0.5.1 websocket-client-1.5.2 widgetsnbextension-4.0.7

(jsp-py3) mj@LAPTOP-HLD4DNNL C:\Users\mj
$
(jsp-py3) mj@LAPTOP-HLD4DNNL C:\Users\mj
$ cl

conda environments:

base C:\ProgramData\miniconda3
jsp-py2 C:\ProgramData\miniconda3\envs\jsp-py2
jsp-py3 * C:\ProgramData\miniconda3\envs\jsp-py3
py3-10 C:\ProgramData\miniconda3\envs\py3-10
py3-dj C:\ProgramData\miniconda3\envs\py3-dj
py35 C:\ProgramData\miniconda3\envs\py35

(jsp-py3) mj@LAPTOP-HLD4DNNL C:\Users\mj
$
vscode:
调整语言
安装插件
操作
配置python插件
C:\ProgramData\miniconda3\Scripts

切换环境

安装jupyter 以及 更新pip源

(jsp-py3) mj@LAPTOP-HLD4DNNL C:\Users\mj
$ python -m pip install --upgrade pip
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Requirement already satisfied: pip in c:\programdata\miniconda3\envs\jsp-py3\lib\site-packages (23.0.1)

Collecting pip
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/08/e3/57d4c24a050aa0bcca46b2920bff40847db79535dc78141eb83581a52eb8/pip-23.1.2-py3-none-any.whl (2.1 MB)
---------------------------------------- 2.1/2.1 MB 9.4 MB/s eta 0:00:00
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 23.0.1
Uninstalling pip-23.0.1:
Successfully uninstalled pip-23.0.1
Successfully installed pip-23.1.2

(jsp-py3) mj@LAPTOP-HLD4DNNL C:\Users\mj
$ pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
Writing to C:\Users\mj\AppData\Roaming\pip\pip.ini

(jsp-py3) mj@LAPTOP-HLD4DNNL C:\Users\mj
$ pip install jupyter自定义工作目录

The directory to use for notebooks and kernels.

Default: ‘’

c.NotebookApp.notebook_dir = u’D:\study\jupyter’

(jsp-py3) mj@LAPTOP-HLD4DNNL D:\study

$ jupyter notebook --generate-config

Writing default config to: C:\Users\mj.jupyter\jupyter_notebook_config.py

(jsp-py3) mj@LAPTOP-HLD4DNNL D:\study

$ code C:\Users\mj.jupyter\jupyter_notebook_config.py多了一个空格
解决:
3.
##学习python基础 6月10日-6月24日
##学习python进阶 让工作开始自动化 6月26日-7月17日
##学习网络服务 用python学习数据库,缓存与消息队列 7月19日-8月23日
##前段基础 html5+css3+js 8月25日-9月22日

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值