How to install Oauth2.0 for python in Ubuntu

Hi, I have my own downloaded simplegeo-python-oauth2-debian-1.5.211-0-ga83f4a2.tar.gz. I don't know how to install it for python in ubuntu. can anyone help?

+6
source share
2 answers

Extract and run:

python setup.py build sudo python setup.py install 
+12
source

If you don't have tools to configure python, you will need the command below

 $ sudo apt-get install python-setuptools 

Then just create a setup in python environment

 $ python setup.py build 

When you are done, install.

 $ sudo python setup.py install 
+4
source

Source: https://habr.com/ru/post/906626/


All Articles