Using the example from:
I need to install the gsql_client but I get this exception executing it from Windows Powershell:
PS D:\Apps\DockerData> pip install gsql_client
pip : The term 'pip' is not recognized as the name of a cmdlet, function, script file,
or operable program. Check the spelling of the name, or if a path was included, verify
that the path is correct and try again.
At line:1 char:1
+ pip install gsql_client
+ ~~~
+ CategoryInfo : ObjectNotFound: (pip:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Evidently I need to do this because when I run the python sample example from this URL I get this exception:
Message=No module named 'gsql_client'
Any help would be great. I’m not an Apple, Unix, python developer/user so its a slow start. c#, wcf, sql is my background.
Thank you for your help and patience.
Are you specifically looking for a python connector? That is a connector that allows you to call TigerGraph while working in Python.
If this is your first time calling your TigerGraph instance via a REST call I would give this part of the docs a really good once over https://docs.tigergraph.com/dev/restpp-api
@gpadvorac This is the hello world of REST calls in TigerGraph curl -X GET "http://localhost:9000/echo
Yes, I think that’s what I’m looking for. I’ve coded a little in in Python and was hoping I could make the example work found at:
If I can make that work then maybe I can make it work in a .net c# project as there are no code examples for .net.
There are a few Python connectors out there, but the one the community most actively uses is the pyTigerGraph https://pypi.org/project/pyTigerGraph/
pip install pytigergraph
I’ve used this connector many times with Juypter & Google Colab doing, Data manipulation, Machine Learning, and Graph Convolution Neural Networks
More python TG tools https://github.com/tigergraph/ecosys/blob/master/docs/awesome.md#python
Here are a few notebooks https://colab.research.google.com/drive/1sYv3Jvc6KYsqC4D-Rxkvjh4iPnrp4rg7
https://colab.research.google.com/drive/1yXg1UTJynjLKmdCvVNm_ldvurTR6szGN
https://colab.research.google.com/drive/1AySc1Coq6VAjsp0LN2Ih3GQVFLR8hL0R
Those are old lab’s and you would need to make modifications to interact with your instance.
George,
If I understood your first post correctly, Windows could not find pip
that is needed to install Python modules. pip
should be installed with your Python (for newer Python versions), but have a look at these instructions in case it was not.