-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors installing Emscripten during setup steps on a Windows machine #359
Comments
Hello, I had the same problem using git-bash environment. nano ~/.bashrc to edit it and add at the end of the file this line to add it as alias and saved. After a restart of the git-bash environment it worked. If you use a windows terminal as CMD, I would create a python3.bat file and edit it to add these lines @echo off then procceed to add the folder of the bat file at the environment PATH variables in Windows settings. |
Hi @MSDRL, it looks like from the first screenshots that you have installed Emscripten separately yourself using Chocolatey, is that correct? If so, then when you run the Note that we have recently added support for generating pure JavaScript code by default in part to avoid these issues you’re facing with Emscripten on Windows. New users who simply want to evaluate SDEverywhere should not have to worry about these steps and can get up and running faster when Wasm is not involved. These changes have not yet been “npm published” but will be published the week of July 8. To summarize, you can either try my suggestion above about skipping the step, or wait a couple weeks at which point these install issues should go away. |
@MSDRL: To follow up on my last comments, the changes I was referring to have been published, so now if you follow the Quick Start instructions, when it asks you if you want to use WebAssembly, select "no" (the default) and it will create a project that uses JavaScript only (no Emscripten or generation of WebAssembly required). See the August 2024 Updates announcement for more details. I still plan to smooth out this issue with Emscripten installation on Windows, but for most projects, the generated JavaScript code will be sufficient to get started, and compiling to WebAssembly can always be configured later if needed for faster model execution. |
Discussed in #358
Originally posted by andyhe958 September 25, 2023
Hi everyone,
I have been trying to run SDEverywhere from command prompt on a Windows machine but came across an error below when installing Emscripten. It suggests Python is not found, but in fact I do have Python 3.11 installed.
Then I went on to disable the app alias for Python as suggested, but I got a second error, which seems to contradict with the first error:
I have since managed to install Emscripten separately, not as part of the SDEverywhere setup steps, and it was installed successfully. I think I would post this here to help others potentially in a similar situation, and to help with further configuration of this tool for Windows.
The text was updated successfully, but these errors were encountered: