Hey there,
Since the recent “research” image update for lean, trying to run the following command throws an exception:
lean research <PROJECT_NAME> --update
Pulling quantconnect/research:latest...
latest: Pulling from quantconnect/research
Digest: sha256:738018cd183913360f1d9ea06686097cdd8b26c6021f9a231fb5d17a88306344
Status: Image is up to date for quantconnect/research:latest
docker.io/quantconnect/research:latest
Starting JupyterLab, access in your browser at localhost:8888
Traceback (most recent call last):
File "/opt/miniforge3/bin/jupyter-lab", line 6, in <module>
from jupyterlab.labapp import main
File "/opt/miniforge3/lib/python3.6/site-packages/jupyterlab/labapp.py", line 15, in <module>
from jupyter_server.serverapp import flags
File "/opt/miniforge3/lib/python3.6/site-packages/jupyter_server/serverapp.py", line 83, in <module>
from jupyter_server.services.sessions.sessionmanager import SessionManager
File "/opt/miniforge3/lib/python3.6/site-packages/jupyter_server/services/sessions/sessionmanager.py", line 22, in <module>
from jupyter_server.traittypes import InstanceFromClasses
File "/opt/miniforge3/lib/python3.6/site-packages/jupyter_server/traittypes.py", line 7, in <module>
from traitlets.utils.descriptions import describe
ModuleNotFoundError: No module named 'traitlets.utils.descriptions'
DipTrader
Not sure if this helps but its currently working fine for me with these versions on the latest Lean CLI, which versions are you running ?
Erez Tison
Thank you DipTrader for trying to help.
As per the support team request I'm describing here my system info as it might be related:
I tried re-installing lean-cli package, deleting all quantconnect/research + quantconnect/lean images and containers, then installing everything from scratch but unfortunately it does seem to solve the problem.
“lean backtest” works great, and “lean research” was working great too on this same machine until about a week, probably until the quantconnect/research docker image was updated.
Erez Tison
Update:
I was able to resume working by download and using docker image "quantconnect/research:13865" (published at May 2nd), it seems that the succeeding image 13874 (published May 3rd) is the first to introduce the problem.
Martin Molinero
Hey Erez Tison!
Thanks for the report. We have pushed a fix for this issue, arm64 `quantconnect/research:latest` is now working correctly. Thanks again!
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
Erez Tison
Thank you Martin Molinero, now works great for me too!
Erez Tison
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!