Closed jgieseler closed 2 years ago
Hello @jgieseler, you are facing two issues here.
pip install git+https://github.com/SciQLop/speasy
spz.config.cache_path.get()
).I hope this helps, Alexis.
Hi @jeandet, thanks for the quick reply!
pre-release
), and keep the main
one untouched?So, I guess this issue #27 will vanish when you release version 0.10.0.
@jgieseler,
I agree our Documentation is not great. We should be more clear about what is in main and what is released. The more we progress, the less we should change the code, the better our documentation will be ;).
Then hopefully next release will officially introduce dynamic inventories.
The more we progress, the less we should change the code, the better our documentation will be ;).
I'll keep fingers crossed, but this is an optimistic approach. Work is never over! 😅
0.10.0 is out :)
Description
The example using the dynamic inventory does not work because module 'speasy' has no attribute 'inventory'.
What I Did
First create a clean Python 3.9 environment with conda, install speasy via pip, and start python:
Then in python:
I get the same result when using Python 3.8.12 (starting with
conda create --name speasy_test python=3.8
).Using Python 3.6 or 3.7 completely fails to import speasy at all (
ValueError: unsupported pickle protocol: 5
), while importing with Python 3.5 causes anSyntaxError: invalid syntax
. So the Python requirements according on pypi might need an update, too.