IBM / ibm-cos-sdk-python

ibm-cos-sdk-python
Apache License 2.0
44 stars 26 forks source link

Can't Install Aspera Python Package cos-aspera on power machines #30

Closed shobhit0511 closed 4 years ago

shobhit0511 commented 4 years ago

Receiving error attempting to install package:

sudo pip install cos-aspera Collecting cos-aspera Could not find a version that satisfies the requirement cos-aspera (from versions: ) No matching distribution found for cos-aspera

ENV : RHEL 7.6 UBI image Python 2.7 & Python 3.6

wbhuberIBM commented 4 years ago

@shobhit0511 -

Python 2.7 is no longer supported (retired). Can you do a python --version to indicate which minor version of python you are running for 3.6? Could you also try checking if pip3 works for you?

shobhit0511 commented 4 years ago

@wbhuberIBM python 3.6.8, no pip3 is also not working.

[root@hb-power-jenkins1 ~]# pip3 install cos-aspera WARNING: Running pip install with root privileges is generally not a good idea. Try pip3 install --user instead. Collecting cos-aspera Cache entry deserialization failed, entry ignored Could not find a version that satisfies the requirement cos-aspera (from versions: ) No matching distribution found for cos-aspera

wbhuberIBM commented 4 years ago

@shobhit0511, after digging up some more, cos-aspera is not supported on RHEL, only ubuntu, see the following supported platforms: https://cloud.ibm.com/docs/services/cloud-object-storage?topic=cloud-object-storage-aspera#aspera-sdk-platforms

Can you switch over to use ubuntu?

shobhit0511 commented 4 years ago

@wbhuberIBM we are getting error for python :

from ibm_s3transfer.aspera.manager import AsperaTransferManager File "/usr/lib/python2.7/site-packages/ibm_s3transfer/aspera/manager.py", line 36, in from ibm_s3transfer.aspera.futures import AsperaTransferCoordinator File "/usr/lib/python2.7/site-packages/ibm_s3transfer/aspera/futures.py", line 29, in raise ImportError("Aspera SDK not installed") ImportError: Aspera SDK not installed

shobhit0511 commented 4 years ago

on py-pi repo this package is available only for :

image
shobhit0511 commented 4 years ago

I need it for ppc64le too.

wbhuberIBM commented 4 years ago

@shobhit0511 - The COS SDK (the repo that is based here) uses Aspera libraries (cos-aspera) underneath that are platform dependent and that the Aspera libraries currently do not have support for the platform of interest. We will bring this up with the Aspera team and get back to you.

To track this internally: CSAFE-66078

rtveitch commented 4 years ago

Closing this ticket for now; power architecture is on the backlog but there is currently no planned support for this platform.