Intel® Distribution for Python*
Engage in discussions with community peers related to Python* applications and core computational packages.
424 Discussions

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

user02
Novice
3,431 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#python

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
3,319 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
3,404 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.


0 Kudos
user02
Novice
3,402 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.

0 Kudos
AthiraM_Intel
Moderator
3,374 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
3,369 Views

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

0 Kudos
AthiraM_Intel
Moderator
3,320 Views

Hi,


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



Thanks.


user02
Novice
3,314 Views
0 Kudos
AthiraM_Intel
Moderator
2,850 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.


0 Kudos
AthiraM_Intel
Moderator
2,790 Views

Hi,


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



Thanks.


0 Kudos
user02
Novice
2,778 Views

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

0 Kudos
AthiraM_Intel
Moderator
2,672 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#python


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.


0 Kudos
AthiraM_Intel
Moderator
2,556 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.


0 Kudos
Reply