Musicbot: Error installing Pip on Raspbian

Created on 24 Feb 2017  路  6Comments  路  Source: Just-Some-Bots/MusicBot

I am on a Raspberry Pi 3 B with a fresh image of Raspbian Jessie. I get an error while trying to install Pip. I have followed all prior instructions in the Raspbian installation guide and received no errors. When I run the command sudo python3.5 get-pip.py I receive the following error:

pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.

Collecting pip
Could not fetch URL https://pypi.python.org/simple/pip/: There was a problem confirming the ssl certificate: Can't connect to HTTPS URL because the SSL module is not available. - skipping

Could not find a version that satisfies the requirement pip (from versions: ) No matching distribution found for pip

help wanted

Most helpful comment

sudo apt-get install python3-pip

try this,it worked for me..

All 6 comments

mm Im having issues aswell to compile..

having the same problem...

sudo apt-get install python3-pip

try this,it worked for me..

I tried install libssl-dev openssl

and python3-pip,

nothing works for me .

It's still the same issue.

Reposting my own comment. Pip just dont work on a pi using python 3.5

I also had al lot of issues on my pi3.
Download Python-3.6.1.tar.xz from https://www.python.org/

Unzip the file and keep the folder in home directory.

Open terminal in that directory and perform the following commands:
./configure
make
make test
sudo make install
This will install Python 3.6 but pip3 may not be working.Install necessary modules using:
sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev

Now write the following to re run the installation (EDIT: USE -j4 FOR ALL CORES, WHICH IS ACTUALLY JUST 50% CPU):
sudo make
sudo make install

Now this, even if its again... (If pip3 is not working try pip)
sudo pip3 install numpy
sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev

If not working, do not uninstall a thing but follow the ubuntu 16 guide.

Then try some of my codes again.

I do not have a really good guide because i tried installing the bot and it tooks more than 3 days. Some of these codes fixed it for me. Running 3 bots using python3.6

I had the same issue as reported by caseydulong.
I was following Argos-Rho's instructions but it did not solve the problem.
Next I deinstalled python 3.6.0 from my RPi with Wheezy OS (Linux raspberrypi 4.1.19+ #858 Tue Mar 15 15:52:03 GMT 2016 armv6l GNU/Linux).
I followed GeoZzNL's steps to the first sudo make install.
Thereafter, the issue was gone and I could do the intended installation using "sudo pip3 install virtualenv".

Thank you very much for these hints, I would have had NO chance to solve that myself.

Greetings
Werner

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Dani064g picture Dani064g  路  6Comments

depthbomb picture depthbomb  路  4Comments

FireFrostLike picture FireFrostLike  路  4Comments

Player808 picture Player808  路  4Comments

TylerTCBB picture TylerTCBB  路  3Comments