Accessing github.com/adafruit

Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Locked
User avatar
jawed
 
Posts: 6
Joined: Sat Sep 19, 2015 12:14 pm

Accessing github.com/adafruit

Post by jawed »

Hello,

I'm trying to download the software/lib for the DHT22 sensor. When I try to execute..

git clone https://github.com/adafruit/Adafruit_Python_DHT.git

It asks for username and password for 'https:/github.com:' I did create a login for github, is that what's its asking for ?? when I enter that it gives a error 403. Would appreciate any help!

Thanks!

User avatar
GerardWassink
 
Posts: 29
Joined: Tue Sep 08, 2015 5:52 am

Re: Accessing github.com/adafruit

Post by GerardWassink »

Not sure as to why this would not work, but the README states:
Install the library by downloading with the download link on the right, unzipping the archive, and executing:

Code: Select all

sudo python setup.py install

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Accessing github.com/adafruit

Post by adafruit_support_mike »

Use 'http:' rather than 'https:' in the URL.

When you use a secure connection, Github issues an authentication challenge. A regular HTTP connection will just download the files.

User avatar
jawed
 
Posts: 6
Joined: Sat Sep 19, 2015 12:14 pm

Re: Accessing github.com/adafruit

Post by jawed »

Thanks both the contributor for your help. It worked.

Thanks again!

User avatar
sysfrank
 
Posts: 5
Joined: Wed Dec 01, 2010 10:36 am

Re: Accessing github.com/adafruit

Post by sysfrank »

Hi,
For some reason when I try to get the libraries for the 16x2 display to use with the Raspberry Pi from git I'm getting this error:

pi@BANNED:~ $ git clone http://github.com/adfruit/Adafruit_Python_CharLCD.git
Cloning into 'Adafruit_Python_CharLCD'...
Username for 'https://github.com':
Password for 'https://github.com':
remote: Repository not found.
fatal: Authentication failed for 'https://github.com/adfruit/Adafruit_Python_CharLCD.git/'

I found in the forums a suggestion that I try http instead of https in the url, which I did; but, it still does the challenge for username and password.

What should I use there?

Frank

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Accessing github.com/adafruit

Post by adafruit_support_mike »

There's an 'a' missing from 'adfruit' in the URL.

Try this one:

https://github.com/adafruit/Adafruit_Python_CharLCD.git

User avatar
sysfrank
 
Posts: 5
Joined: Wed Dec 01, 2010 10:36 am

Re: Accessing github.com/adafruit

Post by sysfrank »

Thank you, very much.

Mea culpa

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Accessing github.com/adafruit

Post by adafruit_support_mike »

Sometimes it just takes another set of eyes. ;-)

Locked
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

Return to “Adafruit Raspberry Pi® accessories”