How to check your environment required for Qamuy Client SDK

You will need the following to use Qamuy Client SDK:

  • Python (version 3.6 or higher)

  • Internet connection

Checking Python version

To find out what version of Python you have, issue the following command.

$ python -V
Python 3.7.4

Qamuy Client SDK requires Python version 3.6 or higher. If the version of Python displayed in the above command is 2.x.x, then try the python3 command:

$ python3 -V

If you can run this command, replace the python command in this article with python3 to use Python 3.

Check your Internet connection

To see if you can connect to the Internet, run the following:

$ python -c "import urllib.request as r;print(r.urlopen('http://python.org').getcode())"

If the result is 200, you have a normal connection to the Internet.

If you need to go through a proxy

Set the HTTP_PROXY environment variable with the following command (on Linux, mac or UNIX-like environments).

$ export HTTP_PROXY=http://username:password@proxyserver:8080

After setting it up, please follow the “Check your internet connection” instructions above to check your connection.