cancel
Showing results for 
Search instead for 
Did you mean: 

HTTPS not working on SLES HANA Box (python easy_install / pip)

0 Kudos

Hi,

I am trying to install some python packages using either pip or easy_install, but neither works when they are trying to download dependencies via https. I get the following error, for instance:

"Download error on https://pypi.python.org/simple/setup.py/: unknown url type: https -- Some packages may not be found!"

How can this be solved / or how can I force HTTP instead of HTTPS?

Thanks!

Best regards,

Alexander

Accepted Solutions (0)

Answers (1)

Answers (1)

fabian_herschel
Participant
0 Kudos

Which python packages do you need? Maybe its better to register the system and to install the python package from the ofiicial SUSE repositories. In that case also this libraries stay supported. Or do you want to install the libraries/packages as non-os installation (like to be used in your apllication only)?

0 Kudos

Hi Fabian,

I would like to install Fabric ( http://www.fabfile.org/ ) for the HDB user. The HDB user has its own python installation. Not sure whether a system wide installation would work here.

I used zypper to search for fabric but it was not found.

fabian_herschel
Participant
0 Kudos

Ok could you give me the concrete pip command you are running, so I could reproduce that?

0 Kudos

The command is

"pip install fabric"

Thanks,

Alexander

fabian_herschel
Participant
0 Kudos

The local python installation of your user, do you have python 2.7.8 as I could see it for a SAP HANA

user with SPS11?

0 Kudos

Yes, python version is 2.7.8 (HDB user)

fabian_herschel
Participant
0 Kudos

Then you have (nearly) exact the same situation. In my environemnt I could reproduce the problem. However I could not change the SAP shipping (as I am from SUSE). I have also checked and so far I did not found any possibility to use http instead of https - I think they blocked http to avoid shipping of un-authorized software and maybe software-installation-security could be one of their thoughts. Better would be howwever to have something like "signed" packages, but that is more complex for a community and could be better archived, if you have one point which signs the packages.

Still doing some research, but I think I have no short or nearby solution for you. Best would be a SAP

python-update to python 2.7.9 (if I remember the version corrrectly) than pip would be onsite and then I would also expect ssl to work properly.

0 Kudos

ok, thanks Fabian.

let me know if you find something out.