import problems

This is the place for queries that don't fit in any of the other categories.

import problems

Postby softgore » Mon Apr 22, 2013 11:46 am

Hello,
This command:
Code: Select all
import oauth2

returns the following
Traceback (most recent call last):
File "<pyshell#6>", line 1, in <module>
import oauth2
ImportError: No module named oauth2


I have tried various ways to install oauth2 in windows but the problem persists.

In the directory C:\Python27\Lib\site-packages i find various files that
may be result of the installations -> oauth2-1.5.211-py2.7

Please tell me some certain way to install it or some way to edit the existent files so that the import works.
Thank you in advance
softgore
 
Posts: 1
Joined: Mon Apr 22, 2013 11:34 am

Re: import problems

Postby setrofim » Mon Apr 22, 2013 12:17 pm

The recommended way to install python packages is with pip:
Code: Select all
pip install oauth2
setrofim
 
Posts: 288
Joined: Mon Mar 04, 2013 7:52 pm


Return to General Coding Help

Who is online

Users browsing this forum: No registered users and 4 guests

cron