UPS-API / UPS-SDKs

UPS has developed Software Development Kits (SDKs) to be used as a low-code solution for customers wishing to integrate with UPS APIs. These SDKs support the Auth-Code and Client Credentials flows for OAuth token creation.
MIT License
2 stars 0 forks source link

Unable to install Python Wheel File #2

Open pauljohnj opened 5 days ago

pauljohnj commented 5 days ago

Issue Report Template for OAuth SDK

Issue Summary

Please provide a brief summary of the issue you're encountering.

Steps to Reproduce

Installing the Python client credential wheel file via "pip install" command.

Error Code/Message

ERROR: ups_oauth_client_credential_sdk-1.0.whl is not a valid wheel filename.

Environment

python version 3.12 & 3.13 -sdk v1.0

Additional Information

Include any other relevant details that might help diagnose the issue..

If the issue persists or if you need immediate assistance, please email our support team at UPSOauthSDKsupport@ups.com with the details provided above.

Thank you for using OAuth SDK!

UPSMichael commented 3 days ago

Hi, thank you for reaching out. This SDK is not available in the Python Package Index, or other repositories. Please ensure you have downloaded the .whl file and point your installation command to the correct directory.

pauljohnj commented 11 hours ago

Hi there.

I'm using the command "pip install ups_oauth_client_credential_sdk-1.0.whl" in the directory where the .whl file exists and I am getting an error there. See image below:

image

Is there a mistake in the install command? Thank you!

UPSMichael commented 11 hours ago

Can you try using the path to the file instead of just the file name? From your screenshot, this would look like pip install D:/Job Stuff/Venus/UPS/ups_oauth_client_credential_sdk-1.0.whl

pauljohnj commented 11 hours ago

I tried just now. image

It looked like the space was an issue so I retried with quotes but it unfortunately still gave the same error.

UPSMichael commented 10 hours ago

I got it to work by removing the -1.0.whl from the command.