I’m having trouble executing scripts on my machine.
Yesterday I started doing a tutorial with a generative rhino script.
I could execute scripts, debug them, step in and over. But once I saved the file the scripts would no longer execute.
When I run the script I get the following error:
G:\1 ^ SyntaxError: unexpected token ':'
the script is saved on drive G in folder “G:\1) Documents\ … \scriptname.py”
So I can see why it’s saying G:\1. I just can’t for the life of me figure out why it would not run scripts saved in particular locations, or why it would say the error is on line 1.
What I’ve tried so far:
- Adding the folder to the Module Search Paths list (doesn’t work when it is, also doesn’t work when it isn’t )
- Restarting Rhino
- Restarting Windows
- Copy pasting the code in a new untitled file (does work!)
- Rhino is installed on the C:\ drive
- Rhino version: Version 6 SR12 (6.12.19029.6381, 1/29/2019)