I would expect riskparityportfolios to work in jupyter notebooks and in lab as it has done before. Oddly I have found in the past that if I make import riskparityportfolio as rp the first line in the notebook, it works. But this is no longer reliable (seems to no longer work). Using it in a script works fine.
Environment:
platform (e.g. Linux, OSX, Windows): Ubuntu 21.10
riskparityportfolio version (e.g. 1.1): riskparityportfolio 0.2
Python: Conda Python 3.9
installation method (e.g. pip, source): pip and the dev version via git clone (as advised in another issue)
Problem description
Hi! I'm getting the following error when importing riskparityportfolio in Jupyter Notebooks or in Jupyter Lab.
Example
or
...as was advised in another issue.
Expected behavior
I would expect riskparityportfolios to work in jupyter notebooks and in lab as it has done before. Oddly I have found in the past that if I make import riskparityportfolio as rp the first line in the notebook, it works. But this is no longer reliable (seems to no longer work). Using it in a script works fine.
Environment:
Thanks in advance for taking a look!