Skip to content

Troubleshooting

If you’re having issues with Quantreo, here are the most common fixes.


Installation problems

ModuleNotFoundError: No module named 'quantreo'
→ Make sure the library is installed and your virtual env is active:

pip install quantreo

ImportError: cannot import name ...
→ You’re using an old version. Update Quantreo:

pip install -U quantreo

Compatibility

Quantreo officially supports Python 3.10 – 3.13. Use 3.11 for full stability.


Runtime errors

KeyError: 'close'
→ Your DataFrame must have the correct column names or specify them explicitly:

future_returns_sign(df, close_col="Close")

Still stuck?


Tip: Always use the latest version

pip install -U quantreo