Closed chenkasirer closed 11 months ago
Hi chekasirer, I am getting the same error on a Microsoft Windows 11 Pro for Workstations
Runtime error (SyntaxErrorException): unexpected token 'from'
Traceback:
line 26, in
@Farzanbnh We release a new compas LTS version very very soon containing a fix for this. In the meantime, you could uninstall ladybug if you need a quick solution.
@Farzanbnh we just released compas 1.17.7
, it's already on pip, conda will still take some more hours but you could already try to update your environment with the pip release and that should solve the problem
Describe the bug On some computers, when attempting to import
compas
inside GHPython, getting the following error:This would typically happen when installing COMPAS to Rhino for the first time.
To Reproduce Steps to reproduce the behavior:
python -m compas_rhino.install
compas
Expected behavior
compas
should be imported successfully.Desktop (please complete the following information):
Additional context This has been spotted to happen where
numpy
is available insys.path
inside GH. This can be the case when, but not necessarily always, Ladybug is installed (since it downloads a python3 interpreter and adds itssite-packges
tosys.path
).