从零开始配置kali2023环境:配置jupyter的多内核环境

在kali2023上面尝试用anaconda3,anaconda2安装实现配置jupyter的多内核环境时出现各种问题,现在可以通过镜像方式解决

1. 搜索镜像

┌──(holyeyes㉿kali2023)-[~]
└─$ sudo docker search anaconda
 

┌──(holyeyes㉿kali2023)-[~]
└─$ sudo docker search anaconda
[sudo] password for holyeyes: 
NAME                                   DESCRIPTION                                     STARS     OFFICIAL   AUTOMATED
continuumio/anaconda3                  Powerful and flexible python distribution       755                  [OK]
continuumio/anaconda                   Powerful and flexible python distribution       218                  [OK]
okwrtdsh/anaconda3                     Anaconda3, Jupyter Notebook, OpenCV3, Tensor…   41                   [OK]
drunkar/anaconda-tensorflow-gpu        anaconda-tensorflow-gpu                         12                   [OK]
fzinfz/anaconda3                       multi-kernel jupyter(py 3.7+/2.7.15 & bash) …   4                    
continuumio/anaconda2                                                                  4                    
continuumio/anaconda-pkg-build                                                         2                    
xychelsea/anaconda3                    Anaconda 3 base containers, including with N…   2                    
kunitaya/anaconda3                     Anaconda3 on CentOS                             1                    [OK]
geordgez/anaconda-sh                                                                   1                    
alleninstitute/anaconda3_neuron_1370                                                   1                    
mikewright/anaconda-tensorflow         An image that can be used to quickly start a…   1                    [OK]
quantrocket/anaconda3-uwsgi            Learn more at https://www.quantrocket.com       1                    [OK]
pnnlmiscscripts/anaconda9                                                              1                    
rndnet/anaconda-bfj                    RnDnet platform execution container. Use con…   0                    
ssusb/anaconda3                                                                        0                    
continuumio/anaconda-build-linux-32                                                    0                    
continuumio/anaconda-build-linux-64                                                    0                    
shotat/anaconda3-xgboost-docker        anaconda3 & xgboost                             0                    [OK]
purposefly/anaconda                    Python 3.6 + Anaconda 3                         0                    [OK]
ociscloud/anaconda3-mlflow                                                             0                    
pickledfish/anaconda_dreams                                                            0                    
weekswp/anaconda                                                                       0                    
kobanerjee/anaconda                                                                    0                    
pnnlmiscscripts/anaconda                                                               0                    

2.下载镜像

┌──(holyeyes㉿kali2023)-[~]
└─$ sudo docker pull  fzinfz/anaconda3   
 

                                                                            
┌──(holyeyes㉿kali2023)-[~]
└─$ sudo docker pull  fzinfz/anaconda3   
Using default tag: latest
latest: Pulling from fzinfz/anaconda3
bf5952930446: Pull complete 
5d22f4e6c390: Pull complete 
771ee7f66379: Pull complete 
8cac2a3ce9c0: Pull complete 
89d53def9acf: Pull complete 
ac20eb768e5c: Pull complete 
Digest: sha256:1ec5cc3968a2e5c9ff02e68eeaf2b6ec6131da51beeea87229c35587ea6024fb
Status: Downloaded newer image for fzinfz/anaconda3:latest
docker.io/fzinfz/anaconda3:latest

3.查看下载成功的镜像

┌──(holyeyes㉿kali2023)-[~]
└─$ sudo docker image ls
 

┌──(holyeyes㉿kali2023)-[~]
└─$ sudo docker image ls
REPOSITORY           TAG       IMAGE ID       CREATED        SIZE
skysider/pwndocker   latest    26c0315bd8d9   2 months ago   5GB
fzinfz/anaconda3     latest    b04d5f54948b   3 years ago    4.08GB

4.启动镜像并查询相关情况

┌──(holyeyes㉿kali2023)-[~]
└─$ sudo docker run -i -t -p 12345:8888 fzinfz/anaconda3  /bin/bash
(base) root@97ff203f6ebe:/# pwd
 

┌──(holyeyes㉿kali2023)-[~]
└─$ sudo docker run -i -t -p 12345:8888 fzinfz/anaconda3  /bin/bash
(base) root@97ff203f6ebe:/# pwd
/
(base) root@97ff203f6ebe:/# ls
bin   dev  home  lib64  mnt  proc  run   srv  tmp  var
boot  etc  lib   media  opt  root  sbin  sys  usr
(base) root@97ff203f6ebe:/# conda list
# packages in environment at /opt/conda:
#
# Name                    Version                   Build  Channel
_ipyw_jlab_nb_ext_conf    0.1.0                    py38_0  
_libgcc_mutex             0.1                        main  
alabaster                 0.7.12                     py_0  
anaconda                  2020.07                  py38_0  
anaconda-client           1.7.2                    py38_0  
anaconda-navigator        1.9.12                   py38_0  
anaconda-project          0.8.4                      py_0  
argh                      0.26.2                   py38_0  
asn1crypto                1.3.0                    py38_0  
astroid                   2.4.2                    py38_0  
astropy                   4.0.1.post1      py38h7b6447c_1  
atomicwrites              1.4.0                      py_0  
attrs                     19.3.0                     py_0  
autopep8                  1.5.3                      py_0  
babel                     2.8.0                      py_0  
backcall                  0.2.0                      py_0  
backports                 1.0                        py_2  
backports.functools_lru_cache 1.6.1                      py_0  
backports.shutil_get_terminal_size 1.0.0                    py38_2  
backports.tempfile        1.0                        py_1  
backports.weakref         1.0.post1                  py_1  
bash-kernel               0.7.2                    pypi_0    pypi
bcrypt                    3.2.0                    pypi_0    pypi
beautifulsoup4            4.9.1                    py38_0  
bitarray                  1.4.0            py38h7b6447c_0  
bkcharts                  0.2                      py38_0  
blas                      1.0                         mkl  
bleach                    3.1.5                      py_0  
blosc                     1.19.0               hd408876_0  
bokeh                     2.1.1                    py38_0  
boto                      2.49.0                   py38_0  
bottleneck                1.3.2            py38heb32a55_1  
brotlipy                  0.7.0           py38h7b6447c_1000  
bzip2                     1.0.8                h7b6447c_0  
ca-certificates           2020.6.24                     0  
cairo                     1.14.12              h8948797_3  
certifi                   2020.6.20                py38_0  
cffi                      1.14.0           py38he30daa8_1  
chardet                   3.0.4                 py38_1003  
click                     7.1.2                      py_0  
cloudpickle               1.5.0                      py_0  
clyent                    1.2.2                    py38_1  
colorama                  0.4.3                      py_0  
conda                     4.8.3                    py38_0  
conda-build               3.18.11                  py38_0  
conda-env                 2.6.0                         1  
conda-package-handling    1.6.1            py38h7b6447c_0  
conda-verify              3.4.2                      py_1  
contextlib2               0.6.0.post1                py_0  
cryptography              2.9.2            py38h1ba5d50_0  
curl                      7.71.1               hbc83047_1  
cycler                    0.10.0                   py38_0  
cython                    0.29.21          py38he6710b0_0  
cytoolz                   0.10.1           py38h7b6447c_0  
dask                      2.20.0                     py_0  
dask-core                 2.20.0                     py_0  
dbus                      1.13.16              hb2f20db_0  
decorator                 4.4.2                      py_0  
defusedxml                0.6.0                      py_0  
diff-match-patch          20200713                   py_0  
distributed               2.20.0                   py38_0  
docutils                  0.16                     py38_1  
entrypoints               0.3                      py38_0  
et_xmlfile                1.0.1                   py_1001  
expat                     2.2.9                he6710b0_2  
fabric2                   2.5.0                    pypi_0    pypi
fastcache                 1.1.0            py38h7b6447c_0  
filelock                  3.0.12                     py_0  
flake8                    3.8.3                      py_0  
flask                     1.1.2                      py_0  
fontconfig                2.13.0               h9420a91_0  
freetype                  2.10.2               h5ab3b9f_0  
fribidi                   1.0.9                h7b6447c_0  
fsspec                    0.7.4                      py_0  
future                    0.18.2                   py38_1  
get_terminal_size         1.0.0                haa9412d_0  
gevent                    20.6.2           py38h7b6447c_0  
glib                      2.65.0               h3eb4bd4_0  
glob2                     0.7                        py_0  
gmp                       6.1.2                h6c8ec71_1  
gmpy2                     2.0.8            py38hd5f6e3b_3  
graphite2                 1.3.14               h23475e2_0  
greenlet                  0.4.16           py38h7b6447c_0  
gst-plugins-base          1.14.0               hbbd80ab_1  
gstreamer                 1.14.0               hb31296c_0  
h5py                      2.10.0           py38h7918eee_0  
harfbuzz                  2.4.0                hca77d97_1  
hdf5                      1.10.4               hb1b8bf9_0  
heapdict                  1.0.1                      py_0  
html5lib                  1.1                        py_0  
icu                       58.2                 he6710b0_3  
idna                      2.10                       py_0  
imageio                   2.9.0                      py_0  
imagesize                 1.2.0                      py_0  
importlib-metadata        1.7.0                    py38_0  
importlib_metadata        1.7.0                         0  
intel-openmp              2020.1                      217  
intervaltree              3.0.2                      py_1  
invoke                    1.4.1                    pypi_0    pypi
ipykernel                 5.3.2            py38h5ca1d4c_0  
ipython                   7.16.1           py38h5ca1d4c_0  
ipython_genutils          0.2.0                    py38_0  
ipywidgets                7.5.1                      py_0  
isort                     4.3.21                   py38_0  
itsdangerous              1.1.0                      py_0  
jbig                      2.1                  hdba287a_0  
jdcal                     1.4.1                      py_0  
jedi                      0.17.1                   py38_0  
jeepney                   0.4.3                      py_0  
jinja2                    2.11.2                     py_0  
joblib                    0.16.0                     py_0  
jpeg                      9b                   h024ee3a_2  
json5                     0.9.5                      py_0  
jsonschema                3.2.0                    py38_0  
jupyter                   1.0.0                    py38_7  
jupyter_client            6.1.6                      py_0  
jupyter_console           6.1.0                      py_0  
jupyter_core              4.6.3                    py38_0  
jupyterlab                2.1.5                      py_0  
jupyterlab_server         1.2.0                      py_0  
keyring                   21.2.1                   py38_0  
kiwisolver                1.2.0            py38hfd86e86_0  
krb5                      1.18.2               h173b8e3_0  
lazy-object-proxy         1.4.3            py38h7b6447c_0  
lcms2                     2.11                 h396b838_0  
ld_impl_linux-64          2.33.1               h53a641e_7  
libarchive                3.4.2                h62408e4_0  
libcurl                   7.71.1               h20c2e04_1  
libedit                   3.1.20191231         h14c3975_1  
libffi                    3.3                  he6710b0_2  
libgcc-ng                 9.1.0                hdf63c60_0  
libgfortran-ng            7.3.0                hdf63c60_0  
liblief                   0.10.1               he6710b0_0  
libllvm9                  9.0.1                h4a3c616_1  
libpng                    1.6.37               hbc83047_0  
libsodium                 1.0.18               h7b6447c_0  
libspatialindex           1.9.3                he6710b0_0  
libssh2                   1.9.0                h1ba5d50_1  
libstdcxx-ng              9.1.0                hdf63c60_0  
libtiff                   4.1.0                h2733197_1  
libtool                   2.4.6                h7b6447c_5  
libuuid                   1.0.3                h1bed415_2  
libxcb                    1.14                 h7b6447c_0  
libxml2                   2.9.10               he19cac6_1  
libxslt                   1.1.34               hc22bd24_0  
llvmlite                  0.33.0           py38hc6ec683_1  
locket                    0.2.0                    py38_1  
lxml                      4.5.2            py38hefd8a0e_0  
lz4-c                     1.9.2                he6710b0_0  
lzo                       2.10                 h7b6447c_2  
markupsafe                1.1.1            py38h7b6447c_0  
matplotlib                3.2.2                         0  
matplotlib-base           3.2.2            py38hef1b27d_0  
mccabe                    0.6.1                    py38_1  
metakernel                0.27.5                   pypi_0    pypi
metakernel-bash           0.11.3                   pypi_0    pypi
mistune                   0.8.4           py38h7b6447c_1000  
mkl                       2020.1                      217  
mkl-service               2.3.0            py38he904b0f_0  
mkl_fft                   1.1.0            py38h23d657b_0  
mkl_random                1.1.1            py38h0573a6f_0  
mock                      4.0.2                      py_0  
more-itertools            8.4.0                      py_0  
mpc                       1.1.0                h10f8cd9_1  
mpfr                      4.0.2                hb69a4c5_1  
mpmath                    1.1.0                    py38_0  
msgpack-python            1.0.0            py38hfd86e86_1  
multipledispatch          0.6.0                    py38_0  
navigator-updater         0.2.1                    py38_0  
nbconvert                 5.6.1                    py38_0  
nbformat                  5.0.7                      py_0  
ncurses                   6.2                  he6710b0_1  
networkx                  2.4                        py_1  
nltk                      3.5                        py_0  
nose                      1.3.7                    py38_2  
notebook                  6.0.3                    py38_0  
numba                     0.50.1           py38h0573a6f_1  
numexpr                   2.7.1            py38h423224d_0  
numpy                     1.18.5           py38ha1c710e_0  
numpy-base                1.18.5           py38hde5b4d6_0  
numpydoc                  1.1.0                      py_0  
olefile                   0.46                       py_0  
openpyxl                  3.0.4                      py_0  
openssl                   1.1.1g               h7b6447c_0  
packaging                 20.4                       py_0  
pandas                    1.0.5            py38h0573a6f_0  
pandoc                    2.10                          0  
pandocfilters             1.4.2                    py38_1  
pango                     1.45.3               hd140c19_0  
paramiko                  2.7.2                    pypi_0    pypi
parso                     0.7.0                      py_0  
partd                     1.1.0                      py_0  
patchelf                  0.11                 he6710b0_0  
path                      13.1.0                   py38_0  
path.py                   12.4.0                        0  
pathlib2                  2.3.5                    py38_0  
pathtools                 0.1.2                      py_1  
patsy                     0.5.1                    py38_0  
pcre                      8.44                 he6710b0_0  
pep8                      1.7.1                    py38_0  
pexpect                   4.8.0                    py38_0  
pickleshare               0.7.5                 py38_1000  
pillow                    7.2.0            py38hb39fc2d_0  
pip                       20.1.1                   py38_1  
pixman                    0.40.0               h7b6447c_0  
pkginfo                   1.5.0.1                  py38_0  
pluggy                    0.13.1                   py38_0  
ply                       3.11                     py38_0  
prometheus_client         0.8.0                      py_0  
prompt-toolkit            3.0.5                      py_0  
prompt_toolkit            3.0.5                         0  
psutil                    5.7.0            py38h7b6447c_0  
ptyprocess                0.6.0                    py38_0  
py                        1.9.0                      py_0  
py-lief                   0.10.1           py38h403a769_0  
pycodestyle               2.6.0                      py_0  
pycosat                   0.6.3            py38h7b6447c_1  
pycparser                 2.20                       py_2  
pycurl                    7.43.0.5         py38h1ba5d50_0  
pydocstyle                5.0.2                      py_0  
pyflakes                  2.2.0                      py_0  
pygments                  2.6.1                      py_0  
pylint                    2.5.3                    py38_0  
pynacl                    1.4.0                    pypi_0    pypi
pyodbc                    4.0.30           py38he6710b0_0  
pyopenssl                 19.1.0                     py_1  
pyparsing                 2.4.7                      py_0  
pyqt                      5.9.2            py38h05f1152_4  
pyrsistent                0.16.0           py38h7b6447c_0  
pysocks                   1.7.1                    py38_0  
pytables                  3.6.1            py38h9fd0a39_0  
pytest                    5.4.3                    py38_0  
python                    3.8.3                hcff3b4d_2  
python-dateutil           2.8.1                      py_0  
python-jsonrpc-server     0.3.4                      py_1  
python-language-server    0.34.1                   py38_0  
python-libarchive-c       2.9                        py_0  
pytz                      2020.1                     py_0  
pywavelets                1.1.1            py38h7b6447c_0  
pyxdg                     0.26                       py_0  
pyyaml                    5.3.1            py38h7b6447c_1  
pyzmq                     19.0.1           py38he6710b0_1  
qdarkstyle                2.8.1                      py_0  
qt                        5.9.7                h5867ecd_1  
qtawesome                 0.7.2                      py_0  
qtconsole                 4.7.5                      py_0  
qtpy                      1.9.0                      py_0  
readline                  8.0                  h7b6447c_0  
regex                     2020.6.8         py38h7b6447c_0  
requests                  2.24.0                     py_0  
ripgrep                   11.0.2               he32d670_0  
rope                      0.17.0                     py_0  
rtree                     0.9.4                    py38_1  
ruamel_yaml               0.15.87          py38h7b6447c_1  
scikit-image              0.16.2           py38h0573a6f_0  
scikit-learn              0.23.1           py38h423224d_0  
scipy                     1.5.0            py38h0b6359f_0  
seaborn                   0.10.1                     py_0  
secretstorage             3.1.2                    py38_0  
send2trash                1.5.0                    py38_0  
setuptools                49.2.0                   py38_0  
simplegeneric             0.8.1                    py38_2  
singledispatch            3.4.0.3                  py38_0  
sip                       4.19.13          py38he6710b0_0  
six                       1.15.0                     py_0  
snappy                    1.1.8                he6710b0_0  
snowballstemmer           2.0.0                      py_0  
sortedcollections         1.2.1                      py_0  
sortedcontainers          2.2.2                      py_0  
soupsieve                 2.0.1                      py_0  
sphinx                    3.1.2                      py_0  
sphinxcontrib             1.0                      py38_1  
sphinxcontrib-applehelp   1.0.2                      py_0  
sphinxcontrib-devhelp     1.0.2                      py_0  
sphinxcontrib-htmlhelp    1.0.3                      py_0  
sphinxcontrib-jsmath      1.0.1                      py_0  
sphinxcontrib-qthelp      1.0.3                      py_0  
sphinxcontrib-serializinghtml 1.1.4                      py_0  
sphinxcontrib-websupport  1.2.3                      py_0  
spyder                    4.1.4                    py38_0  
spyder-kernels            1.9.2                    py38_0  
sqlalchemy                1.3.18           py38h7b6447c_0  
sqlite                    3.32.3               h62c20be_0  
statsmodels               0.11.1           py38h7b6447c_0  
sympy                     1.6.1                    py38_0  
tbb                       2020.0               hfd86e86_0  
tblib                     1.6.0                      py_0  
terminado                 0.8.3                    py38_0  
testpath                  0.4.4                      py_0  
threadpoolctl             2.1.0              pyh5ca1d4c_0  
tk                        8.6.10               hbc83047_0  
toml                      0.10.1                     py_0  
toolz                     0.10.0                     py_0  
tornado                   6.0.4            py38h7b6447c_1  
tqdm                      4.47.0                     py_0  
traitlets                 4.3.3                    py38_0  
typing_extensions         3.7.4.2                    py_0  
ujson                     1.35             py38h7b6447c_0  
unicodecsv                0.14.1                   py38_0  
unixodbc                  2.3.7                h14c3975_0  
urllib3                   1.25.9                     py_0  
watchdog                  0.10.3                   py38_0  
wcwidth                   0.2.5                      py_0  
webencodings              0.5.1                    py38_1  
werkzeug                  1.0.1                      py_0  
wheel                     0.34.2                   py38_0  
widgetsnbextension        3.5.1                    py38_0  
wrapt                     1.11.2           py38h7b6447c_0  
wurlitzer                 2.0.1                    py38_0  
xlrd                      1.2.0                      py_0  
xlsxwriter                1.2.9                      py_0  
xlwt                      1.3.0                    py38_0  
xmltodict                 0.12.0                     py_0  
xz                        5.2.5                h7b6447c_0  
yaml                      0.2.5                h7b6447c_0  
yapf                      0.30.0                     py_0  
zeromq                    4.3.2                he6710b0_2  
zict                      2.0.0                      py_0  
zipp                      3.1.0                      py_0  
zlib                      1.2.11               h7b6447c_3  
zope                      1.0                      py38_1  
zope.event                4.4                      py38_0  
zope.interface            4.7.1            py38h7b6447c_0  
zstd                      1.4.5                h0b5b093_0  
(base) root@97ff203f6ebe:/# pip list
Package                            Version
---------------------------------- -------------------
alabaster                          0.7.12
anaconda-client                    1.7.2
anaconda-navigator                 1.9.12
anaconda-project                   0.8.3
argh                               0.26.2
asn1crypto                         1.3.0
astroid                            2.4.2
astropy                            4.0.1.post1
atomicwrites                       1.4.0
attrs                              19.3.0
autopep8                           1.5.3
Babel                              2.8.0
backcall                           0.2.0
backports.functools-lru-cache      1.6.1
backports.shutil-get-terminal-size 1.0.0
backports.tempfile                 1.0
backports.weakref                  1.0.post1
bash-kernel                        0.7.2
bcrypt                             3.2.0
beautifulsoup4                     4.9.1
bitarray                           1.4.0
bkcharts                           0.2
bleach                             3.1.5
bokeh                              2.1.1
boto                               2.49.0
Bottleneck                         1.3.2
brotlipy                           0.7.0
certifi                            2020.6.20
cffi                               1.14.0
chardet                            3.0.4
click                              7.1.2
cloudpickle                        1.5.0
clyent                             1.2.2
colorama                           0.4.3
conda                              4.8.3
conda-build                        3.18.11
conda-package-handling             1.7.0
conda-verify                       3.4.2
contextlib2                        0.6.0.post1
cryptography                       2.9.2
cycler                             0.10.0
Cython                             0.29.21
cytoolz                            0.10.1
dask                               2.20.0
decorator                          4.4.2
defusedxml                         0.6.0
diff-match-patch                   20200713
distributed                        2.20.0
docutils                           0.16
entrypoints                        0.3
et-xmlfile                         1.0.1
fabric2                            2.5.0
fastcache                          1.1.0
filelock                           3.0.12
flake8                             3.8.3
Flask                              1.1.2
fsspec                             0.7.4
future                             0.18.2
gevent                             20.6.2
glob2                              0.7
gmpy2                              2.0.8
greenlet                           0.4.16
h5py                               2.10.0
HeapDict                           1.0.1
html5lib                           1.1
idna                               2.10
imageio                            2.9.0
imagesize                          1.2.0
importlib-metadata                 1.7.0
intervaltree                       3.0.2
invoke                             1.4.1
ipykernel                          5.3.2
ipython                            7.16.1
ipython-genutils                   0.2.0
ipywidgets                         7.5.1
isort                              4.3.21
itsdangerous                       1.1.0
jdcal                              1.4.1
jedi                               0.17.1
jeepney                            0.4.3
Jinja2                             2.11.2
joblib                             0.16.0
json5                              0.9.5
jsonschema                         3.2.0
jupyter                            1.0.0
jupyter-client                     6.1.6
jupyter-console                    6.1.0
jupyter-core                       4.6.3
jupyterlab                         2.1.5
jupyterlab-server                  1.2.0
keyring                            21.2.1
kiwisolver                         1.2.0
lazy-object-proxy                  1.4.3
libarchive-c                       2.9
llvmlite                           0.33.0+1.g022ab0f
locket                             0.2.0
lxml                               4.5.2
MarkupSafe                         1.1.1
matplotlib                         3.2.2
mccabe                             0.6.1
metakernel                         0.27.5
metakernel-bash                    0.11.3
mistune                            0.8.4
mkl-fft                            1.1.0
mkl-random                         1.1.1
mkl-service                        2.3.0
mock                               4.0.2
more-itertools                     8.4.0
mpmath                             1.1.0
msgpack                            1.0.0
multipledispatch                   0.6.0
navigator-updater                  0.2.1
nbconvert                          5.6.1
nbformat                           5.0.7
networkx                           2.4
nltk                               3.5
nose                               1.3.7
notebook                           6.0.3
numba                              0.50.1
numexpr                            2.7.1
numpy                              1.18.5
numpydoc                           1.1.0
olefile                            0.46
openpyxl                           3.0.4
packaging                          20.4
pandas                             1.0.5
pandocfilters                      1.4.2
paramiko                           2.7.2
parso                              0.7.0
partd                              1.1.0
path                               13.1.0
pathlib2                           2.3.5
pathtools                          0.1.2
patsy                              0.5.1
pep8                               1.7.1
pexpect                            4.8.0
pickleshare                        0.7.5
Pillow                             7.2.0
pip                                20.1.1
pkginfo                            1.5.0.1
pluggy                             0.13.1
ply                                3.11
prometheus-client                  0.8.0
prompt-toolkit                     3.0.5
psutil                             5.7.0
ptyprocess                         0.6.0
py                                 1.9.0
pycodestyle                        2.6.0
pycosat                            0.6.3
pycparser                          2.20
pycurl                             7.43.0.5
pydocstyle                         5.0.2
pyflakes                           2.2.0
Pygments                           2.6.1
pylint                             2.5.3
PyNaCl                             1.4.0
pyodbc                             4.0.0-unsupported
pyOpenSSL                          19.1.0
pyparsing                          2.4.7
pyrsistent                         0.16.0
PySocks                            1.7.1
pytest                             5.4.3
python-dateutil                    2.8.1
python-jsonrpc-server              0.3.4
python-language-server             0.34.1
pytz                               2020.1
PyWavelets                         1.1.1
pyxdg                              0.26
PyYAML                             5.3.1
pyzmq                              19.0.1
QDarkStyle                         2.8.1
QtAwesome                          0.7.2
qtconsole                          4.7.5
QtPy                               1.9.0
regex                              2020.6.8
requests                           2.24.0
rope                               0.17.0
Rtree                              0.9.4
ruamel-yaml                        0.15.87
scikit-image                       0.16.2
scikit-learn                       0.23.1
scipy                              1.5.0
seaborn                            0.10.1
SecretStorage                      3.1.2
Send2Trash                         1.5.0
setuptools                         49.2.0.post20200714
simplegeneric                      0.8.1
singledispatch                     3.4.0.3
sip                                4.19.13
six                                1.15.0
snowballstemmer                    2.0.0
sortedcollections                  1.2.1
sortedcontainers                   2.2.2
soupsieve                          2.0.1
Sphinx                             3.1.2
sphinxcontrib-applehelp            1.0.2
sphinxcontrib-devhelp              1.0.2
sphinxcontrib-htmlhelp             1.0.3
sphinxcontrib-jsmath               1.0.1
sphinxcontrib-qthelp               1.0.3
sphinxcontrib-serializinghtml      1.1.4
sphinxcontrib-websupport           1.2.3
spyder                             4.1.4
spyder-kernels                     1.9.2
SQLAlchemy                         1.3.18
statsmodels                        0.11.1
sympy                              1.6.1
tables                             3.6.1
tblib                              1.6.0
terminado                          0.8.3
testpath                           0.4.4
threadpoolctl                      2.1.0
toml                               0.10.1
toolz                              0.10.0
tornado                            6.0.4
tqdm                               4.47.0
traitlets                          4.3.3
typing-extensions                  3.7.4.2
ujson                              1.35
unicodecsv                         0.14.1
urllib3                            1.25.9
watchdog                           0.10.3
wcwidth                            0.2.5
webencodings                       0.5.1
Werkzeug                           1.0.1
wheel                              0.34.2
widgetsnbextension                 3.5.1
wrapt                              1.11.2
wurlitzer                          2.0.1
xlrd                               1.2.0
XlsxWriter                         1.2.9
xlwt                               1.3.0
xmltodict                          0.12.0
yapf                               0.30.0
zict                               2.0.0
zipp                               3.1.0
zope.event                         4.4
zope.interface                     4.7.1
(base) root@97ff203f6ebe:/# conda env list
# conda environments:
#
base                  *  /opt/conda
py27                     /opt/conda/envs/py27

5.启动jupyter

(base) root@97ff203f6ebe:/# jupyter notebook --port 8888 --ip 0.0.0.0 --allow-root
 

(base) root@97ff203f6ebe:/# jupyter notebook --port 8888 --ip 0.0.0.0 --allow-root
[I 06:30:42.078 NotebookApp] Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret
[I 06:30:42.318 NotebookApp] JupyterLab extension loaded from /opt/conda/lib/python3.8/site-packages/jupyterlab
[I 06:30:42.318 NotebookApp] JupyterLab application directory is /opt/conda/share/jupyter/lab
[I 06:30:42.320 NotebookApp] Serving notebooks from local directory: /
[I 06:30:42.321 NotebookApp] The Jupyter Notebook is running at:
[I 06:30:42.321 NotebookApp] http://97ff203f6ebe:8888/?token=aa69c08dabed5356b6dfe8027ad9b4ffa16410e1676c1b10
[I 06:30:42.321 NotebookApp]  or http://127.0.0.1:8888/?token=aa69c08dabed5356b6dfe8027ad9b4ffa16410e1676c1b10
[I 06:30:42.321 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 06:30:42.325 NotebookApp] 
    
    To access the notebook, open this file in a browser:
        file:///root/.local/share/jupyter/runtime/nbserver-29-open.html
    Or copy and paste one of these URLs:
        http://97ff203f6ebe:8888/?token=aa69c08dabed5356b6dfe8027ad9b4ffa16410e1676c1b10
     or http://127.0.0.1:8888/?token=aa69c08dabed5356b6dfe8027ad9b4ffa16410e1676c1b10
