Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

On this page
Help Center/ ModelArts/ Troubleshooting/ APIs or SDKs/ "ERROR: Could not install packages due to an OSError" Occurred During ModelArts SDK Installation

"ERROR: Could not install packages due to an OSError" Occurred During ModelArts SDK Installation

Updated on 2024-06-11 GMT+08:00

Symptom

When ModelArts SDKs are installed, the following error message is displayed: "ERROR: Could not install packages due to an OSError: [WinError 2] The system cannot find the file specified: 'c:\python39\Scripts\ephemeral-port-reserve.exe' -> 'c:\python39\Scripts\ephemeral-port-reserve.exe.deleteme".

Possible Causes

The role of the login user is incorrect.

Solution

Log in to the system as the administrator, press Windows+R, enter cmd, and run the following command:

python -m pip install --upgrade pip

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback