vatlab / sos

SoS workflow system for daily data analysis
http://vatlab.github.io/sos-docs
BSD 3-Clause "New" or "Revised" License
274 stars 45 forks source link

doesn't work with python 3.9 on macbook pro m1 with conda install. #1505

Closed bayeslearner closed 1 year ago

bayeslearner commented 1 year ago

The bash kernel won't run correctly:

image
/opt/homebrew/Caskroom/miniforge/base/envs/sos-env/lib/python3.9/site-packages/sos_notebook/kernel.py:1216: RuntimeWarning: coroutine 'ZMQSocketChannel.msg_ready' was never awaited
  while self.KC.shell_channel.msg_ready():
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
/opt/homebrew/Caskroom/miniforge/base/envs/sos-env/lib/python3.9/site-packages/sos_notebook/kernel.py:1217: RuntimeWarning: coroutine 'ZMQSocketChannel.get_msg' was never awaited
  self.KC.shell_channel.get_msg()
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
BoPeng commented 1 year ago

This is caused by incompatible versions of supporting libraries such as pykernel. Could you try to run pip install XXX -U for all jupyter related packages?

bayeslearner commented 1 year ago

i was using conda, not directly through pip. Mixing it could break other packages. Did you try?

BoPeng commented 1 year ago

What is the version of sos-notebook in conda? Did you try conda updte -c conda-forge sos-notebook?

BoPeng commented 1 year ago

I have just released sos-notebook 0.2.40 and new versions of all language modules. Please let me know if the problem persists after upgrading to these versions.