How to set python environment for Github python Repositories (saleweaver) - ashish-greycube/help GitHub Wiki
Steps to set-up python environment
-
Download zip file from Github repository
-
Open that folder in editor (ex. VS Code)
-
Open terminal in VS Code :
Create python virtual environment
$ virtualenv sp_api
Activate virtualenv
$ source sp_api/bin/activate
Install all requirements
$ pip install -r requirements.txt
To create new endpoint file
- give full path of make_endpoint
- raw path of json file
$ /home/greycube/Downloads/python-amazon-sp-api-master/sp_api/bin/python /home/greycube/Downloads/python-amazon-sp-api-master/make_endpoint/make_endpoint https://raw.githubusercontent.com/amzn/selling-partner-api-models/main/models/fulfillment-inbound-api-model/fulfillmentInboundv2024-03-20.json