You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clara McIntyre edited this page Mar 6, 2022
·
6 revisions
Troubleshooting SMILER for Windows
Line endings
One possible error one might encounter when trying to run SMILER in WSL is an issue with the line endings of the files when trying to run Windows files in Linux.
If you encounter the following error when trying to run SMILER you likely have a line ending issue:
/usr/bin/env: ‘python\r’: No such file or directory
To fix this, sudo install dos2unix using
sudo apt install dos2unix
Then run the following command to convert your file endings to Linux endings
dos2unix **
Quotation mark errors
When running SMILER from the CLI, it seems that it is picky about what type of quotation marks you use. So if your computer defaults to using “”, make sure to use "" to wrap your model names instead.
Troubleshooting MATLAB Engine API for Python Installation
Installing MATLAB Engine for a specific Python version
MATLAB Engine API for Python can only be installed for specific versions of Python, thus, if your default Python path is not compatible with the Engine API you must install the Engine for a different Python version. To do this, follow the general installation instructions but with a slight modification to your python setup.py install line. The modification is as follows
sudo 'desired Python version path' setup.py install