metacall / install

Cross-platform set of script to install MetaCall infrastructure.
https://metacall.io
Apache License 2.0
13 stars 13 forks source link

Installation Error (windows): Path Whitespace Causing Command Recognition Issues (install.ps1, script) #30

Closed RohanKrMahato closed 1 month ago

RohanKrMahato commented 1 month ago

I encountered an issue while running the MetaCall installation script on a Windows PC where the user name contains whitespace. Specifically, the installation fails with the following error:

'C:\Users\ <first word of the user name>' is not recognized as an internal or external command, operable program or batch file.

Steps to Reproduce

  1. Use a Windows PC with a user name that includes spaces (e.g., Rohan Kumar Mahato).
  2. Run the MetaCall installation script.
  3. Observe the error message indicating that the path is not recognized.

Expected Behavior

The script should handle paths with spaces correctly, allowing the installation to proceed without errors.

Actual Behavior

The installation stops, and the error message prevents further execution of the script.

Screenshot 2024-10-10 192425