Intel® Distribution for Python*
Support and discussions for achieving faster Python* applications and core computational packages.
Announcements
Intel Customer Support will be observing the Martin Luther King holiday on Monday, Jan. 17, and will return on Tues. Jan. 18.
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646
373 Discussions

Intel Python Linux offline installer fails silently when bzip2 is not available.

user02
Novice
1,513 Views

When running the offline, single component "Intel Distribution for Python for Linux" installer (l_pythoni37_oneapi_p_2021.1.1.44_offline.sh) on a system that lacks bzip2, but that has tar and gzip, the installer will complete successfully and write all status as success to the log. However, multiple components will be missing, including the python binaries. This creates quite a mysterious state for the user.

The installer needs to be patched to detect and report when dependencies are missing.

Example installation command (note that --install-dir can be left out and still reproduce the behavior):

./l_pythoni37_oneapi_p_2021.1.1.44_offline.sh -a \
--eula accept \
--install-dir ${wherever} \
--silent

Installer distributed by Intel from: https://software.intel.com/content/www/us/en/develop/articles/oneapi-standalone-components.html#pyth...

A use case that leads to this behavior is the use of minimal OS bootstrapping of containers. For example, the "centos:7/7.7/7.7.1908" base from Sylabs Cloud provides a Singularity container base that lacks bzip2 by default. Ideally, the installer would perform a check of all dependencies at start and enumerate them all up front. This would make it easier to add them to the OS base as a pre-requisite to the installation.

Labels (1)
0 Kudos
1 Solution
AthiraM_Intel
Moderator
1,401 Views

Hi,


Sorry for the delay. We would like to inform you that this issue will be fixed in the future releases.



Thanks.


View solution in original post

11 Replies
AthiraM_Intel
Moderator
1,486 Views

Hi,


Thanks for reaching out to us.

We are checking on the issue.

Could you please share the reproducer code, so that we can try out the same from our end.


Thanks.


user02
Novice
1,484 Views

Steps to reproduce:

1. Start with a CentOS 7 (or other Linux distribution) installation that does not have bzip2. Alternatively, uninstall the bzip2 package from an existing installation.

2. Install Intel Python using the installer and command from my original post.

3. Observe that the log reports all success, but that the python interpreter was not installed.

AthiraM_Intel
Moderator
1,456 Views

Hi,


We are able to reproduce the issue. Thanks for reporting this issue.

We will inform the concerned team regarding this and will keep you posted on updates.


Thanks



user02
Novice
1,451 Views

That is great. Thanks! I am looking forward to the fix.

AthiraM_Intel
Moderator
1,402 Views

Hi,


Sorry for the delay. We would like to inform you that this issue will be fixed in the future releases.



Thanks.


View solution in original post

user02
Novice
1,396 Views
AthiraM_Intel
Moderator
932 Views

Hi,


The issue is fixed in Intel Distribution for Python 2021.3 release. Could you please try it and let us know if you face any issues.


Thanks.


AthiraM_Intel
Moderator
872 Views

Hi,


Could you please give us an update? Is your issue resolved?



Thanks.


user02
Novice
860 Views

Thanks for the information, but I have since given up on the Intel Distribution for Python installer. Now, I just use Miniconda.

AthiraM_Intel
Moderator
754 Views

Hi,


Sorry for the inconvenience. The issue is fixed in Intel Distribution for Python 2021.3 release. Now the installation will show an error if the system lacks bzip2.


You can download the latest Intel Distribution for Python(2021.3.0) from the below link: 


https://software.intel.com/content/www/us/en/develop/articles/oneapi-standalone-components.html#pyth...


You can install using the below command.


./l_pythoni37_oneapi_p_2021.3.0.3209.sh -a \

--eula accept \

--install-dir /opt/intel/oneapi \

--silent



Kindly try and let us know your feedback.


Thanks.


AthiraM_Intel
Moderator
638 Views

Hi,


We have not heard back from you. This thread will no longer be monitored by Intel. If you need further assistance, please post a new question.



Thanks.


Reply