AttributeError: 'module' object has no attribute 'HTTPSConnection'

0 votes

I am trying to run one python script in command line. I installed python in my system. Still I got this below error.

AttributeError: 'module' object has no attribute 'HTTPSConnection'

How can I solve this error?

Apr 20 in Python by akhtar
• 10,580 points
119 views

1 answer to this question.

0 votes

Hi@akhtar,

You have to install openssl and openssl-devel before you install python2.6. You can simply install those packages and re-install python. 

$ yum install openssl openssl-devel

Hope this will help you.

answered Apr 20 by MD
• 23,050 points

Related Questions In Python

0 votes
1 answer

Getting AttributeError: 'module' object (scipy) has no attribute 'misc' in Python. How to solve this?

>>> import scipy >>> scipy.misc Traceback (most recent call ...READ MORE

answered Dec 24, 2018 in Python by Nymeria
• 3,540 points
3,025 views
0 votes
1 answer

Python error "AttributeError: '_Screen' object has no attribute 'mainloop'" python module turtle

Hey @Nagya, replace  wn.mainlopp() with turtle.mainloop() ...READ MORE

answered Jun 19, 2019 in Python by Faiza
964 views
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 6, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 947 views
0 votes
0 answers
+4 votes
6 answers
0 votes
1 answer

AttributeError: type object 'numpy.ndarray' has no attribute '__array_function__'

Hi@akhtar, I think numpy version is not compatible ...READ MORE

answered Apr 13 in Python by MD
• 23,050 points
180 views
0 votes
1 answer

AttributeError: module 'numpy' has no attribute '__version__'

Hi@akhtar, To avoid this error you can use ...READ MORE

answered Apr 20 in Python by MD
• 23,050 points
666 views