Clarifai / clarifai-python

Experience the power of Clarifai’s AI platform with the python SDK. 🌟 Star to support our work!

Home Page:https://github.com/Clarifai/clarifai-python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to run "clarifai config" under Windows 10

arcontechnologies opened this issue · comments

Dear,

Seems that you are missing the steps to configure with clarifai client under windows 10.

The python package installed : clarifai-2.0.20

thanks for your feedback.

Hi @arcontechnologies

Thanks for reporting the issue and sorry to hear it's not working correctly under Windows 10. From te symptom it should be PATH related issue if you cannot find the command. However, I will need to find a Windows machine to reproduce and see how it could work. I will get back to you as soon as I could.

@robertwenquan
thanks for the feedback, I finally got it.
When installing with pip it didn't install "scripts" folder where "clarifai" file reside. So the trick was to :

1 - copy scripts folder into clarifai folder
2 - run /scripts/python clarifai config (and enter client keys)

and I was able to make a request via :

from clarifai.rest import ClarifaiApp
app = ClarifaiApp()
app.tag_files(['C:/Users/Desktop/Documents/metro.jpg'])

@arcontechnologies glad to hear it's working for you. I will find a Windows instance to check what happens there and make the fix afterwards.

commented

This is really important for Windows python users! Thank you @arcontechnologies!

It will be addressed in the document of v2.0.21
closing the ticket.

commented

This is nice! @robertwenquan