aliyun / aliyun/aliyun-log-python-sdk

已安装pandas和ipywidgets,但无法使用 Jupyter notebook 增强功能

Open
#225 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
176
Forks
119
Avg merge
3h 56m
Merged PRs (30d)
2

Description

官网中介绍使用Jupyter notebook 增强功能,对于已拉到本地的数据,可使用交互式的数据探索工具浏览数据,交互式地绘制图形。我已按照官网的要求安装Pandas和ipywidgets,但Jupyter notebook依然无法显示交互式数据探索工具,见下图
image

我的conda 环境如下:
active environment : python-3.7.4
active env location : /home/zhongsheng/anaconda3/envs/python-3.7.4
shell level : 2
user config file : /home/zhongsheng/.condarc
populated config files : /home/zhongsheng/.condarc
conda version : 4.13.0
conda-build version : 3.21.5
python version : 3.9.7.final.0
virtual packages : __linux=5.15.0=0
__glibc=2.31=0
__unix=0=0
__archspec=1=x86_64
base environment : /home/zhongsheng/anaconda3 (writable)
conda av data dir : /home/zhongsheng/anaconda3/etc/conda
conda av metadata url : None
channel URLs : https://conda.anaconda.org/conda-forge/linux-64
https://conda.anaconda.org/conda-forge/noarch
https://repo.anaconda.com/pkgs/main/linux-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/linux-64
https://repo.anaconda.com/pkgs/r/noarch
package cache : /home/zhongsheng/anaconda3/pkgs
/home/zhongsheng/.conda/pkgs
envs directories : /home/zhongsheng/anaconda3/envs
/home/zhongsheng/.conda/envs
platform : linux-64
user-agent : conda/4.13.0 requests/2.26.0 CPython/3.9.7 Linux/5.15.0-41-generic ubuntu/20.04.4 glibc/2.31
UID:GID : 1000:1000
netrc file : None
offline mode : False
我已安装的包如下:
(python-3.7.4) zhongsheng@ubuntu:~$ pip freeze
aiofiles==0.5.0
alabaster==0.7.12
anaconda-client @ file:///home/conda/feedstock_root/build_artifacts/anaconda-client_1619451397123/work
anaconda-navigator==1.9.7
argon2-cffi==21.3.0
argon2-cffi-bindings==21.2.0
asn1crypto==1.0.1
astor==0.8.1
atomicwrites==1.3.0
attrs @ file:///home/conda/feedstock_root/build_artifacts/attrs_1640799537051/work
Babel==2.7.0
backcall @ file:///home/ktietz/src/ci/backcall_1611930011877/work
backports.functools-lru-cache==1.5
backports.os==0.1.1
backports.shutil-get-terminal-size==1.0.0
beautifulsoup4 @ file:///opt/conda/conda-bld/beautifulsoup4_1650462163268/work
bitarray==1.0.1
bleach==5.0.1
boto==2.49.0
Bottleneck==1.3.5
brotlipy @ file:///home/conda/feedstock_root/build_artifacts/brotlipy_1648854164153/work
cachetools==4.1.0
certifi @ file:///opt/conda/conda-bld/certifi_1655968806487/work/certifi
cffi @ file:///home/conda/feedstock_root/build_artifacts/cffi_1606236098182/work
chardet @ file:///home/conda/feedstock_root/build_artifacts/chardet_1656142026456/work
charset-normalizer @ file:///home/conda/feedstock_root/build_artifacts/charset-normalizer_1655906222726/work
Click==7.0
cloudpickle==2.1.0
clyent==1.2.2
colorama @ file:///home/conda/feedstock_root/build_artifacts/colorama_1655412516417/work
conda==4.7.12
conda-package-handling==1.6.0
contextlib2==0.6.0
cryptography @ file:///home/conda/feedstock_root/build_artifacts/cryptography_1657174000558/work
Cython==0.29.13
debugpy==1.6.2
decorator @ file:///opt/conda/conda-bld/decorator_1643638310831/work
defusedxml @ file:///tmp/build/80754af9/defusedxml_1615228127516/work
docutils==0.15.2
entrypoints @ file:///tmp/build/80754af9/entrypoints_1649908585034/work
et-xmlfile==1.0.1
fastcache==1.1.0
fastjsonschema @ file:///home/conda/feedstock_root/build_artifacts/python-fastjsonschema_1658064924516/work/dist
filelock==3.0.12
fsspec==2022.5.0
future==0.17.1
gast==0.2.2
gevent==1.4.0
gmpy2==2.1.2
graphviz==0.20
greenlet==0.4.15
h11==0.8.1
h2==3.2.0
HeapDict==1.0.1
hpack==3.0.0
hstspreload==2020.5.13
httptools==0.1.1
hyperframe==5.2.0
idna @ file:///home/conda/feedstock_root/build_artifacts/idna_1642433548627/work
imagesize==1.1.0
importlib-metadata @ file:///home/conda/feedstock_root/build_artifacts/importlib-metadata_1653252814274/work
importlib-resources @ file:///home/conda/feedstock_root/build_artifacts/importlib_resources_1655356668708/work
ipykernel==6.15.1
ipython==7.34.0
ipython-genutils @ file:///tmp/build/80754af9/ipython_genutils_1606773439826/work
ipywidgets==7.7.1
isort==4.3.21
itsdangerous==1.1.0
jdcal==1.4.1
jedi @ file:///tmp/build/80754af9/jedi_1644299024593/work
jeepney==0.4.1
jieba==0.39
Jinja2==3.1.2
joblib==0.13.2
json5==0.8.5
jsonschema @ file:///home/conda/feedstock_root/build_artifacts/jsonschema-meta_1657629641118/work
jupyter==1.0.0
jupyter-client==7.3.4
jupyter-console==6.4.4
jupyter_core @ file:///home/conda/feedstock_root/build_artifacts/jupyter_core_1658332345782/work
jupyterlab-pygments==0.2.2
jupyterlab-widgets==1.1.1
kiwisolver==1.1.0
lazy-object-proxy==1.4.2
libarchive-c==2.8
lief==0.12.1
llvmlite==0.29.0
locket==0.2.0
lxml==4.4.1
MarkupSafe @ file:///opt/conda/conda-bld/markupsafe_1654597864307/work
matplotlib-inline==0.1.3
mccabe==0.6.1
mistune @ file:///tmp/build/80754af9/mistune_1594373098390/work
mkl-fft==1.0.14
mkl-random==1.1.0
mkl-service==2.3.0
more-itertools==7.2.0
mpmath==1.1.0
msgpack==0.6.1
multidict==4.7.6
mysql-connector==2.2.9
navigator-updater==0.2.1
nbclient==0.6.6
nbconvert==6.5.0
nbformat @ file:///home/conda/feedstock_root/build_artifacts/nbformat_1651607001005/work
nest-asyncio @ file:///tmp/build/80754af9/nest-asyncio_1649847911453/work
nose==1.3.7
notebook @ file:///opt/conda/conda-bld/notebook_1651734535442/work
numpy @ file:///home/conda/feedstock_root/build_artifacts/numpy_1649806299270/work
oauthlib==3.1.0
olefile @ file:///home/conda/feedstock_root/build_artifacts/olefile_1602866521163/work
openpyxl==3.0.0
packaging @ file:///home/conda/feedstock_root/build_artifacts/packaging_1637239678211/work
pandocfilters @ file:///opt/conda/conda-bld/pandocfilters_1643405455980/work
parso @ file:///opt/conda/conda-bld/parso_1641458642106/work
pep8==1.7.1
pexpect @ file:///tmp/build/80754af9/pexpect_1605563209008/work
pickleshare @ file:///tmp/build/80754af9/pickleshare_1606932040724/work
Pillow @ file:///home/conda/feedstock_root/build_artifacts/pillow_1621287993571/work
pkginfo==1.5.0.1
ply==3.11
prometheus-client==0.14.1
prompt-toolkit==3.0.30
psutil @ file:///home/conda/feedstock_root/build_artifacts/psutil_1653089169272/work
psycopg2-binary==2.8.5
ptyprocess @ file:///tmp/build/80754af9/ptyprocess_1609355006118/work/dist/ptyprocess-0.7.0-py2.py3-none-any.whl
py==1.8.0
pyasn1==0.4.8
pyasn1-modules==0.2.8
pycodestyle==2.5.0
pycosat @ file:///home/conda/feedstock_root/build_artifacts/pycosat_1649384814992/work
pycparser @ file:///home/conda/feedstock_root/build_artifacts/pycparser_1636257122734/work
pycrypto==2.6.1
pycurl==7.45.1
pyflakes==2.1.1
Pygments @ file:///opt/conda/conda-bld/pygments_1644249106324/work
pyodbc==4.0.34
pyodps==0.11.1
pyOpenSSL @ file:///home/conda/feedstock_root/build_artifacts/pyopenssl_1643496850550/work
pyparsing @ file:///home/conda/feedstock_root/build_artifacts/pyparsing_1652235407899/work
pypinyin==0.46.0
PyQt5==5.12.3
PyQt5-sip==12.11.0
PyQtChart==5.12
PyQtWebEngine==5.12.1
pyrsistent @ file:///home/conda/feedstock_root/build_artifacts/pyrsistent_1649013358450/work
PySocks @ file:///home/conda/feedstock_root/build_artifacts/pysocks_1648857264451/work
python-dateutil @ file:///home/conda/feedstock_root/build_artifacts/python-dateutil_1626286286081/work
pytz @ file:///home/conda/feedstock_root/build_artifacts/pytz_1647961439546/work
PyYAML @ file:///home/conda/feedstock_root/build_artifacts/pyyaml_1648757092905/work
pyzmq==23.2.0
qtconsole==5.3.1
QtPy @ file:///home/conda/feedstock_root/build_artifacts/qtpy_1651524593465/work
requests @ file:///home/conda/feedstock_root/build_artifacts/requests_1656534056640/work
rfc3986==1.4.0
rope==0.14.0
rsa==4.0
ruamel-yaml-conda @ file:///home/conda/feedstock_root/build_artifacts/ruamel_yaml_1653464404698/work
ruamel.yaml==0.15.46
Send2Trash @ file:///tmp/build/80754af9/send2trash_1632406701022/work
simplegeneric==0.8.1
six @ file:///home/conda/feedstock_root/build_artifacts/six_1620240208055/work
sniffio==1.1.0
snowballstemmer==2.0.0
snownlp==0.12.3
sortedcollections==1.1.2
sortedcontainers==2.1.0
soupsieve @ file:///tmp/build/80754af9/soupsieve_1636706018808/work
sphinxcontrib-applehelp==1.0.1
sphinxcontrib-devhelp==1.0.1
sphinxcontrib-htmlhelp==1.0.2
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.2
sphinxcontrib-serializinghtml==1.1.3
sphinxcontrib-websupport==1.1.2
SQLAlchemy==1.3.9
sympy==1.4
tblib==1.7.0
tensorflow-estimator==2.1.0
termcolor==1.1.0
terminado==0.15.0
testpath @ file:///opt/conda/conda-bld/testpath_1655908557405/work
tinycss2==1.1.1
toolz==0.10.0
tornado @ file:///tmp/build/80754af9/tornado_1606942283357/work
tqdm @ file:///home/conda/feedstock_root/build_artifacts/tqdm_1649051611147/work
traitlets==5.3.0
typed-ast==1.4.3
typing_extensions @ file:///home/conda/feedstock_root/build_artifacts/typing_extensions_1656706066251/work
ujson==2.0.3
unicodecsv==0.14.1
urllib3 @ file:///home/conda/feedstock_root/build_artifacts/urllib3_1657224465922/work
uvloop==0.14.0
wcwidth @ file:///Users/ktietz/demo/mc3/conda-bld/wcwidth_1629357192024/work
webencodings==0.5.1
websockets==8.1
Werkzeug==0.16.0
widgetsnbextension==3.6.1
wrapt==1.11.2
wurlitzer==1.0.3
xlrd==1.2.0
XlsxWriter==1.2.1
xlwt==1.3.0
zict==1.0.0
zipp @ file:///home/conda/feedstock_root/build_artifacts/zipp_1649012893348/work

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the documented Jupyter notebook data-exploration workflow in the reported conda environment, using the listed pandas, ipywidgets, notebook, and widgetsnbextension versions. Check the notebook output and browser console to identify why the interactive tool is not rendered; done means the documented workflow displays the interactive exploration and plotting features or the documentation explains the required setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, pandas, python
Domain
data-visualization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.