After a fresh install of Anaconda 2.4.0/Python 3.5 on a 64-bit Windows 7, I can display a matplotlib window, but a brush of the mouse pointer over the window crashes ipython / python.
Python 3.5.0 |Anaconda 2.4.0 (64-bit)| (default, Oct 20 2015, 07:26:33) [MSC v.1900 64 bit (AMD64)]
Type "copyright", "credits" or "license" for more information.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
IPython 4.0.0 -- An enhanced Interactive Python.
In[1]: import matplotlib.pyplot as plt
import numpy.random
a = numpy.random.rand(500,1)
plt.plot(a)
plt.show()
Backend Qt4Agg is interactive backend. Turning interactive mode on.
Process finished with exit code -1073741819 (0xC0000005)
python3.exe, ipython.exe, and the PyCharm Ipython console all fail. Spyder Ipython console and Jupyter Qt console both can survive a matplotlib window.
All Interpreters point to the Anaconda 2.4.0 only install of python3 on the computer.
Ipython manages to get the following before a recursion limit is reached :
C:\Users\owinter\AppData\Local\Continuum\Anaconda3\ipython.exe E:\owinter\PYTHON\echo\sandbox\test_matplotlib.py
In [6]: Readline internal error
Traceback (most recent call last):
File "C:\Users\owinter\AppData\Local\Continuum\Anaconda3\lib\seadline\console\console.py", line 768, in hook_wrapper_23
res = ensure_str(readline_hook(prompt))
File "C:\Users\owinter\AppData\Local\Continuum\Anaconda3\lib\seadline\rlmain.py", line 571, in readline
self._readline_from_keyboard()
File "C:\Users\owinter\AppData\Local\Continuum\Anaconda3\lib\seadline\rlmain.py", line 536, in _readline_from_keyboard
if self._readline_from_keyboard_poll():
File "C:\Users\owinter\AppData\Local\Continuum\Anaconda3\lib\seadline\rlmain.py", line 552, in _readline_from_keyboard_poll
event = c.getkeypress()
File "C:\Users\owinter\AppData\Local\Continuum\Anaconda3\lib\seadline\console\console.py", line 524, in getkeypress
e = self.get()
File "C:\Users\owinter\AppData\Local\Continuum\Anaconda3\lib\seadline\console\console.py", line 514, in get
call_function(inputHookFunc, ())
OSError: exception: access violation reading 0x0000000000434DB8
Attached is the package list, unaltered and fresh from the Anaconda install
C:\Users\owinter>conda list
# packages in environment at C:\Users\owinter\AppData\Local\Continuu
#
alabaster 0.7.6 py35_0
anaconda 2.4.0 np110py35_0
anaconda-client 1.1.0 py35_0
argcomplete 1.0.0 py35_1
astropy 1.0.5 np110py35_1
babel 2.1.1 py35_0
beautifulsoup4 4.4.1 py35_0
bitarray 0.8.1 py35_1
blaze 0.8.3 <pip>
blaze-core 0.8.3 py35_0
bokeh 0.10.0 py35_0
boto 2.38.0 py35_0
bzip2 1.0.6 vc14_2 [vc14]
cffi 1.2.1 py35_0
clyent 0.4.0 py35_0
colorama 0.3.3 py35_0
comtypes 1.1.2 py35_0
conda 3.18.3 py35_0
conda-build 1.18.1 py35_0
conda-env 2.4.4 py35_0
configobj 5.0.6 py35_0
console_shortcut 0.1.1 py35_1
cryptography 1.0.2 py35_0
curl 7.45.0 vc14_0 [vc14]
cython 0.23.4 py35_0
cytoolz 0.7.4 py35_0
datashape 0.4.7 np110py35_1
decorator 4.0.4 py35_0
docutils 0.12 py35_1
fastcache 1.0.2 py35_0
flask 0.10.1 py35_1
freetype 2.5.5 vc14_0 [vc14]
greenlet 0.4.9 py35_0
h5py 2.5.0 np110py35_4
hdf5 1.8.15.1 vc14_3 [vc14]
idna 2.0 py35_0
ipykernel 4.1.1 py35_0
ipython 4.0.0 py35_1
ipython-genutils 0.1.0 <pip>
ipython-notebook 4.0.4 py35_3
ipython-qtconsole 4.0.1 py35_4
ipython_genutils 0.1.0 py35_0
ipywidgets 4.1.0 py35_0
itsdangerous 0.24 py35_0
jdcal 1.0 py35_0
jedi 0.9.0 py35_0
jinja2 2.8 py35_0
jpeg 8d vc14_0 [vc14]
jsonschema 2.4.0 py35_0
jupyter 1.0.0 py35_0
jupyter-client 4.1.1 <pip>
jupyter-console 4.0.3 <pip>
jupyter-core 4.0.6 <pip>
jupyter_client 4.1.1 py35_0
jupyter_console 4.0.3 py35_0
jupyter_core 4.0.6 py35_0
launcher 1.0.0 4
libpng 1.6.17 vc14_1 [vc14]
libsodium 1.0.3 0
libtiff 4.0.6 vc14_0 [vc14]
lxml 3.4.4 py35_0
markupsafe 0.23 py35_0
matplotlib 1.4.3 np110py35_3
menuinst 1.2.1 py35_0
mistune 0.7.1 py35_0
msvc_runtime 1.0.0 vc14_0 [vc14]
multipledispatch 0.4.8 py35_0
nbconvert 4.0.0 py35_0
nbformat 4.0.1 py35_0
networkx 1.10 py35_0
nltk 3.1 py35_0
node-webkit 0.10.1 0
nose 1.3.7 py35_0
notebook 4.0.6 py35_0
numexpr 2.4.4 np110py35_0
numpy 1.10.1 py35_0
odo 0.3.4 py35_0
openpyxl 2.2.6 py35_0
openssl 1.0.2d vc14_0 [vc14]
pandas 0.17.0 np110py35_0
path.py 8.1.2 py35_0
patsy 0.4.0 np110py35_0
pep8 1.6.2 py35_0
pickleshare 0.5 py35_0
pillow 3.0.0 py35_1
pip 7.1.2 py35_0
ply 3.8 py35_0
psutil 3.2.2 py35_0
py 1.4.30 py35_0
pyasn1 0.1.9 py35_0
pycosat 0.6.1 py35_0
pycparser 2.14 py35_0
pycrypto 2.6.1 py35_3
pycurl 7.19.5.1 py35_1
pyflakes 1.0.0 py35_0
pygments 2.0.2 py35_0
pyopenssl 0.15.1 py35_1
pyparsing 2.0.3 py35_0
pyqt 4.11.4 py35_2
pyreadline 2.1 py35_0
pytables 3.2.2 np110py35_1
pytest 2.8.1 py35_0
python 3.5.0 2
python-dateutil 2.4.2 py35_0
pytz 2015.6 py35_0
pywin32 219 py35_1
pyyaml 3.11 py35_2
pyzmq 14.7.0 py35_1
qt 4.8.7 vc14_4 [vc14]
qtconsole 4.1.0 py35_0
requests 2.8.1 py35_0
rope 0.9.4 py35_1
rope-py3k-0.9.4 1 <pip>
scikit-image 0.11.3 np110py35_0
scikit-learn 0.16.1 np110py35_0
scipy 0.16.0 np110py35_0
setuptools 18.4 py35_0
simplegeneric 0.8.1 py35_0
sip 4.16.9 py35_1
six 1.10.0 py35_0
snowballstemmer 1.2.0 py35_0
sockjs-tornado 1.0.1 py35_0
sphinx 1.3.1 py35_0
sphinx-rtd-theme 0.1.7 <pip>
sphinx_rtd_theme 0.1.7 py35_0
spyder 2.3.7 py35_3
spyder-app 2.3.7 py35_0
sqlalchemy 1.0.9 py35_0
statsmodels 0.6.1 np110py35_0
sympy 0.7.6.1 py35_0
tables 3.2.2 <pip>
tk 8.5.18 vc14_0 [vc14]
toolz 0.7.4 py35_0
tornado 4.2.1 py35_1
traitlets 4.0.0 py35_0
ujson 1.33 py35_0
unicodecsv 0.14.1 py35_0
werkzeug 0.10.4 py35_0
wheel 0.26.0 py35_1
xlrd 0.9.4 py35_0
xlsxwriter 0.7.7 py35_0
xlwings 0.4.1 py35_0
xlwt 1.0.0 py35_0
zeromq 4.1.3 vc14_1 [vc14]
zlib 1.2.8 vc14_2 [vc14]
By digging further I found out there was conflicting Qt libraries in this Anaconda install :
Cannot mix incompatible Qt library (version 0x40807) with this library (version 0x40804)
Next step was to look for the conflicting libraries in the command window:
where QtGui*.dll
Then uninstall or remove from the path environment variable the softwares responsible.
Related
we are currently using JupyterHub for our team. When I try to use ipywidgets in JupyterLab I get tis JavaScript error (https adress is cutted out)
The Code
import ipywidgets as widgets
slider = widgets.FloatSlider(description='$x$')
text = widgets.FloatText(disabled=True, description='$x^2$')
def compute(*ignore):
text.value = str(slider.value ** 2)
slider.observe(compute, 'value')
slider.value = 4
widgets.VBox([slider, text])
The error from the notebook:
[Open Browser Console for more detailed log - Double click to close this message]
Failed to load model class 'VBoxModel' from module '#jupyter-widgets/controls'
Error: Module #jupyter-widgets/controls, version ^1.5.0 is not registered, however, 2.0.0 is
at f.loadClass (/lab/extensions/#jupyter-widgets/jupyterlab-manager/static/134.bcbea9feb6e7c4da7530.js?v=bcbea9feb6e7c4da7530:1:74977)
at f.loadModelClass (/lab/extensions/#jupyter-widgets/jupyterlab-manager/static/150.3e1e5adfd821b9b96340.js?v=3e1e5adfd821b9b96340:1:10729)
at f._make_model (/lab/extensions/#jupyter-widgets/jupyterlab-manager/static/150.3e1e5adfd821b9b96340.js?v=3e1e5adfd821b9b96340:1:7517)
at f.new_model (/lab/extensions/#jupyter-widgets/jupyterlab-manager/static/150.3e1e5adfd821b9b96340.js?v=3e1e5adfd821b9b96340:1:5137)
at f.handle_comm_open (/lab/extensions/#jupyter-widgets/jupyterlab-manager/static/150.3e1e5adfd821b9b96340.js?v=3e1e5adfd821b9b96340:1:3894)
at _handleCommOpen (/lab/extensions/#jupyter-widgets/jupyterlab-manager/static/134.bcbea9feb6e7c4da7530.js?v=bcbea9feb6e7c4da7530:1:73393)
at b._handleCommOpen (/static/lab/jlab_core.c53d87cd566b4851041c.js?v=c53d87cd566b4851041c:2:1203616)
at async b._handleMessage (/static/lab/jlab_core.c53d87cd566b4851041c.js?v=c53d87cd566b4851041c:2:1205606)
This is the error in the browser console (https://i.stack.imgur.com/E9wJS.png)
The packages:
Package Version
----------------------------- ------------
absl-py 1.3.0
aiohttp 3.8.3
aiosignal 1.3.1
alembic 1.8.1
altair 4.2.0
anyio 3.6.2
appmode 0.8.0
argon2-cffi 21.3.0
argon2-cffi-bindings 21.2.0
asn1crypto 1.5.1
asttokens 2.1.0
astunparse 1.6.3
async-generator 1.10
async-timeout 4.0.2
attrs 22.1.0
Babel 2.11.0
backcall 0.2.0
backports.functools-lru-cache 1.6.4
beautifulsoup4 4.11.1
bleach 5.0.1
blinker 1.5
bokeh 3.0.2
boto3 1.26.16
botocore 1.29.16
Bottleneck 1.3.5
brotlipy 0.7.0
cached-property 1.5.2
cachetools 5.2.0
certifi 2022.9.24
certipy 0.1.3
cffi 1.15.1
charset-normalizer 2.1.1
click 8.1.3
cloudpickle 2.2.0
colorama 0.4.6
comm 0.1.0
conda 22.9.0
conda-package-handling 1.9.0
contourpy 1.0.6
cryptography 38.0.3
cycler 0.11.0
Cython 0.29.32
cytoolz 0.12.0
dask 2022.11.0
debugpy 1.6.3
decorator 5.1.1
defusedxml 0.7.1
dill 0.3.6
distributed 2022.11.0
ecdsa 0.18.0
enbw-aop-client 0.20221027.1
entrypoints 0.4
entsoe-py 0.5.8
envs 1.4
et-xmlfile 1.0.1
executing 1.2.0
fastjsonschema 2.16.2
filelock 3.8.0
Flask 2.2.2
flatbuffers 2.0
flit_core 3.8.0
fonttools 4.38.0
frozenlist 1.3.3
fsspec 2022.11.0
gast 0.4.0
geographiclib 1.52
geopy 2.3.0
gitdb 4.0.9
GitPython 3.1.29
gmpy2 2.1.2
google-auth 2.14.1
google-auth-oauthlib 0.4.6
google-pasta 0.2.0
gravis 0.1.0
greenlet 2.0.1
grpcio 1.47.1
h11 0.14.0
h5py 3.7.0
HeapDict 1.0.1
idna 3.4
imagecodecs 2022.9.26
imageio 2.22.4
importlib-metadata 5.0.0
importlib-resources 5.10.0
ipykernel 6.18.0
ipython 8.6.0
ipython-genutils 0.2.0
ipywidgets 7.6.5
itsdangerous 2.1.2
jedi 0.18.2
Jinja2 3.1.2
jmespath 1.0.1
joblib 1.2.0
json5 0.9.10
jsonschema 4.17.1
jupyter_client 7.4.1
jupyter_core 5.0.0
jupyter-server 1.23.3
jupyter-server-mathjax 0.2.6
jupyter-server-proxy 3.2.2
jupyter-telemetry 0.1.0
jupyterhub 3.0.0
jupyterlab 3.5.0
jupyterlab-git 0.39.3
jupyterlab-pygments 0.2.2
jupyterlab_server 2.16.3
jupyterlab-widgets 1.1.1
keras 2.10.0
Keras-Preprocessing 1.1.2
kiwisolver 1.4.4
libmambapy 1.0.0
llvmlite 0.39.1
locket 1.0.0
lxml 4.9.1
lz4 4.0.2
Mako 1.2.4
mamba 1.0.0
Markdown 3.4.1
MarkupSafe 2.1.1
matplotlib 3.6.2
matplotlib-inline 0.1.6
mistune 0.8.4
mpmath 1.2.1
msgpack 1.0.4
multidict 6.0.2
munkres 1.1.4
nbclassic 0.4.8
nbclient 0.5.13
nbconvert 6.5.3
nbdime 3.1.1
nbformat 5.7.0
nbtools 21.12
nest-asyncio 1.5.6
networkx 2.8.8
neurolab 0.3.5
notebook 6.5.2
notebook_shim 0.2.2
ntlm-auth 1.5.0
numba 0.56.4
numexpr 2.8.3
numpy 1.23.5
oauthlib 3.2.2
openpyxl 3.0.10
opt-einsum 3.3.0
oscrypto 1.2.1
outcome 1.2.0
packaging 21.3
pamela 1.0.0
pandas 1.5.2
pandocfilters 1.5.0
parso 0.8.3
partd 1.3.0
patsy 0.5.3
pexpect 4.8.0
pickleshare 0.7.5
Pillow 9.2.0
pip 22.3.1
pkgutil_resolve_name 1.3.10
platformdirs 2.5.4
plotly 5.11.0
pretty-html-table 0.9.11
prometheus-client 0.15.0
prompt-toolkit 3.0.33
protobuf 4.21.9
psutil 5.9.4
ptyprocess 0.7.0
pure-eval 0.2.2
pyarrow 9.0.0
pyasn1 0.4.8
pyasn1-modules 0.2.7
pycognito 2022.4.0
pycosat 0.6.4
pycparser 2.21
pycryptodomex 3.15.0
pycurl 7.45.1
pydantic 1.10.2
Pygments 2.13.0
PyJWT 2.6.0
pyOpenSSL 22.1.0
pyparsing 3.0.9
pyproj 3.4.0
pyrsistent 0.19.2
PySocks 1.7.1
python-dateutil 2.8.2
python-jose 3.3.0
python-json-logger 2.0.1
pytz 2022.6
pytz-deprecation-shim 0.1.0.post0
pyu2f 0.1.5
PyWavelets 1.3.0
PyYAML 6.0
pyzmq 24.0.1
requests 2.28.1
requests-ntlm 1.1.0
requests-oauthlib 1.3.1
requests-toolbelt 0.10.1
rpy2 3.5.6
rsa 4.9
ruamel.yaml 0.17.21
ruamel.yaml.clib 0.2.7
ruamel-yaml-conda 0.15.80
s3transfer 0.6.0
scikit-image 0.19.3
scikit-learn 1.1.3
scipy 1.9.3
seaborn 0.12.1
selenium 4.6.0
Send2Trash 1.8.0
setuptools 65.6.2
SharePlum 0.5.1
simpervisor 0.4
simplegeneric 0.8.1
six 1.16.0
smmap 3.0.5
sniffio 1.3.0
snowflake-connector-python 2.8.2
sortedcontainers 2.4.0
soupsieve 2.3.2.post1
SQLAlchemy 1.4.44
stack-data 0.6.1
statsmodels 0.13.5
sympy 1.11.1
tables 3.7.0
tblib 1.7.0
tenacity 8.1.0
tensorboard 2.10.1
tensorboard-data-server 0.6.0
tensorboard-plugin-wit 1.8.1
tensorflow 2.10.0
tensorflow-estimator 2.10.0
termcolor 2.1.1
terminado 0.17.0
terminaltables 3.1.10
threadpoolctl 3.1.0
tifffile 2022.10.10
tinycss2 1.2.1
tomli 2.0.1
toolz 0.12.0
tornado 6.2
tqdm 4.64.1
traitlets 5.5.0
trio 0.21.0
trio-websocket 0.9.2
typing_extensions 4.4.0
tzdata 2022.6
tzlocal 4.2
unicodedata2 15.0.0
urllib3 1.26.13
usp.common.data 5.1.1
usp.common.util 0.0.1
voila 0.4.0
wcwidth 0.2.5
webencodings 0.5.1
websocket-client 1.4.2
websockets 10.4
Werkzeug 2.2.2
wheel 0.38.4
widgetsnbextension 3.5.2
wrapt 1.14.1
wsproto 1.2.0
xlrd 2.0.1
XlsxWriter 3.0.3
xyzservices 2022.9.0
yarl 1.8.1
zict 2.2.0
zipp 3.10.0
I have already tried both versions of this solution ipywidgets==7.6.5 or ipywidgets==7.7.2 ipywidgets < 8 e.g. 7.7 cannot be installed with pip · Issue #3558 · jupyter-widgets/ipywidgets · GitHub
The individual environment for each user (from Zero to JupyterHub solution) starts with ipywidgets==8.0.2. The problem is that we may need another version <8, due to your problem with voila Nbconvert and voila no ipywidgets - General - Jupyter Community Forum
Cross-post https://discourse.jupyter.org/t/ipywidgets-are-not-displayed-with-javascript-error/16958
I am converting my python script (that works) to an installer using pyinstaller but as a result I obtain a black window and nothing happens. Is there any bug I should be aware ?
these are the libraries I am using in my conda environment
Name Version Build Channel
altgraph 0.17.2 pypi_0 pypi
argparse 1.4.0 pypi_0 pypi
auto-py-to-exe 2.18.0 pypi_0 pypi
azure-cognitiveservices-speech 1.20.0 pypi_0 pypi
bottle 0.12.19 pypi_0 pypi
bottle-websocket 0.2.9 pypi_0 pypi
brotlipy 0.7.0 py39hb82d6ee_1003 conda-forge
ca-certificates 2021.10.8 h5b45459_0 conda-forge
certifi 2021.10.8 py39hcbf5309_1 conda-forge
cffi 1.15.0 py39h0878f49_0 conda-forge
charset-normalizer 2.0.12 pyhd8ed1ab_0 conda-forge
colorama 0.4.4 pypi_0 pypi
colored 1.4.2 py_0 conda-forge
cryptography 36.0.2 py39h7bc7c5c_0 conda-forge
cycler 0.11.0 pypi_0 pypi
decorator 4.4.2 pypi_0 pypi
eel 0.12.4 pypi_0 pypi
fonttools 4.31.2 pypi_0 pypi
freetype 2.10.4 h546665d_1 conda-forge
future 0.18.2 pypi_0 pypi
gevent 21.12.0 pypi_0 pypi
gevent-websocket 0.10.1 pypi_0 pypi
gooey 1.0.8.1 py39h415ef7b_1 conda-forge
greenlet 1.1.2 pypi_0 pypi
idna 3.3 pyhd8ed1ab_0 conda-forge
imageio 2.16.1 pypi_0 pypi
imageio-ffmpeg 0.4.5 pypi_0 pypi
jbig 2.1 h8d14728_2003 conda-forge
jpeg 9e h8ffe710_0 conda-forge
kiwisolver 1.4.0 pypi_0 pypi
lcms2 2.12 h2a16943_0 conda-forge
lerc 3.0 h0e60522_0 conda-forge
libdeflate 1.10 h8ffe710_0 conda-forge
libpng 1.6.37 h1d00b33_2 conda-forge
libtiff 4.3.0 hc4061b1_3 conda-forge
libwebp 1.2.2 h57928b3_0 conda-forge
libwebp-base 1.2.2 h8ffe710_1 conda-forge
libxcb 1.13 hcd874cb_1004 conda-forge
libzlib 1.2.11 h8ffe710_1013 conda-forge
lxml 4.8.0 pypi_0 pypi
lz4-c 1.9.3 h8ffe710_1 conda-forge
m2w64-gcc-libgfortran 5.3.0 6 conda-forge
m2w64-gcc-libs 5.3.0 7 conda-forge
m2w64-gcc-libs-core 5.3.0 7 conda-forge
m2w64-gmp 6.1.0 2 conda-forge
m2w64-libwinpthread-git 5.0.0.4634.697f757 2 conda-forge
moviepy 1.0.3 pypi_0 pypi
msys2-conda-epoch 20160418 1 conda-forge
numpy 1.22.3 pypi_0 pypi
openjpeg 2.4.0 hb211442_1 conda-forge
openssl 1.1.1n h8ffe710_0 conda-forge
packaging 21.3 pypi_0 pypi
pandas 1.4.1 pypi_0 pypi
pathlib2 2.3.7.post1 py39hcbf5309_0 conda-forge
pefile 2021.9.3 pypi_0 pypi
pillow 9.0.1 py39ha53f419_2 conda-forge
pip 21.2.4 py39haa95532_0
proglog 0.1.9 pypi_0 pypi
psutil 5.9.0 py39hb82d6ee_0 conda-forge
pthread-stubs 0.4 hcd874cb_1001 conda-forge
pycparser 2.21 pyhd8ed1ab_0 conda-forge
pygtrie 2.4.2 pyhd3deb0d_0 conda-forge
pyinstaller 4.10 pypi_0 pypi
pyinstaller-hooks-contrib 2022.2 pypi_0 pypi
pyopenssl 22.0.0 pyhd8ed1ab_0 conda-forge
pyparsing 3.0.7 pypi_0 pypi
pypiwin32 223 pypi_0 pypi
pypubsub 4.0.3 py_0 conda-forge
pysocks 1.7.1 py39hcbf5309_4 conda-forge
python 3.9.7 h6244533_1
python-dateutil 2.8.2 pypi_0 pypi
python-pptx 0.6.21 pypi_0 pypi
python-pptx-interface 0.0.12 pypi_0 pypi
python_abi 3.9 2_cp39 conda-forge
pytz 2022.1 pypi_0 pypi
pywin32 303 pypi_0 pypi
pywin32-ctypes 0.2.0 pypi_0 pypi
requests 2.27.1 pyhd8ed1ab_0 conda-forge
setuptools 44.0.0 pypi_0 pypi
shiboken2 5.15.2.1 pypi_0 pypi
six 1.16.0 pyh6c4a22f_0 conda-forge
sqlite 3.38.0 h2bbff1b_0
tinyaes 1.0.3 pypi_0 pypi
tk 8.6.12 h8ffe710_0 conda-forge
tqdm 4.63.1 pypi_0 pypi
tzdata 2021e hda174b7_0
urllib3 1.26.9 pyhd8ed1ab_0 conda-forge
vc 14.2 h21ff451_1
vs2015_runtime 14.27.29016 h5e58377_2
wheel 0.37.1 pyhd3eb1b0_0
whichcraft 0.6.1 pypi_0 pypi
win_inet_pton 1.1.0 py39hcbf5309_3 conda-forge
wincertstore 0.2 py39haa95532_2
wxpython 4.1.1 py39h5cc5705_5 conda-forge
xlsxwriter 3.0.3 pypi_0 pypi
xorg-libxau 1.0.9 hcd874cb_0 conda-forge
xorg-libxdmcp 1.1.3 hcd874cb_0 conda-forge
xz 5.2.5 h62dcd97_1 conda-forge
zlib 1.2.11 h8ffe710_1013 conda-forge
zope-event 4.5.0 pypi_0 pypi
zope-interface 5.4.0 pypi_0 pypi
zstd 1.5.2 h6255e5f_0 conda-forge
What is the best way to install talos because whenever i am installing talos i am getting error as
[I 10:35:48.748 NotebookApp] Adapting to protocol v5.1 for kernel 7e583387-30ab-46fa-92b3-9aa67ee40139
[E 10:35:48.752 NotebookApp] Uncaught exception in /api/kernels/7e583387-30ab-46fa-92b3-9aa67ee40139/channels
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\tornado\websocket.py", line 498, in _run_callback
result = callback(*args, **kwargs)
File "C:\Users\User\AppData\Roaming\Python\Python36\site-packages\notebook\services\kernels\handlers.py", line 258, in open
super(ZMQChannelsHandler, self).open()
File "C:\Users\User\AppData\Roaming\Python\Python36\site-packages\notebook\base\zmqhandlers.py", line 168, in open
self.send_ping, self.ping_interval, io_loop=loop,
TypeError: __init__() got an unexpected keyword argument 'io_loop'
I have been using google colab for sometime but i recently switched back to jupyter notebook for my project.
I remember i installed "Anaconda3-5.2.0-Windows-x86_64" on my windows 10 Laptop
List of packages:
(base) C:\Windows\system32>conda list
# packages in environment at C:\Users\XXXX\Anaconda3:
#
# Name Version Build Channel
_ipyw_jlab_nb_ext_conf 0.1.0 py36he6757f0_0
alabaster 0.7.10 py36hcd07829_0
anaconda 5.2.0 py36_3
anaconda-client 1.6.14 py36_0
anaconda-navigator 1.8.7 py36_0
anaconda-project 0.8.2 py36hfad2e28_0
asn1crypto 0.24.0 py36_0
astroid 1.6.3 py36_0
astropy 3.0.2 py36h452e1ab_1
attrs 18.1.0 py36_0
babel 2.5.3 py36_0
backcall 0.1.0 py36_0
backports 1.0 py36h81696a8_1
backports.shutil_get_terminal_size 1.0.0 py36h79ab834_2
beautifulsoup4 4.6.0 py36hd4cc5e8_1
bitarray 0.8.1 py36hfa6e2cd_1
bkcharts 0.2 py36h7e685f7_0
blas 1.0 mkl
blaze 0.11.3 py36h8a29ca5_0
bleach 2.1.3 py36_0
blosc 1.14.3 he51fdeb_0
bokeh 0.12.16 py36_0
boto 2.48.0 py36h1a776d2_1
bottleneck 1.2.1 py36hd119dfa_0
bzip2 1.0.6 hfa6e2cd_5
ca-certificates 2018.03.07 0
certifi 2018.4.16 py36_0
cffi 1.11.5 py36h945400d_0
chardet 3.0.4 py36h420ce6e_1
click 6.7 py36hec8c647_0
cloudpickle 0.5.3 py36_0
clyent 1.2.2 py36hb10d595_1
colorama 0.3.9 py36h029ae33_0
comtypes 1.1.4 py36_0
conda 4.5.4 py36_0
conda-build 3.10.5 py36_0
conda-env 2.6.0 h36134e3_1
conda-verify 2.0.0 py36h065de53_0
console_shortcut 0.1.1 h6bb2dd7_3
contextlib2 0.5.5 py36he5d52c0_0
cryptography 2.2.2 py36hfa6e2cd_0
curl 7.60.0 h7602738_0
cycler 0.10.0 py36h009560c_0
cython 0.28.2 py36hfa6e2cd_0
cytoolz 0.9.0.1 py36hfa6e2cd_0
dask 0.17.5 py36_0
dask-core 0.17.5 py36_0
datashape 0.5.4 py36h5770b85_0
decorator 4.3.0 py36_0
distributed 1.21.8 py36_0
docutils 0.14 py36h6012d8f_0
entrypoints 0.2.3 py36hfd66bb0_2
et_xmlfile 1.0.1 py36h3d2d736_0
fastcache 1.0.2 py36hfa6e2cd_2
filelock 3.0.4 py36_0
flask 1.0.2 py36_1
flask-cors 3.0.4 py36_0
freetype 2.8 h51f8f2c_1
get_terminal_size 1.0.0 h38e98db_0
gevent 1.3.0 py36hfa6e2cd_0
glob2 0.6 py36hdf76b57_0
greenlet 0.4.13 py36hfa6e2cd_0
h5py 2.7.1 py36h3bdd7fb_2
hdf5 1.10.2 hac2f561_1
heapdict 1.0.0 py36_2
html5lib 1.0.1 py36h047fa9f_0
icc_rt 2017.0.4 h97af966_0
icu 58.2 ha66f8fd_1
idna 2.6 py36h148d497_1
imageio 2.3.0 py36_0
imagesize 1.0.0 py36_0
intel-openmp 2018.0.0 8
ipykernel 4.8.2 py36_0
ipython 6.4.0 py36_0
ipython_genutils 0.2.0 py36h3c5d0ee_0
ipywidgets 7.2.1 py36_0
isort 4.3.4 py36_0
itsdangerous 0.24 py36hb6c5a24_1
jdcal 1.4 py36_0
jedi 0.12.0 py36_1
jinja2 2.10 py36h292fed1_0
jpeg 9b hb83a4c4_2
jsonschema 2.6.0 py36h7636477_0
jupyter 1.0.0 py36_4
jupyter_client 5.2.3 py36_0
jupyter_console 5.2.0 py36h6d89b47_1
jupyter_core 4.4.0 py36h56e9d50_0
jupyterlab 0.32.1 py36_0
jupyterlab_launcher 0.10.5 py36_0
kiwisolver 1.0.1 py36h12c3424_0
lazy-object-proxy 1.3.1 py36hd1c21d2_0
libcurl 7.60.0 hc4dcbb0_0
libiconv 1.15 h1df5818_7
libpng 1.6.34 h79bbb47_0
libsodium 1.0.16 h9d3ae62_0
libssh2 1.8.0 hd619d38_4
libtiff 4.0.9 hb8ad9f9_1
libxml2 2.9.8 hadb2253_1
libxslt 1.1.32 hf6f1972_0
llvmlite 0.23.1 py36hcacf6c6_0
locket 0.2.0 py36hfed976d_1
lxml 4.2.1 py36heafd4d3_0
lzo 2.10 h6df0209_2
m2w64-gcc-libgfortran 5.3.0 6
m2w64-gcc-libs 5.3.0 7
m2w64-gcc-libs-core 5.3.0 7
m2w64-gmp 6.1.0 2
m2w64-libwinpthread-git 5.0.0.4634.697f757 2
markupsafe 1.0 py36h0e26971_1
matplotlib 2.2.2 py36h153e9ff_1
mccabe 0.6.1 py36hb41005a_1
menuinst 1.4.14 py36hfa6e2cd_0
mistune 0.8.3 py36hfa6e2cd_1
mkl 2018.0.2 1
mkl-service 1.1.2 py36h57e144c_4
mkl_fft 1.0.1 py36h452e1ab_0
mkl_random 1.0.1 py36h9258bd6_0
more-itertools 4.1.0 py36_0
mpmath 1.0.0 py36hacc8adf_2
msgpack-python 0.5.6 py36he980bc4_0
msys2-conda-epoch 20160418 1
multipledispatch 0.5.0 py36_0
navigator-updater 0.2.1 py36_0
nbconvert 5.3.1 py36h8dc0fde_0
nbformat 4.4.0 py36h3a5bc1b_0
networkx 2.1 py36_0
nltk 3.3.0 py36_0
nose 1.3.7 py36h1c3779e_2
notebook 5.5.0 py36_0
numba 0.38.0 py36h830ac7b_0
numexpr 2.6.5 py36hcd2f87e_0
numpy 1.14.3 py36h9fa60d3_1
numpy-base 1.14.3 py36h555522e_1
numpydoc 0.8.0 py36_0
odo 0.5.1 py36h7560279_0
olefile 0.45.1 py36_0
openpyxl 2.5.3 py36_0
openssl 1.0.2o h8ea7d77_0
packaging 17.1 py36_0
pandas 0.23.0 py36h830ac7b_0
pandoc 1.19.2.1 hb2460c7_1
pandocfilters 1.4.2 py36h3ef6317_1
parso 0.2.0 py36_0
partd 0.3.8 py36hc8e763b_0
path.py 11.0.1 py36_0
pathlib2 2.3.2 py36_0
patsy 0.5.0 py36_0
pep8 1.7.1 py36_0
pickleshare 0.7.4 py36h9de030f_0
pillow 5.1.0 py36h0738816_0
pip 10.0.1 py36_0
pkginfo 1.4.2 py36_1
pluggy 0.6.0 py36hc7daf1e_0
ply 3.11 py36_0
prompt_toolkit 1.0.15 py36h60b8f86_0
psutil 5.4.5 py36hfa6e2cd_0
py 1.5.3 py36_0
pycodestyle 2.4.0 py36_0
pycosat 0.6.3 py36h413d8a4_0
pycparser 2.18 py36hd053e01_1
pycrypto 2.6.1 py36hfa6e2cd_8
pycurl 7.43.0.1 py36h74b6da3_0
pyflakes 1.6.0 py36h0b975d6_0
pygments 2.2.0 py36hb010967_0
pylint 1.8.4 py36_0
pyodbc 4.0.23 py36h6538335_0
pyopenssl 18.0.0 py36_0
pyparsing 2.2.0 py36h785a196_1
pyqt 5.9.2 py36h1aa27d4_0
pysocks 1.6.8 py36_0
pytables 3.4.3 py36he6f6034_1
pytest 3.5.1 py36_0
pytest-arraydiff 0.2 py36_0
pytest-astropy 0.3.0 py36_0
pytest-doctestplus 0.1.3 py36_0
pytest-openfiles 0.3.0 py36_0
pytest-remotedata 0.2.1 py36_0
python 3.6.5 h0c2934d_0
python-dateutil 2.7.3 py36_0
pytz 2018.4 py36_0
pywavelets 0.5.2 py36hc649158_0
pywin32 223 py36hfa6e2cd_1
pywinpty 0.5.1 py36_0
pyyaml 3.12 py36h1d1928f_1
pyzmq 17.0.0 py36hfa6e2cd_1
qt 5.9.5 vc14he4a7d60_0 [vc14]
qtawesome 0.4.4 py36h5aa48f6_0
qtconsole 4.3.1 py36h99a29a9_0
qtpy 1.4.1 py36_0
requests 2.18.4 py36h4371aae_1
rope 0.10.7 py36had63a69_0
ruamel_yaml 0.15.35 py36hfa6e2cd_1
scikit-image 0.13.1 py36hfa6e2cd_1
scikit-learn 0.19.1 py36h53aea1b_0
scipy 1.1.0 py36h672f292_0
seaborn 0.8.1 py36h9b69545_0
send2trash 1.5.0 py36_0
setuptools 39.1.0 py36_0
simplegeneric 0.8.1 py36_2
singledispatch 3.4.0.3 py36h17d0c80_0
sip 4.19.8 py36h6538335_0
six 1.11.0 py36h4db2310_1
snappy 1.1.7 h777316e_3
snowballstemmer 1.2.1 py36h763602f_0
sortedcollections 0.6.1 py36_0
sortedcontainers 1.5.10 py36_0
sphinx 1.7.4 py36_0
sphinxcontrib 1.0 py36hbbac3d2_1
sphinxcontrib-websupport 1.0.1 py36hb5e5916_1
spyder 3.2.8 py36_0
sqlalchemy 1.2.7 py36ha85dd04_0
sqlite 3.23.1 h35aae40_0
statsmodels 0.9.0 py36h452e1ab_0
sympy 1.1.1 py36h96708e0_0
tblib 1.3.2 py36h30f5020_0
terminado 0.8.1 py36_1
testpath 0.3.1 py36h2698cfe_0
tk 8.6.7 hcb92d03_3
toolz 0.9.0 py36_0
tornado 5.0.2 py36_0
traitlets 4.3.2 py36h096827d_0
typing 3.6.4 py36_0
unicodecsv 0.14.1 py36h6450c06_0
urllib3 1.22 py36h276f60a_0
vc 14 h0510ff6_3
vs2015_runtime 14.0.25123 3
wcwidth 0.1.7 py36h3d5aa90_0
webencodings 0.5.1 py36h67c50ae_1
werkzeug 0.14.1 py36_0
wheel 0.31.1 py36_0
widgetsnbextension 3.2.1 py36_0
win_inet_pton 1.0.1 py36he67d7fd_1
win_unicode_console 0.5 py36hcdbd4b5_0
wincertstore 0.2 py36h7fe50ca_0
winpty 0.4.3 4
wrapt 1.10.11 py36he5f5981_0
xlrd 1.1.0 py36h1cb58dc_1
xlsxwriter 1.0.4 py36_0
xlwings 0.11.8 py36_0
xlwt 1.3.0 py36h1a4751e_0
yaml 0.1.7 hc54c509_2
zeromq 4.2.5 hc6251cf_0
zict 0.1.3 py36h2d8e73e_0
zlib 1.2.11 h8395fce_2
I am very sure there is some version problem.
If you can suggest me what version of ananconda to install i will remove my all old packages using 'Uninstall-Anaconda3.exe' under C:\Users\XXXX\Anaconda3
Oh i forgot i have tried installing talos by
pip install talos
pip install git+https://github.com/autonomio/talos.git#daily-dev
Trying to run sls but the salt tells me the function is not available
My sls. Must create a mongodump file
create-dump:
module.run:
- name: docker.run
- m_name: mongo
- cmd: 'mongodump --out=/Mongodump
when i'm run salt minion state.sls sls
i see:
ID: create-dump
Function: module.run
Name: docker.run
Result: False
Comment: Module function docker.run is not available
Started: 06:03:40.273781
Duration: 728.234 ms
Changes:
--Versions
Salt Version:
Salt: 3000
Dependency Versions:
cffi: 1.9.1
cherrypy: 3.5.0
dateutil: 2.5.3
docker-py: 4.3.1
gitdb: 2.0.0
gitpython: 2.1.1
Jinja2: 2.8
libgit2: 0.24.5
M2Crypto: Not Installed
Mako: 1.0.6
msgpack-pure: Not Installed
msgpack-python: 0.4.8
mysql-python: 1.3.7
pycparser: 2.17
pycrypto: 2.6.1
pycryptodome: Not Installed
pygit2: 0.24.2
Python: 3.5.3 (default, Jul 9 2020, 13:00:10)
python-gnupg: 0.3.9
PyYAML: 3.12
PyZMQ: 16.0.2
smmap: 2.0.1
timelib: Not Installed
Tornado: 4.5.3
ZMQ: 4.2.1
System Versions:
dist: debian 9.6
locale: UTF-8
machine: x86_64
release: 4.9.0-8-amd64
system: Linux
version: debian 9.6
tried pip3 uninstall docker - not work
If i'm reboot server docker-py downgrade to 1.10.6 version
Make sure python-docker is installed on the minion.
I am trying to install a library pycryptodome on the salt master using pip and post installation version report doesn't show it correctly. However what i notice is the the version of the new installation get updated against pycrypto and not pycryptodome.
Do i need to reload anything. Or is there another way to install it ?
Below the version report.
ro#salt:~$ sudo salt --versions-report
Salt Version:
Salt: 3000.2
Dependency Versions:
cffi: Not Installed
cherrypy: Not Installed
dateutil: 2.4.2
docker-py: Not Installed
gitdb: 0.6.4
gitpython: 1.0.1
Jinja2: 2.8
libgit2: Not Installed
M2Crypto: Not Installed
Mako: Not Installed
msgpack-pure: Not Installed
msgpack-python: 0.6.2
mysql-python: Not Installed
pycparser: Not Installed
pycrypto: 2.6.1
pycryptodome: Not Installed
pygit2: Not Installed
Python: 3.5.2 (default, Apr 16 2020, 17:47:17)
python-gnupg: 0.3.8
PyYAML: 3.11
PyZMQ: 15.2.0
smmap: 0.9.0
timelib: Not Installed
Tornado: 4.5.3
ZMQ: 4.1.4
System Versions:
dist: Ubuntu 16.04 xenial
locale: ANSI_X3.4-1968
machine: x86_64
release: 4.4.0-178-generic
system: Linux
version: Ubuntu 16.04 xenial
Below report is after pip3 installation of pycryptodome. You can notice the version of pycrypto changed to 3.9.7 from 2.6.1
ro#salt:~$ salt --versions-report
Salt Version:
Salt: 3000.2
Dependency Versions:
cffi: Not Installed
cherrypy: Not Installed
dateutil: 2.4.2
docker-py: Not Installed
gitdb: 0.6.4
gitpython: 1.0.1
Jinja2: 2.8
libgit2: Not Installed
M2Crypto: Not Installed
Mako: Not Installed
msgpack-pure: Not Installed
msgpack-python: 0.6.2
mysql-python: Not Installed
pycparser: Not Installed
pycrypto: 3.9.7
pycryptodome: Not Installed
pygit2: Not Installed
Python: 3.5.2 (default, Apr 16 2020, 17:47:17)
python-gnupg: 0.3.8
PyYAML: 3.11
PyZMQ: 15.2.0
smmap: 0.9.0
timelib: Not Installed
Tornado: 4.5.3
ZMQ: 4.1.4
System Versions:
dist: Ubuntu 16.04 xenial
locale: ANSI_X3.4-1968
machine: x86_64
release: 4.4.0-178-generic
system: Linux
version: Ubuntu 16.04 xenial
ro#salt:~$
I was able to solve this problem with help from my colleague. The documentation for pycryptodome says that its drop-in replacement for pycrypto which is the reason it displays that way. Installing pycryptodomex will recognize pycryptodome as a standalone package.
ro#salt:~$ sudo salt --versions-report
Salt Version:
Salt: 3000.2
Dependency Versions:
cffi: Not Installed
cherrypy: Not Installed
dateutil: 2.4.2
docker-py: Not Installed
gitdb: 0.6.4
gitpython: 1.0.1
Jinja2: 2.8
libgit2: Not Installed
M2Crypto: Not Installed
Mako: Not Installed
msgpack-pure: Not Installed
msgpack-python: 0.6.2
mysql-python: Not Installed
pycparser: Not Installed
pycrypto: Not Installed
pycryptodome: 3.9.7
pygit2: Not Installed
Python: 3.5.2 (default, Apr 16 2020, 17:47:17)
python-gnupg: 0.3.8
PyYAML: 3.11
PyZMQ: 15.2.0
smmap: 0.9.0
timelib: Not Installed
Tornado: 4.5.3
ZMQ: 4.1.4
System Versions:
dist: Ubuntu 16.04 xenial
locale: UTF-8
machine: x86_64
release: 4.4.0-178-generic
system: Linux
version: Ubuntu 16.04 xenial