15.ai-Python-API icon indicating copy to clipboard operation
15.ai-Python-API copied to clipboard

problems installing python3

Open TismoDito opened this issue 4 years ago • 2 comments

How can I install Python3 in Google Colab without facing these 2 errors?

  1. ERROR: Could not find a version that satisfies the requirement fifteen_api (from versions: none)
  2. ERROR: No matching distribution found for fifteen_api

TismoDito avatar Mar 20 '22 20:03 TismoDito

Apologies for not noticing your issue earlier.

This api wrapper is not distributed as a installable python package. To use it, you have to download fifteen_api.py or copy in any way you like locally.

Then in the same folder where you copied it, create your .py file. There you will be able to import it by from fifteen_api import FifteenAPI

Sorry for the inconvenience.

wafflecomposite avatar Apr 15 '22 14:04 wafflecomposite

If for some reason it causes problems in the Google Colab specifically - I can't tell you how to solve it, since I haven't worked with it, however there absolutely should be an option to import classes from a local file since it's a pretty basic thing to do

wafflecomposite avatar Apr 15 '22 14:04 wafflecomposite