-
Notifications
You must be signed in to change notification settings - Fork 12
Closed
Description
On Windows, an error is thrown when attempting to import from a file created by bmipy-render. To reproduce it, try these steps:
- Clone the bmi-python repo and install bmipy from source.
- From the command line (I used the Git Bash shell), use
bmipy-renderto create a new file for a MyBmi class:
$ bmipy-render MyBmi > mybmi.py
- Try to import the class from the module:
$ python -c "from mybmi import MyBmi"
The result is an error, with message
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\Mark\projects\bmi-python\mybmi.py", line 539
"""
^
SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0x93 in position 483: invalid start byte
Metadata
Metadata
Assignees
Labels
No labels