Community
cancel
Showing results for 
Search instead for 
Did you mean: 
user02
Novice
368 Views

"pip is being invoked by an old script wrapper"

A fresh install of the offline, single component "Intel Distribution for Python for Linux" installer (l_pythoni37_oneapi_p_2021.1.1.44_offline.sh) creates a whiny pip.

> source setvars.sh
:: initializing oneAPI environment ...
BASH version = 4.3.48(1)-release
:: dal -- latest
:: mkl -- latest
:: intelpython -- latest
:: compiler -- latest
:: ipp -- latest
:: mpi -- latest
:: tbb -- latest
:: oneAPI environment initialized ::

> pip check
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
sdc 0.37.0 has requirement numba<0.52,>=0.51.2, but you have numba 0.51.2-dppy0.10.1rc1-0.gb5af1f5d9.dirty.

Note that upgrading pip does clear the warning:

> pip install --upgrade pip
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
Collecting pip
Using cached pip-21.0.1-py3-none-any.whl (1.5 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 20.2.3
Uninstalling pip-20.2.3:
Successfully uninstalled pip-20.2.3
Successfully installed pip-21.0.1

> pip check
sdc 0.37.0 has requirement numba<0.52,>=0.51.2, but you have numba 0.51.2-dppy0.10.1rc1-0.gb5af1f5d9.dirty.

Hopefully, the next release of the Intel Python installer will include the newer pip.

0 Kudos
6 Replies
Gopika_Intel
Moderator
347 Views

Hi,

 

Thank you for posting in Intel Distribution for python forum. We’ll be informing this to the concerned team. We’ll get back to you when we get an update.

 

Regards

Gopika


Gopika_Intel
Moderator
307 Views

Hi,


Could you please share with us the os you are using and its version?


Regards

Gopika


user02
Novice
298 Views

I have tested and observed the behavior on CentOS 7.7.1908 and SUSE 12.3 Linux distributions.

lsb_release -a
LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID: CentOS
Description: CentOS Linux release 7.7.1908 (Core)
Release: 7.7.1908
Codename: Core
lsb_release -a
LSB Version: n/a
Distributor ID: SUSE
Description: SUSE Linux Enterprise Server 12 SP3
Release: 12.3
Codename: n/a  

 

Gopika_Intel
Moderator
241 Views

Hi

 

Thank you for providing the information. We’ve raised this issue, we’ll notify you as soon as we get an update.

 

Regards

Gopika


Gopika_Intel
Moderator
52 Views

Hi,

Thank you for reporting the issue. The warning has been resolved from our end. The issue is fixed in the latest release of Intel distribution of Python i.e. 2021.2.0. We suggest you upgrade to the latest version. For downloading the latest version, Intel Distribution for Python is included as part of the Intel® oneAPI AI Analytics Toolkit (https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/distribution-for-python... ) and for Single Component Downloads and Runtime Versions, please refer https://software.intel.com/content/www/us/en/develop/articles/oneapi-standalone-components.html . Could you please install the latest version and check from your end and give us a confirmation about the same?

Regards

Gopika

 

Gopika_Intel
Moderator
31 Views

Hi,

Thank you for the kudos. If you need any additional information, please submit a new question as this thread will no longer be monitored.

Regards

Gopika


Reply