Skip to content
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

Reinstall Error: ".../emsdk/python/3.9.2_64bit/bin/python3: No such file or directory" #1435

Open
djryanash opened this issue Aug 16, 2024 · 1 comment

Comments

@djryanash
Copy link

My C++ project has been unable to run:

#include <emscripten.h>

Possibly due to me putting /emsdk/ in an unusual place:

/Users/<username>/developer/emsdk/

So I moved emscripten to:

/usr/local/emsdk/

It still didn't work, so I uninstalled emscipten by deleting the directory (as suggested on this very GitHub repo).

Then I one through the install steps again but it won't progress beyond this point:

>> cd usr/local/emsdk 
…/emsdk🔒 on  main via 🐍 v3.12.5 
>> ./emsdk install latest                
./emsdk: line 39: /Users/<username>/developer/emsdk/python/3.9.2_64bit/bin/python3: No such file or directory
./emsdk: line 39: exec: /Users/<username>/developer/emsdk/python/3.9.2_64bit/bin/python3: cannot execute: No such file or directory
…/emsdk🔒 on  main via 🐍 v3.12.5 

Some context:

>> which python3
/Library/Frameworks/Python.framework/Versions/3.12/bin/python3

Running zsh on MacOS 14.4.1

@sbc100
Copy link
Collaborator

sbc100 commented Aug 19, 2024

Is EMSDK_PYTHON set in your environment perhaps? Can you trying unsetting it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants