Volatility-Trading-Strategies-Capstone
Python 3.12.7
pd.version’2.2.2’
import data_modules.quantra_analytics as qa
ModuleNotFoundError: No module named ‘empyrical’
OSError: ‘seaborn-darkgrid’ is not a valid package style, path of style file, URL of style file, or library style name (library styles are listed in style.available
)
Hi Durdu,
-
ModuleNotFoundError: No module named ‘empyrical’
You can install empyrical using the following command:
pip install empyrical-reloaded
-
OSError: ‘seaborn-darkgrid’ is not a valid package style
Change plt.style.use('seaborn-darkgrid')
to plt.style.use('seaborn-v0_8-darkgrid')
These changes should resolve the errors. Please let us know if you still face any issues.
1 Like
I installed Python 3,9,7 and now it doesn’t work at all
Python 3.9.5, all codes work here. I couldn’t find this version, where can I find it?
Hi Durdu,
Can you please share some more details about the issue that you are facing? For example, are you trying to install the quantra environment and facing errors or are you trying to install the standalone Python version etc. and other details.
1 Like