Problem installing the SSD1306 python library on a BBB

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
pjr
 
Posts: 12
Joined: Sun Apr 17, 2011 2:33 pm

Problem installing the SSD1306 python library on a BBB

Post by pjr »

I get the following error when running the final step of the install:
python ez_setup.py install:

# opkg python ez_setup.py install

Downloading https://pypi.python.org/packages/source ... -3.5.1.zip
Traceback (most recent call last):
File "ez_setup.py", line 332, in <module>
sys.exit(main())
File "ez_setup.py", line 327, in main
downloader_factory=options.downloader_factory,
File "ez_setup.py", line 287, in download_setuptools
downloader(url, saveto)
File "ez_setup.py", line 194, in download_file_curl
_clean_check(cmd, target)
File "ez_setup.py", line 157, in _clean_check
subprocess.check_call(cmd)
File "/usr/lib/python2.7/subprocess.py", line 511, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['curl', 'https://pypi.python.org/packages/source ... -3.5.1.zip', '--silent', '--output', '/home/root/Adafruit_Python_SSD1306-master/setuptools-3.5.1.zip']' returned non-zero exit status 77


Earlier, the installation had complained about contextlib.py not being found. I downloaded and installed it. Is that the problem?

Thank you

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Problem installing the SSD1306 python library on a BBB

Post by adafruit_support_rick »

Please see this post:
http://forums.adafruit.com/viewtopic.ph ... 97#p299330

You actually want to run setup.py, not ez_setup.py

User avatar
pjr
 
Posts: 12
Joined: Sun Apr 17, 2011 2:33 pm

Re: Problem installing the SSD1306 python library on a BBB

Post by pjr »

Oops!

Thanks, Rick. I'll give it a try tonight.

Locked
Please be positive and constructive with your questions and comments.

Return to “Beagle Bone & Adafruit Beagle Bone products”