chovanecm / sacredboard

Dashboard for sacred. Monitor and access your past machine learning experiments.
MIT License
184 stars 39 forks source link

Invalid syntax error when running on Mac #99

Closed wu9tiger closed 6 years ago

wu9tiger commented 6 years ago

It is identical error for issue #89. But I couldn't get it to work. Python is already latest at 2.7.15 and sacredboard is also latest at 0.4.0

sacredboard

Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/bin/sacredboard", line 11, in load_entry_point('sacredboard==0.4.0', 'console_scripts', 'sacredboard')() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/init.py", line 480, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/init.py", line 2693, in load_entry_point return ep.load() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/init.py", line 2324, in load return self.resolve() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/init.py", line 2330, in resolve module = import(self.module_name, fromlist=['name'], level=0) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sacredboard/init.py", line 3, in from sacredboard import bootstrap File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sacredboard/bootstrap.py", line 105 "for more information.", file=sys.stderr) ^ SyntaxError: invalid syntax

chovanecm commented 6 years ago

Hi, thank you for providing the log and information. Python 2.7 is very old (8 years now) and not supported by Sacredboard. Sacredboard has been tested with Python 3.5 and Python 3.6 (but I guess it should work with 3.7 too)