[W 06:33:59.926 NotebookApp] 401 POST /login?next=%2Ftree%3Ftoken%3Daa69c08dabed5356b6dfe8027ad9b4ffa16410e1676c1b10 (192.168.2.127) 2.97ms referer=http://192.168.2.159:12345/login?next=%2Ftree%3Ftoken%3Daa69c08dabed5356b6dfe8027ad9b4ffa16410e1676c1b10
[I 06:34:43.127 NotebookApp] 302 GET /?token=aa69c08dabed5356b6dfe8027ad9b4ffa16410e1676c1b10 (192.168.2.127) 0.54ms
[I 06:35:10.128 NotebookApp] New terminal with automatic name: 1
TermSocket.open: 1
TermSocket.open: Opened 1
Websocket closed
[I 06:36:00.322 NotebookApp] Creating new directory in 
[I 06:39:09.025 NotebookApp] Uploading file to /Untitled Folder/utf9-master.zip
[I 06:39:10.144 NotebookApp] Uploading file to /Untitled Folder/uncompyle2-master.zip
[I 06:39:11.410 NotebookApp] Uploading file to /Untitled Folder/python-uncompyle6-master.zip
[I 06:40:38.366 NotebookApp] Uploading file to /14/README.md
[I 06:40:58.935 NotebookApp] Uploading file to /14/you_need_python_by_sunnyelf.7z
[I 06:41:02.485 NotebookApp] Saving file at /14/README.md
[I 06:41:03.318 NotebookApp] Uploading file to /14/key_is_here_but_do_you_know_rfc4042
[I 06:41:04.077 NotebookApp] Uploading file to /14/flag.py
[I 06:41:04.796 NotebookApp] Uploading file to /14/f.py
[I 06:41:05.497 NotebookApp] Uploading file to /14/decodeutf9.py
[I 06:41:06.414 NotebookApp] Uploading file to /14/14.ipynb
[I 06:41:06.420 NotebookApp] Writing notebook-signing key to /root/.local/share/jupyter/notebook_secret
[I 06:41:12.144 NotebookApp] Kernel started: 077f576a-70ed-4a3c-bd67-2dcfb8b70e45
[I 06:41:12.537 NotebookApp] Adapting from protocol version 5.1 (kernel 077f576a-70ed-4a3c-bd67-2dcfb8b70e45) to 5.3 (client).
[I 06:41:42.287 NotebookApp] New terminal with automatic name: 2
TermSocket.open: 2
TermSocket.open: Opened 2
[I 06:43:12.171 NotebookApp] Saving file at /14/14.ipynb
[I 07:00:28.925 NotebookApp] Starting buffering for 077f576a-70ed-4a3c-bd67-2dcfb8b70e45:143e6dae1e27440582fd4032f28020b3
[I 07:00:29.138 NotebookApp] Kernel restarted: 077f576a-70ed-4a3c-bd67-2dcfb8b70e45
[I 07:00:29.413 NotebookApp] Adapting from protocol version 5.1 (kernel 077f576a-70ed-4a3c-bd67-2dcfb8b70e45) to 5.3 (client).
[I 07:00:29.414 NotebookApp] Restoring connection for 077f576a-70ed-4a3c-bd67-2dcfb8b70e45:143e6dae1e27440582fd4032f28020b3
[I 07:00:29.415 NotebookApp] Replaying 5 buffered messages
[I 07:00:50.092 NotebookApp] Kernel interrupted: 077f576a-70ed-4a3c-bd67-2dcfb8b70e45
[I 07:00:54.891 NotebookApp] Kernel interrupted: 077f576a-70ed-4a3c-bd67-2dcfb8b70e45
[I 07:01:00.072 NotebookApp] Starting buffering for 077f576a-70ed-4a3c-bd67-2dcfb8b70e45:143e6dae1e27440582fd4032f28020b3
[I 07:01:00.287 NotebookApp] Kernel restarted: 077f576a-70ed-4a3c-bd67-2dcfb8b70e45
[I 07:01:00.628 NotebookApp] Adapting from protocol version 5.1 (kernel 077f576a-70ed-4a3c-bd67-2dcfb8b70e45) to 5.3 (client).
[I 07:01:00.629 NotebookApp] Restoring connection for 077f576a-70ed-4a3c-bd67-2dcfb8b70e45:143e6dae1e27440582fd4032f28020b3
[I 07:01:00.630 NotebookApp] Replaying 5 buffered messages
[I 07:01:12.138 NotebookApp] Saving file at /14/14.ipynb
[I 07:02:28.086 NotebookApp] Adapting from protocol version 5.1 (kernel 077f576a-70ed-4a3c-bd67-2dcfb8b70e45) to 5.3 (client).
[I 07:02:54.043 NotebookApp] Kernel shutdown: 077f576a-70ed-4a3c-bd67-2dcfb8b70e45
[I 07:02:54.264 NotebookApp] Kernel started: f0fdc81a-7d39-4df4-98f1-8f6c914e2236
[I 07:03:15.268 NotebookApp] Starting buffering for f0fdc81a-7d39-4df4-98f1-8f6c914e2236:a68d1281c2b84a4e8e9725ba586f6078
[I 07:03:15.271 NotebookApp] Kernel shutdown: f0fdc81a-7d39-4df4-98f1-8f6c914e2236
[I 07:03:15.486 NotebookApp] Kernel started: 4caed222-fb3a-4dd4-9134-70d9c8603f92
[I 07:03:21.201 NotebookApp] Saving file at /14/14.ipynb
[I 07:03:32.863 NotebookApp] Starting buffering for 4caed222-fb3a-4dd4-9134-70d9c8603f92:a68d1281c2b84a4e8e9725ba586f6078
[I 07:03:32.866 NotebookApp] Kernel shutdown: 4caed222-fb3a-4dd4-9134-70d9c8603f92
[I 07:03:33.184 NotebookApp] Kernel started: b3d4b61e-b961-4bef-8ab4-40aa8553f5f9
[I 07:03:54.972 NotebookApp] Starting buffering for b3d4b61e-b961-4bef-8ab4-40aa8553f5f9:a68d1281c2b84a4e8e9725ba586f6078
[I 07:03:54.976 NotebookApp] Kernel shutdown: b3d4b61e-b961-4bef-8ab4-40aa8553f5f9
[I 07:03:55.190 NotebookApp] Kernel started: 90873b30-750b-45a7-ac3c-4779f685c632
[I 07:03:55.435 NotebookApp] Adapting from protocol version 5.1 (kernel 90873b30-750b-45a7-ac3c-4779f685c632) to 5.3 (client).
[I 07:04:03.989 NotebookApp] Starting buffering for 90873b30-750b-45a7-ac3c-4779f685c632:a68d1281c2b84a4e8e9725ba586f6078
[I 07:04:03.996 NotebookApp] Kernel shutdown: 90873b30-750b-45a7-ac3c-4779f685c632
[I 07:04:04.216 NotebookApp] Kernel started: 32c4e43a-79a4-47c7-af28-9066db83c281
[I 07:04:38.695 NotebookApp] Starting buffering for 32c4e43a-79a4-47c7-af28-9066db83c281:a68d1281c2b84a4e8e9725ba586f6078
[I 07:04:38.902 NotebookApp] Kernel restarted: 32c4e43a-79a4-47c7-af28-9066db83c281
[I 07:04:39.270 NotebookApp] Restoring connection for 32c4e43a-79a4-47c7-af28-9066db83c281:a68d1281c2b84a4e8e9725ba586f6078
[I 07:04:39.271 NotebookApp] Replaying 3 buffered messages
[I 07:04:42.314 NotebookApp] Starting buffering for 32c4e43a-79a4-47c7-af28-9066db83c281:a68d1281c2b84a4e8e9725ba586f6078
[I 07:04:42.316 NotebookApp] Kernel shutdown: 32c4e43a-79a4-47c7-af28-9066db83c281
[I 07:04:42.539 NotebookApp] Kernel started: 1666181a-3fc0-4ba5-8c82-532b3c629bfa
[I 07:04:42.891 NotebookApp] Adapting from protocol version 5.1 (kernel 1666181a-3fc0-4ba5-8c82-532b3c629bfa) to 5.3 (client).
[I 07:18:47.784 NotebookApp] Starting buffering for 1666181a-3fc0-4ba5-8c82-532b3c629bfa:a68d1281c2b84a4e8e9725ba586f6078
[I 07:18:48.571 NotebookApp] Adapting from protocol version 5.1 (kernel 1666181a-3fc0-4ba5-8c82-532b3c629bfa) to 5.3 (client).
[I 07:19:07.404 NotebookApp] Starting buffering for 1666181a-3fc0-4ba5-8c82-532b3c629bfa:5a768f83d51e4163804e2b4386fa5708
[I 07:19:07.409 NotebookApp] Kernel shutdown: 1666181a-3fc0-4ba5-8c82-532b3c629bfa
[I 07:19:07.629 NotebookApp] Kernel started: 0a272bea-409a-4a20-8b2e-2457f99acfe4
[I 07:19:28.348 NotebookApp] Starting buffering for 0a272bea-409a-4a20-8b2e-2457f99acfe4:5a768f83d51e4163804e2b4386fa5708
[I 07:19:28.351 NotebookApp] Kernel shutdown: 0a272bea-409a-4a20-8b2e-2457f99acfe4
[I 07:19:28.573 NotebookApp] Kernel started: 16fcac56-a486-43d5-aa92-8e571b7a4629
[I 07:19:35.006 NotebookApp] Starting buffering for 16fcac56-a486-43d5-aa92-8e571b7a4629:5a768f83d51e4163804e2b4386fa5708
[I 07:19:35.011 NotebookApp] Kernel shutdown: 16fcac56-a486-43d5-aa92-8e571b7a4629
[I 07:19:35.330 NotebookApp] Kernel started: d7ee07bf-d011-46c2-9b88-c985b51da052
[I 07:19:45.423 NotebookApp] Starting buffering for d7ee07bf-d011-46c2-9b88-c985b51da052:5a768f83d51e4163804e2b4386fa5708
[I 07:19:45.428 NotebookApp] Kernel shutdown: d7ee07bf-d011-46c2-9b88-c985b51da052
[I 07:19:45.646 NotebookApp] Kernel started: 64802d23-e939-48d7-b75d-965177fa6dc9
[I 07:19:45.970 NotebookApp] Adapting from protocol version 5.1 (kernel 64802d23-e939-48d7-b75d-965177fa6dc9) to 5.3 (client).
[I 07:20:49.245 NotebookApp] Saving file at /14/14.ipynb

这时候复制:

http://127.0.0.1:8888/?token=aa69c08dabed5356b6dfe8027ad9b4ffa16410e1676c1b10

并且把前面的127.0.0.1:8888(容器的ip和端口)改为宿主机的ip和8888映射到宿主机的端口12345:

http://192.168.2.159:12345/?token=aa69c08dabed5356b6dfe8027ad9b4ffa16410e1676c1b10

6.切换到py27环境安装utf9,uncompyle2模块

# conda env list
# conda environments:
#
base                  *  /opt/conda
py27                     /opt/conda/envs/py27

# conda activate py27

(py27) # cd utf9-master
(py27) # ls
LICENSE  README.rst  setup.py  utf9
(py27) # python setup.py install

(py27) # unzip uncompyle2-master.zip

(py27) # cd uncompyle2-master
(py27) # ls
MANIFEST.in  PKG-INFO  README  compile_tests  scripts  setup.cfg  setup.py  test  test_one  test_pythonlib  uncompyle2
(py27) # python setup.py install

7.完美在pupyter上面运行相关脚本

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:/a/286494.html

如若内容造成侵权/违法违规/事实不符,请联系我们进行投诉反馈qq邮箱809451989@qq.com,一经查实,立即删除!

相关文章

关于this.router 和this.route的总结

this.router 和this.route这2个东西一直在用可是我还是迷迷糊糊的不知道啥啥意思,尤其是idea的提示功能,总是让我一个回车就弄错了。 总结一波: 概述 this.$router(路由实例) : 是VueRouter的实例.包含了很多属性和对象(比如 h…

V8R6小版本升级步骤(单机环境)

在KingbaseES V8R6版本提供了sys_upgrade的升级工具。 sys_upgade介绍 sys_upgrade实现KingbaseES服务器实例版本升级。 sys_upgrade 允许将存储在KingbaseES数据文件中的数据升级到一个更高的KingbaseES主版本,而无需进行主版本升级(例如从 V8R6C4 到 V8R6C5)通常…

Django开发5-Django开发知识点快速预览

Django开发知识点快速预览 Django开发1.知识点的回顾:2.Ajax请求3.订单小结图表 各位小伙伴想要博客相关资料的话关注公众号:chuanyeTry即可领取相关资料! Django开发 1.知识点的回顾: 安装Django pip install django创建Django项…

通达信佳庆离散指标公式,衡量价格波动率

佳庆离散指标(Chaikin Volatility)是由股票经纪人Mark Chaikin发明的,通过计算选定时期内最高价和最低价之间的差值来衡量价格波动率,将波动率量化为最高价和最低价之间范围的扩大或缩小。 在技术分析中,波动性具有比…

5 个顶级的免费磁盘分区软件工具评测分享

磁盘分区可能是一个脆弱而复杂的过程,磁盘崩溃或用户设备受到病毒攻击的风险很高。因此,它们很难由用户单独或手动管理。本文详细介绍了可以帮助简化磁盘分区过程的不同软件工具、它们的功能和优点。那么让我们开始吧。 什么是磁盘分区工具?…

常见的锁策略详细讲解(悲观锁 vs 乐观锁,轻量锁 vs 重量锁,自旋锁 vs 互斥锁,公平锁 vs 非公平锁,读写锁等)

文章目录 悲观锁和乐观锁Java中的悲观锁和乐观锁乐观锁常见的两种实现方式版本号机制CAS(compare and swap) 算法乐观锁的缺点 轻量级锁和重量级锁自旋锁 VS 互斥锁公平锁 VS 非公平锁读写锁读写锁的插队策略读写锁的升级策略 可重入锁 VS 不可重入锁 悲观锁和乐观锁 所谓悲观…

Android 13 - Media框架(29)- MediaCodec(四)

上一节我们了解了如何通过 onInputBufferAvailable 和 getInputBuffer 获取到 input buffer index,接下来我们一起学习上层如何拿到buffer并且向下写数据的。 1、获取 input Buffer 获取 MediaCodec 中的 buffer 有两种方式,一种是调用 getInputBuffers…

在vscode中创建任务编译module源文件

接昨天的文章 [创建并使用自己的C模块(Windows10MSVC)-CSDN博客],觉得每次编译转到命令行下paste命令过于麻烦,于是研究了一下在vscode中创建自动编译任务。 经过尝试,在task.json中增加如下代码: {"…

IDEA2023 最新版详细图文安装教程(安装+运行测试+汉化+背景图设置)

IDEA2023 最新版详细图文安装教程 名人说:工欲善其事,必先利其器。——《论语》 作者:Code_流苏(CSDN) o(‐^▽^‐)o很高兴你打开了这篇博客,跟着教程去一步步尝试安装吧。 目录 IDEA2023 最新版详细图文安…

SpringBoot整合Validator

前言 @Validation是一套帮助我们继续对传输的参数进行数据校验的注解,通过配置Validation可以很轻松的完成对数据的约束。 通过对DTO中实体类的约束,可以大大增加代码的简洁性。 错误的状态码 返回的响应码推荐使用400 bad request. 参数注解含义 实体类 /*** @author:…

索引语法SQL性能分析

创建 查看 删除 SQL执行频率 Com后七个下划线 慢查询日志 show profiles explain explain执行计划 各字段含义: 多表查询 根据主键或者唯一索引时会出现const const就已经是很棒的性能了,实际中 NULL几乎不会出现

信息安全管理与评估省赛经验总结

信息技能大赛 在比赛开始之前,一定要检查设配,认真审查注意事项;拿到题之后,把对应设备的基本配置完成,任何异常及时报告,这个时候可以把设备的线链接上配置好,登录清单上管理地址等查看是否能登…

二维码地址门牌系统技术服务:让您的生活更便捷,一码通行,安全无忧

文章目录 前言一、融合二维码技术与门牌的便捷服务二、手机开门便捷功能三、智能化安全保障四、智能化、便捷化的新型技术 前言 在数字化时代,二维码门牌系统技术应运而生,为了满足人们对安全、便捷生活的需求。这项技术将二维码与门牌结合,…

leetcode链表小练(1.反转链表2.链表的中间节点3.合并两个有序链表4.环形链表①5.环形链表②)详解 (୨୧• ᴗ •͈)◞︎ᶫᵒᵛᵉ ♡

目录 一.反转链表 思路一反转指针反向: 思路二头插法: 二.链表的中间节点: 三.合并两个有序数组: 思路一:从头开始,取两个链表中小的那个尾插到新链表。定义指针head,tail指向空,代表新链表的头结点。…

Hive/SparkSQL中UDF/UDTF/UDAF的含义、区别、有哪些函数

Hive官网:https://cwiki.apache.org/confluence/display/Hive/LanguageManualUDF#LanguageManualUDF-Built-inTable-GeneratingFunctions(UDTF) 1.UDF(User-Defined Function) 含义 即用户定义函数,UDF用于处理一行数据并返回一个标量值(单个值)&#x…

测试自动创建设备节点的功能

一. 简介 上一篇文章在 新设备驱动框架代码的基础上,添加了自动创建设备节点的代码。文章地址如下: 自动创建设备节点代码的实现-CSDN博客 本文对自动创建设备节点的功能进行测试。 二. 自动创建设备节点代码的测试 1. 编译驱动,并拷贝…

关于编程模式的总结与思考

淘宝创新业务的优化迭代是非常高频且迅速的,在这过程中要求技术也必须是快且稳的,而为了适应这种快速变化的节奏,我们在项目开发过程中采用了一些面向拓展以及敏捷开发的设计,本文旨在总结并思考其中一些通用的编程模式。 前言 静…

【Vue2+3入门到实战】(19)Vuex状态管理器通过辅助函数 - mapState获取 state中的数据代码实现 详细讲解

目录 一、通过辅助函数 - mapState获取 state中的数据1.第一步:导入mapState (mapState是vuex中的一个函数)2.第二步:采用数组形式引入state属性3.第三步:利用**展开运算符**将导出的状态映射给计算属性 二、开启严格模式及Vuex的单项数据流1…

2024年美赛数学建模ABCDEF题思路选题分析

文章目录 1 赛题思路2 美赛比赛日期和时间3 赛题类型4 美赛常见数模问题5 建模资料 1 赛题思路 (赛题出来以后第一时间在CSDN分享) https://blog.csdn.net/dc_sinor?typeblog 2 美赛比赛日期和时间 比赛开始时间:北京时间2024年2月2日(周五&#xff…

MVCC 并发控制原理-源码解析(非常详细)

基础概念 并发事务带来的问题 1)脏读:一个事务读取到另一个事务更新但还未提交的数据,如果另一个事务出现回滚或者进一步更新,则会出现问题。 2)不可重复读:在一个事务中两次次读取同一个数据时&#xff0c…