• Register
1 vote
18 views

Problem:

I've installed Python 3.4 and Python 3.6 on my local machine successfully but am unable to install packages with pip3.

 

pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting <package>
  Could not fetch URL https://pypi.python.org/simple/<package>/: 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 <package> (from versions: )
No matching distribution found for <package>

 

12 7 7
15,250 points

Please log in or register to answer this question.

1 Answer

1 vote
 
Best answer

 

Solution:

I am assuming that you have installed python in your machine already. To install pip3 follow the steps below carefully:

Open your terminal and follow these commands sequentially.

sudo apt install python3-pip
pip3 --version
pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)

Congratulation. You’ve installed pip3  on your machine.

 

In case you are using a Windows-based OS:

 1) you can download python again on the official website;

2) Navigate to the directory where "Python 3.7 (64-bit).lnk"is located

3) import ssl and exit()

4) type in cmd, "Python 3.7 (64-bit).lnk" -m pip install tensorflow for instance.

Here, you're all set.

13 9 6
94,240 points

Related questions

0 votes
1 answer 18 views
18 views
Problem: I've install Python 3.4 and Python 3.6 on my local machine successfully, but am unable to install packages with pip3. When I execute pip3 install <package>, I get the following SSL related error: pip is configured with locations that require TLS/SSL, ... matching distribution found for <package> How can I fix my Python3.x install so that I can install packages with pip install <package>?
asked Jan 9 Mashhoodch 5.7k points
1 vote
1 answer 210 views
210 views
Problem : I am beginner to Python. Currently if I try to use the request module to have the urls text then I often face below Error: Traceback (most recent call last):  File "/usr/local/lib/python3.6/site-packages/requests-2.18.1-py3.5.egg/requests/adapters.py" ... to get the url's text to parse it. Please find below my line of code for your reference: mytext = requests.get(detail_path).mytext
asked May 2, 2020 stewart 4k points
1 vote
1 answer 43 views
43 views
Problem: I have a python project located at C:\Users\ASUS\Documents\OPO\aoi.py But when I try to run this project: C:\Users\ASUS\Documents\OPO\aoi.py, line 55, in __init__ self.serv = socket(AF_INET,SOCK_STREAM) TypeError: 'module' object is not callable Why am I getting this type of error message. Can anyone explain me this thing.
asked Apr 4, 2020 LizzyM 6.1k points
0 votes
1 answer 137 views
137 views
Problem : With my two classes I want to connect to the MySQL database. But, I always get below error: Wed Dec 04 10:46:52 CET 2019 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ ... public void close(){ if(conn != null){ try { conn.close(); } catch (SQLException e) { e.printStackTrace(); } } } }
asked Dec 4, 2019 alecxe 7.5k points
0 votes
1 answer 10 views
10 views
Problem: I am having problems while loading my favourite series on netflixand it gives an error, please help me solve this error or tell me a method to solve this error instanlty. Thanks in advance.
asked Dec 5, 2020 sasha 5.3k points
0 votes
1 answer 175 views
175 views
Problem: I have very recently integrated my Tomcat 7 in Eclipse. If I start Tomcat 7 using Eclipse then it shows that my Tomcat is up and running but if I go to http://localhost:8080 in the browser then it gives me following error: HTTP Status 404 - / type Status report ... is already in use by some other service but that did not work either for me. How can I fix above error related to Tomcat 7?
asked Aug 2, 2020 Raphael Pacheco 4.9k points
0 votes
1 answer 778 views
778 views
Problem: Installation failed: Can&rsquo;t Install the Software I am getting following message like: A software update is required to connect to your iPhone. Would you like to download and install this updatenow? Use of this software is subject to the original Software ... the software because it si not currently available from the softwre update server. Can any one help to sort this issue out?
asked Jul 16, 2020 quizzBabes 160 points
0 votes
1 answer 115 views
115 views
Problem : I am using my home network to share my files between devices in my household with no problem, but very recently I had to re-install the Windows 10, after that, no devices were shown under the Network in File Explorer. I can surely ping my devices ... Home network System error 6118 has occurred. The list of servers for this workgroup is not currently available. What seems to be a problem?
asked Feb 3, 2020 jwilliam 3.9k points
1 vote
1 answer 22 views
22 views
Problem : I have created the web application and trying to host my site using the wordpress. But when I try to search the name of my site in goole it is showing me below error : A description for this result is not available because of this site's robots.txt the ... I know nothing about that error if someone could help me here Why is this happening to my site. Is there any problem in my site?
asked Dec 27, 2019 alecxe 7.5k points
0 votes
1 answer 27 views
27 views
Problem: What protocol below is a Microsoft proprietary protocol first available in windows vista? A) L2TP B) PPTP C) TTLS D) SSTP
asked Mar 9, 2020 ArifulIslam 5.6k points