简体   繁体   中英

How to install spoonacular python package

I'm trying to use the spoonacular python API found here https://github.com/ddsky/spoonacular-api-clients/tree/master/python

However, I can't seem to figure out how to install it in a virtualenv. I'm used to installing packages using pip. So when the instructions say to install like this:

pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git

do I need to save this directory ( https://github.com/ddsky/spoonacular-api-clients/tree/master/python ) to my own GitHub repo?

Any help would be greatly appreciated!

You're right something is strange, I tried a more direct approach:

  1. First activate your virtual environment
  2. Clone repo: git clone https://github.com/ddsky/spoonacular-api-clients.git
  3. Install the package manually:

$ cd spoonacular-api-clients/python

$ python setup.py install

It should work: 在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM