-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
When trying to run the notebook using Python 3.5, I got an error on the import line:
from itssutils.itssdata import RawITSSData, ITSSMetrics
Traceback (most recent call last):
File "/Users/jqi/anaconda3/envs/itss/lib/python3.5/site-packages/IPython/core/interactiveshell.py", line 3265, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "<ipython-input-1-6c0eb0622d0b>", line 2, in <module>
from itssutils.itssdata import RawITSSData, ITSSMetrics
File "/Users/jqi/anaconda3/envs/itss/lib/python3.5/site-packages/itssutils/itssdata.py", line 12, in <module>
from .loader.load_raw import load_data, load_multiple_years
File "/Users/jqi/anaconda3/envs/itss/lib/python3.5/site-packages/itssutils/loader/load_raw.py", line 54
print(f'Loading previously processed data from {new_file_path}...')
^
SyntaxError: invalid syntax
I believe it's because in this line you're using Python's f-strings, which is a new feature in Python 3.6 but not available in previous versions.
I don't think it is documented or enforced anywhere as a requirement.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels