datatap-python icon indicating copy to clipboard operation
datatap-python copied to clipboard

No matching distribution found for datatap

Open Tylersuard opened this issue 5 years ago • 7 comments

ERROR: Could not find a version that satisfies the requirement datatap ERROR: No matching distribution found for datatap

Python 3.7.6

Tylersuard avatar Jan 07 '21 06:01 Tylersuard

Thanks for filing an issue! Can you provide which command produced this, as well as which operating system it was run under?

zwade avatar Jan 07 '21 15:01 zwade

This was on a Kaggle notebook, !pip3 install Datatap. I was also unable to install it in a Colab notebook, same process and same error.

Tylersuard avatar Jan 07 '21 19:01 Tylersuard

Is there any chance that your Kaggle notebook is not connected to the internet, or is using a different environment than the default? On a fresh Kaggle notebook, once internet access have been enabled, !pip3 install datatap works without issue.

zwade avatar Jan 07 '21 20:01 zwade

Ahh thank you! I feel like a dummy, I did not know I had to turn on the internet in a Kaggle notebook. I usually work with Colab. I am following your tutorial and it asks for my API key. Where do I find that?

Tylersuard avatar Jan 07 '21 21:01 Tylersuard

Ok actually I found it

Tylersuard avatar Jan 07 '21 21:01 Tylersuard

Sorry for being annoying. How do I view a dataset in droplet format? I would like to see how the droplet format compares to standard formats like COCO and Pascal VOC.

Tylersuard avatar Jan 07 '21 21:01 Tylersuard

Glad you figured it out! There's no raw code preview yet in the platform, but you can use the raw API to see the JSON. That would look something like

from datatap.api.endpoints import ApiEndpoints

endpoints = ApiEndpoints()
generator = endpoints.dataset.stream_split(
  database_uid,
  namespace, # probably "_"
  name,
  tag, # probably "latest",
  split, # "training" or "validation",
  chunk, # probably 0
  nchunks, # 1, if you want the full data
)

print(next(generator))

zwade avatar Jan 07 '21 23:01 zwade