I'm installing python 3.3 on Suse Linux EC2 instance on amazon. The instance has already python 2.6 installed, so after installation of python 3.3 I work on virtual environment.
When I run easy_install-3.3
in the virtual environment, I get the following error:
Download error on https://pypi.python.org/simple/: unknown url type: https -- Some packages may not be found!
Note that: easy_install
is working fine without the virtual env., so on Python 2.6 it's OK.
After making some search, I found posts advising that ssl might not be installed properly. So from python shell when I run: import SSL
I get:
import ssl
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.3/ssl.py", line 60, in <module>
import _ssl # if we can't import it, let the error propagate
ImportError: No module named _ssl
According to the posts, I tried to edit Modules/Setup.dist before building Python 3.3 to include _ssl.c
in the build as recommended in:
ImportError: No module named _ssl
Now, after make clean & make & make install of Python 3.3 I get errors for ssl and crypto libraries linking:
cannot find -lssl
cannot find -lcrypto
I assume it comes from this line in Setup.dist:
_ssl _ssl.c \
-DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \
-L$(SSL)/lib -lssl -lcrypto
One last info: openssl_cents
is already installed on suse linux
Any ideas how to fix this problem?