You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Andes is falling when detecting NumPy versions because it may contain literals like "rc" at the end.
To Reproduce
pip install numpy==1.20.0rc2 pip install andes andes prep
Expected behavior
The following output appears:
Saved generated pycode to "/Users/urielsandoval/.andes/pycode"
Loaded generated Python code in "/Users/urielsandoval/.andes/pycode".
Traceback (most recent call last):
File "/usr/local/bin/andes", line 33, in
sys.exit(load_entry_point('andes', 'console_scripts', 'andes')())
File "/Users/urielsandoval/Nextcloud/dev/andes/andes/cli.py", line 211, in main
return func(cli=True, **vars(args))
File "/Users/urielsandoval/Nextcloud/dev/andes/andes/main.py", line 728, in prepare
system.prepare(quick=quick, incremental=incremental, models=models,
File "/Users/urielsandoval/Nextcloud/dev/andes/andes/system.py", line 316, in prepare
self.dill()
File "/Users/urielsandoval/Nextcloud/dev/andes/andes/system.py", line 1351, in dill
np_ver = tuple([int(i) for i in np_ver])
File "/Users/urielsandoval/Nextcloud/dev/andes/andes/system.py", line 1351, in
np_ver = tuple([int(i) for i in np_ver])
ValueError: invalid literal for int() with base 10: '0rc2'
The text was updated successfully, but these errors were encountered:
Andes is falling when detecting NumPy versions because it may contain literals like "rc" at the end.
To Reproduce
pip install numpy==1.20.0rc2
pip install andes
andes prep
Expected behavior
The following output appears:
The text was updated successfully, but these errors were encountered: