munki / macadmin-scripts

Scripts of possible interest to macOS admins
Other
2.33k stars 523 forks source link

No such file or directory #122

Closed Tb3986 closed 1 year ago

Tb3986 commented 1 year ago

Untitled

Hello, i have a stupid error. When i launch the command: sudo ./installinstallmacos.py i get this: No such file or directory

I already installed python 3.10. Any tips? OS: Monterey v12.7

Thanks

gregneagle commented 1 year ago

Did you install Python where the script can find it, or edit the script to use the Python you installed? If python is not in your PATH, you'll need to take steps to get it in your path. Alternately you can do:

sudo /path/to/your/installed/python ./installinstallmacos.py

You can see if the python you installed is in your PATH by typing

which python
gregneagle commented 1 year ago

Closing due to lack of engagement from issue reporter.