<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Weird error when Intel python3.7 shell is launched : impossible to do any command - abort error in Intel® Distribution for Python*</title>
    <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Weird-error-when-Intel-python3-7-shell-is-launched-impossible-to/m-p/1323425#M1772</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We were unable to reproduce your issue. We tried to launch a python3 shell in Debian 10 and it worked fine.&lt;/P&gt;
&lt;P&gt;When you source setvars for oneAPI(or intel python) the intel python executable gets added to the system path of&amp;nbsp;&lt;STRONG style="font-family: inherit;"&gt;current user&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;The path variable would be an environment variable specific to your&amp;nbsp;&lt;STRONG style="font-family: inherit;"&gt;current user&lt;/STRONG&gt;. Thus when you execute a command with sudo the environment variables are not considered this is why you are executing 2 different python executables with and without sudo.&lt;/P&gt;
&lt;P&gt;You could verify this with the below commands&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;sudo which python
which python&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need to use the same python executable as sudo and normal user, Run&amp;nbsp;the below command to launch the shell to have the same binary as that of your normal user. (-E preserves environment variables)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;sudo -E python&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The error in your query would be due to having user packages in your pip environment which might be incompatible with each other. Could you create a new environment with intel python, we would suggest using conda if you have anaconda installed and check if you still get the error. Please let us know if you are still facing issues. PFB a link which guides on installation process.&lt;/P&gt;
&lt;P&gt;&lt;A style="font-family: inherit;" href="https://software.intel.com/content/www/us/en/develop/articles/using-intel-distribution-for-python-with-anaconda.html" target="_blank" rel="noopener noreferrer"&gt;https://software.intel.com/content/www/us/en/develop/articles/using-intel-distribution-for-python-with-anaconda.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;If this resolves your issue, please accept it as a solution so that it helps the others with similar issue. And as you've requested to close this thread, we're closing this thread. If you need any further assistance, please post a new question as this thread will no longer be monitored by Intel.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;Alekhya&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Oct 2021 11:08:18 GMT</pubDate>
    <dc:creator>AlekhyaV_Intel</dc:creator>
    <dc:date>2021-10-20T11:08:18Z</dc:date>
    <item>
      <title>Weird error when Intel python3.7 shell is launched : impossible to do any command - abort error</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Weird-error-when-Intel-python3-7-shell-is-launched-impossible-to/m-p/1319453#M1764</link>
      <description>&lt;P&gt;I get the following error when I do a simple command `a=1` (or any other command) once an Intel python3 shell is launched on a Debian 10 :&lt;/P&gt;
&lt;P&gt;Python 3.7.11 (default, Sep 9 2021, 02:06:38)&lt;BR /&gt;[GCC 9.3.0] :: Intel Corporation on linux&lt;BR /&gt;Type "help", "copyright", "credits" or "license" for more information.&lt;BR /&gt;Intel(R) Distribution for Python is brought to you by Intel Corporation.&lt;BR /&gt;Please check out: &lt;A href="https://software.intel.com/en-us/python-distribution" target="_blank"&gt;https://software.intel.com/en-us/python-distribution&lt;/A&gt;&lt;BR /&gt;(.startup.py)&lt;BR /&gt;(imported numpy as np)&lt;BR /&gt;(imported matplotlib.pyplot as plt)&lt;BR /&gt;(imported scipy.interpolate CubicSpline)&lt;BR /&gt;(imported scipy.interpolate interp1d)&lt;BR /&gt;(imported os)&lt;BR /&gt;(imported sys)&lt;BR /&gt;(imported glob)&lt;BR /&gt;(imported re)&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; a=1&lt;BR /&gt;free(): invalid pointer&lt;BR /&gt;zsh: abort /opt/intel/oneapi/intelpython/python3.7/bin/python3.7&lt;/P&gt;
&lt;P&gt;what is happening ?&lt;/P&gt;
&lt;P&gt;Permissions seem to be ok :&lt;/P&gt;
&lt;P&gt;-rwxrwxr-x 1 19712 20M Sep 9 04:16 /opt/intel/oneapi/intelpython/python3.7/bin/python3.7&lt;/P&gt;
&lt;P&gt;I don't understand.&lt;/P&gt;
&lt;P&gt;**EDIT :** a gdb on python3 allows to get more informations :&lt;/P&gt;
&lt;P&gt;gdb python3&lt;BR /&gt;GNU gdb (Debian 8.2.1-2+b3) 8.2.1&lt;BR /&gt;Copyright (C) 2018 Free Software Foundation, Inc.&lt;BR /&gt;License GPLv3+: GNU GPL version 3 or later &amp;lt;&lt;A href="http://gnu.org/licenses/gpl.html" target="_blank"&gt;http://gnu.org/licenses/gpl.html&lt;/A&gt;&amp;gt;&lt;BR /&gt;This is free software: you are free to change and redistribute it.&lt;BR /&gt;There is NO WARRANTY, to the extent permitted by law.&lt;BR /&gt;Type "show copying" and "show warranty" for details.&lt;BR /&gt;This GDB was configured as "x86_64-linux-gnu".&lt;BR /&gt;Type "show configuration" for configuration details.&lt;BR /&gt;For bug reporting instructions, please see:&lt;BR /&gt;&amp;lt;&lt;A href="http://www.gnu.org/software/gdb/bugs/" target="_blank"&gt;http://www.gnu.org/software/gdb/bugs/&lt;/A&gt;&amp;gt;.&lt;BR /&gt;Find the GDB manual and other documentation resources online at:&lt;BR /&gt;&amp;lt;&lt;A href="http://www.gnu.org/software/gdb/documentation/" target="_blank"&gt;http://www.gnu.org/software/gdb/documentation/&lt;/A&gt;&amp;gt;.&lt;BR /&gt;&lt;BR /&gt;For help, type "help".&lt;BR /&gt;Type "apropos word" to search for commands related to "word"...&lt;BR /&gt;Reading symbols from python3...done.&lt;BR /&gt;(gdb) file python3&lt;BR /&gt;Load new symbol table from "python3"? (y or n) y&lt;BR /&gt;Reading symbols from python3...done.&lt;BR /&gt;(gdb) r&lt;BR /&gt;Starting program: /opt/intel/oneapi/intelpython/python3.7/bin/python3&lt;BR /&gt;[Thread debugging using libthread_db enabled]&lt;BR /&gt;Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".&lt;BR /&gt;Python 3.7.11 (default, Sep 9 2021, 02:06:38)&lt;BR /&gt;[GCC 9.3.0] :: Intel Corporation on linux&lt;BR /&gt;Type "help", "copyright", "credits" or "license" for more information.&lt;BR /&gt;Intel(R) Distribution for Python is brought to you by Intel Corporation.&lt;BR /&gt;Please check out: &lt;A href="https://software.intel.com/en-us/python-distribution" target="_blank"&gt;https://software.intel.com/en-us/python-distribution&lt;/A&gt;&lt;BR /&gt;(.startup.py)&lt;BR /&gt;(imported numpy as np)&lt;BR /&gt;(imported matplotlib.pyplot as plt)&lt;BR /&gt;(imported scipy.interpolate CubicSpline)&lt;BR /&gt;(imported scipy.interpolate interp1d)&lt;BR /&gt;(imported os)&lt;BR /&gt;(imported sys)&lt;BR /&gt;(imported glob)&lt;BR /&gt;(imported re)&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; a=1&lt;BR /&gt;free(): invalid pointer&lt;BR /&gt;&lt;BR /&gt;Program received signal SIGABRT, Aborted.&lt;BR /&gt;__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50&lt;BR /&gt;50 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.&lt;BR /&gt;(gdb) bt&lt;BR /&gt;#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50&lt;BR /&gt;#1 0x00007ffff7c56535 in __GI_abort () at abort.c:79&lt;BR /&gt;#2 0x00007ffff7cad508 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7ffff7db828d "%s\n")&lt;BR /&gt;at ../sysdeps/posix/libc_fatal.c:181&lt;BR /&gt;#3 0x00007ffff7cb3c1a in malloc_printerr (str=str@entry=0x7ffff7db643b "free(): invalid pointer")&lt;BR /&gt;at malloc.c:5341&lt;BR /&gt;#4 0x00007ffff7cb542c in _int_free (av=&amp;lt;optimized out&amp;gt;, p=&amp;lt;optimized out&amp;gt;, have_lock=&amp;lt;optimized out&amp;gt;)&lt;BR /&gt;at malloc.c:4165&lt;BR /&gt;#5 0x00005555555f7abd in PyOS_Readline (sys_stdin=&amp;lt;optimized out&amp;gt;,&lt;BR /&gt;sys_stdout=0x7ffff7df0760 &amp;lt;_IO_2_1_stdout_&amp;gt;, prompt=0x7ffff7656f20 "&amp;gt;&amp;gt;&amp;gt; ")&lt;BR /&gt;at /home/sat_bot/base/conda-bld/python_1631149597897/work/Parser/myreadline.c:377&lt;BR /&gt;#6 0x0000555555704c02 in tok_nextc (tok=0x55555633ca00)&lt;BR /&gt;at /home/sat_bot/base/conda-bld/python_1631149597897/work/Parser/tokenizer.c:939&lt;BR /&gt;#7 0x000055555572c017 in tok_get (p_end=&amp;lt;optimized out&amp;gt;, p_start=&amp;lt;optimized out&amp;gt;, tok=&amp;lt;optimized out&amp;gt;)&lt;BR /&gt;at /home/sat_bot/base/conda-bld/python_1631149597897/work/Parser/tokenizer.c:1373&lt;BR /&gt;#8 PyTokenizer_Get (p_end=&amp;lt;optimized out&amp;gt;, p_start=&amp;lt;optimized out&amp;gt;, tok=&amp;lt;optimized out&amp;gt;)&lt;BR /&gt;at /home/sat_bot/base/conda-bld/python_1631149597897/work/Parser/tokenizer.c:1835&lt;BR /&gt;#9 parsetok (tok=&amp;lt;optimized out&amp;gt;, g=&amp;lt;optimized out&amp;gt;, start=&amp;lt;optimized out&amp;gt;, err_ret=&amp;lt;optimized out&amp;gt;,&lt;BR /&gt;flags=&amp;lt;optimized out&amp;gt;) at /home/sat_bot/base/conda-bld/python_1631149597897/work/Parser/parsetok.c:208&lt;BR /&gt;#10 0x00005555557cd310 in PyParser_ASTFromFileObject (fp=&amp;lt;optimized out&amp;gt;, filename=0x7ffff7778530,&lt;BR /&gt;enc=&amp;lt;optimized out&amp;gt;, start=&amp;lt;optimized out&amp;gt;, ps1=&amp;lt;optimized out&amp;gt;, ps2=&amp;lt;optimized out&amp;gt;,&lt;BR /&gt;flags=0x7fffffffd860, errcode=0x7fffffffd784, arena=0x7ffff783e390)&lt;BR /&gt;--Type &amp;lt;RET&amp;gt; for more, q to quit, c to continue without paging--&lt;BR /&gt;at /home/sat_bot/base/conda-bld/python_1631149597897/work/Python/pythonrun.c:1222&lt;BR /&gt;#11 0x0000555555640ee6 in PyRun_InteractiveOneObjectEx (fp=0x7ffff7defa00 &amp;lt;_IO_2_1_stdin_&amp;gt;,&lt;BR /&gt;filename=0x7ffff7778530, flags=0x7fffffffd860)&lt;BR /&gt;at /home/sat_bot/base/conda-bld/python_1631149597897/work/Python/pythonrun.c:236&lt;BR /&gt;#12 0x00005555556411cc in PyRun_InteractiveLoopFlags (fp=0x7ffff7defa00 &amp;lt;_IO_2_1_stdin_&amp;gt;,&lt;BR /&gt;filename_str=&amp;lt;optimized out&amp;gt;, flags=0x7fffffffd860)&lt;BR /&gt;at /home/sat_bot/base/conda-bld/python_1631149597897/work/Python/pythonrun.c:120&lt;BR /&gt;#13 0x00005555557cd85e in PyRun_AnyFileExFlags (fp=0x7ffff7defa00 &amp;lt;_IO_2_1_stdin_&amp;gt;,&lt;BR /&gt;filename=0x5555557ce4b8 "&amp;lt;stdin&amp;gt;", closeit=0, flags=0x7fffffffd860)&lt;BR /&gt;at /home/sat_bot/base/conda-bld/python_1631149597897/work/Python/pythonrun.c:78&lt;BR /&gt;#14 0x00005555557cdbdc in pymain_run_file (p_cf=0x7fffffffd860, filename=&amp;lt;optimized out&amp;gt;,&lt;BR /&gt;fp=0x7ffff7defa00 &amp;lt;_IO_2_1_stdin_&amp;gt;)&lt;BR /&gt;at /home/sat_bot/base/conda-bld/python_1631149597897/work/Modules/main.c:462&lt;BR /&gt;#15 pymain_run_filename (cf=0x7fffffffd860, pymain=0x7fffffffd970)&lt;BR /&gt;at /home/sat_bot/base/conda-bld/python_1631149597897/work/Modules/main.c:1655&lt;BR /&gt;#16 pymain_run_python (pymain=0x7fffffffd970)&lt;BR /&gt;at /home/sat_bot/base/conda-bld/python_1631149597897/work/Modules/main.c:2916&lt;BR /&gt;#17 pymain_main (pymain=0x7fffffffd970)&lt;BR /&gt;at /home/sat_bot/base/conda-bld/python_1631149597897/work/Modules/main.c:3456&lt;BR /&gt;#18 0x00005555557cdd2c in _Py_UnixMain (argc=&amp;lt;optimized out&amp;gt;, argv=&amp;lt;optimized out&amp;gt;)&lt;BR /&gt;at /home/sat_bot/base/conda-bld/python_1631149597897/work/Modules/main.c:3491&lt;BR /&gt;#19 0x00007ffff7c5809b in __libc_start_main (main=0x555555641820 &amp;lt;main&amp;gt;, argc=1, argv=0x7fffffffdac8,&lt;BR /&gt;--Type &amp;lt;RET&amp;gt; for more, q to quit, c to continue without paging--&lt;BR /&gt;init=&amp;lt;optimized out&amp;gt;, fini=&amp;lt;optimized out&amp;gt;, rtld_fini=&amp;lt;optimized out&amp;gt;, stack_end=0x7fffffffdab8)&lt;BR /&gt;at ../csu/libc-start.c:308&lt;BR /&gt;#20 0x0000555555733be9 in _start ()&lt;BR /&gt;at /home/sat_bot/base/conda-bld/python_1631149597897/work/Parser/parser.c:325&lt;BR /&gt;(gdb)&lt;/P&gt;
&lt;P&gt;Any useful idea among all these informations ?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Oct 2021 21:24:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/Weird-error-when-Intel-python3-7-shell-is-launched-impossible-to/m-p/1319453#M1764</guid>
      <dc:creator>chris6</dc:creator>
      <dc:date>2021-10-05T21:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: Weird error when Intel python3.7 shell is launched : impossible to do any command - abort error</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Weird-error-when-Intel-python3-7-shell-is-launched-impossible-to/m-p/1319468#M1765</link>
      <description>&lt;P&gt;&lt;STRONG&gt;EDIT :&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;If I launch the shell as root, there isn't this issue :&lt;/P&gt;
&lt;PRE class="lang-py s-code-block"&gt;&lt;CODE class="hljs language-python"&gt;&lt;SPAN class="hljs-comment"&gt;# python3.7&lt;/SPAN&gt;
Python &lt;SPAN class="hljs-number"&gt;3.7&lt;/SPAN&gt;&lt;SPAN class="hljs-number"&gt;.11&lt;/SPAN&gt; (default, Sep  &lt;SPAN class="hljs-number"&gt;9&lt;/SPAN&gt; &lt;SPAN class="hljs-number"&gt;2021&lt;/SPAN&gt;, 02:06:&lt;SPAN class="hljs-number"&gt;38&lt;/SPAN&gt;)
[GCC &lt;SPAN class="hljs-number"&gt;9.3&lt;/SPAN&gt;&lt;SPAN class="hljs-number"&gt;.0&lt;/SPAN&gt;] :: Intel Corporation on linux
&lt;SPAN class="hljs-type"&gt;Type&lt;/SPAN&gt; &lt;SPAN class="hljs-string"&gt;"help"&lt;/SPAN&gt;, &lt;SPAN class="hljs-string"&gt;"copyright"&lt;/SPAN&gt;, &lt;SPAN class="hljs-string"&gt;"credits"&lt;/SPAN&gt; &lt;SPAN class="hljs-keyword"&gt;or&lt;/SPAN&gt; &lt;SPAN class="hljs-string"&gt;"license"&lt;/SPAN&gt; &lt;SPAN class="hljs-keyword"&gt;for&lt;/SPAN&gt; more information.
Intel(R) Distribution &lt;SPAN class="hljs-keyword"&gt;for&lt;/SPAN&gt; Python &lt;SPAN class="hljs-keyword"&gt;is&lt;/SPAN&gt; brought to you by Intel Corporation.
Please check out: https://software.intel.com/en-us/python-distribution
(.startup.py)
(imported numpy &lt;SPAN class="hljs-keyword"&gt;as&lt;/SPAN&gt; np)
(imported matplotlib.pyplot &lt;SPAN class="hljs-keyword"&gt;as&lt;/SPAN&gt; plt)
(imported scipy.interpolate CubicSpline)
(imported scipy.interpolate interp1d)
(imported os)
(imported sys)
Traceback (most recent call last):
  File &lt;SPAN class="hljs-string"&gt;"/root/.startup.py"&lt;/SPAN&gt;, line &lt;SPAN class="hljs-number"&gt;16&lt;/SPAN&gt;, &lt;SPAN class="hljs-keyword"&gt;in&lt;/SPAN&gt; &amp;lt;module&amp;gt;
    &lt;SPAN class="hljs-keyword"&gt;import&lt;/SPAN&gt; readline
ImportError: /opt/intel/oneapi/intelpython/python3&lt;SPAN class="hljs-number"&gt;.7&lt;/SPAN&gt;/lib/python3&lt;SPAN class="hljs-number"&gt;.7&lt;/SPAN&gt;/site-packages/readline.cpython-37m-x86_64-linux-gnu.so: undefined symbol: tputs
&lt;SPAN class="hljs-meta"&gt;&amp;gt;&amp;gt;&amp;gt; &lt;/SPAN&gt;a=&lt;SPAN class="hljs-number"&gt;1&lt;/SPAN&gt;
&lt;SPAN class="hljs-meta"&gt;&amp;gt;&amp;gt;&amp;gt; &lt;/SPAN&gt;a=np.arange(&lt;SPAN class="hljs-number"&gt;10&lt;/SPAN&gt;)
&lt;SPAN class="hljs-meta"&gt;&amp;gt;&amp;gt;&amp;gt; &lt;/SPAN&gt;a
array([&lt;SPAN class="hljs-number"&gt;0&lt;/SPAN&gt;, &lt;SPAN class="hljs-number"&gt;1&lt;/SPAN&gt;, &lt;SPAN class="hljs-number"&gt;2&lt;/SPAN&gt;, &lt;SPAN class="hljs-number"&gt;3&lt;/SPAN&gt;, &lt;SPAN class="hljs-number"&gt;4&lt;/SPAN&gt;, &lt;SPAN class="hljs-number"&gt;5&lt;/SPAN&gt;, &lt;SPAN class="hljs-number"&gt;6&lt;/SPAN&gt;, &lt;SPAN class="hljs-number"&gt;7&lt;/SPAN&gt;, &lt;SPAN class="hljs-number"&gt;8&lt;/SPAN&gt;, &lt;SPAN class="hljs-number"&gt;9&lt;/SPAN&gt;])
&amp;gt;&amp;gt;&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;So it would be a problem of installation, wouldn't it ?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Oct 2021 22:25:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/Weird-error-when-Intel-python3-7-shell-is-launched-impossible-to/m-p/1319468#M1765</guid>
      <dc:creator>chris6</dc:creator>
      <dc:date>2021-10-05T22:25:25Z</dc:date>
    </item>
    <item>
      <title>Re:Weird error when Intel python3.7 shell is launched : impossible to do any command - abort error</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Weird-error-when-Intel-python3-7-shell-is-launched-impossible-to/m-p/1319687#M1766</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you for posting in Intel Communities. We could find that Debian 10 is not mentioned in the release notes. We've provided the release notes for your reference: &lt;A href="https://software.intel.com/content/dam/develop/external/us/en/documents/2021_Python_Release_Notes_Intel(R)_Distribution_for_Python_Release4.pdf" target="_blank"&gt;https://software.intel.com/content/dam/develop/external/us/en/documents/2021_Python_Release_Notes_Intel(R)_Distribution_for_Python_Release4.pdf&lt;/A&gt; You can find all the supported operating systems under "System requirements" topic.&lt;/P&gt;&lt;P&gt;Also we'd want you to share the output of the "&lt;B&gt;env&lt;/B&gt;" command. The &lt;B&gt;env command&lt;/B&gt;&lt;I&gt; &lt;/I&gt;displays the details of your current environment. Please try this command as both root user and normal user as well and share the outputs with us.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alekhya&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Oct 2021 14:06:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/Weird-error-when-Intel-python3-7-shell-is-launched-impossible-to/m-p/1319687#M1766</guid>
      <dc:creator>AlekhyaV_Intel</dc:creator>
      <dc:date>2021-10-06T14:06:14Z</dc:date>
    </item>
    <item>
      <title>Re:Weird error when Intel python3.7 shell is launched : impossible to do any command - abort error</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Weird-error-when-Intel-python3-7-shell-is-launched-impossible-to/m-p/1323049#M1771</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could you please give us an update regarding this issue?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alekhya&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Oct 2021 05:11:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/Weird-error-when-Intel-python3-7-shell-is-launched-impossible-to/m-p/1323049#M1771</guid>
      <dc:creator>AlekhyaV_Intel</dc:creator>
      <dc:date>2021-10-19T05:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: Weird error when Intel python3.7 shell is launched : impossible to do any command - abort error</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Weird-error-when-Intel-python3-7-shell-is-launched-impossible-to/m-p/1323425#M1772</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We were unable to reproduce your issue. We tried to launch a python3 shell in Debian 10 and it worked fine.&lt;/P&gt;
&lt;P&gt;When you source setvars for oneAPI(or intel python) the intel python executable gets added to the system path of&amp;nbsp;&lt;STRONG style="font-family: inherit;"&gt;current user&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;The path variable would be an environment variable specific to your&amp;nbsp;&lt;STRONG style="font-family: inherit;"&gt;current user&lt;/STRONG&gt;. Thus when you execute a command with sudo the environment variables are not considered this is why you are executing 2 different python executables with and without sudo.&lt;/P&gt;
&lt;P&gt;You could verify this with the below commands&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;sudo which python
which python&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need to use the same python executable as sudo and normal user, Run&amp;nbsp;the below command to launch the shell to have the same binary as that of your normal user. (-E preserves environment variables)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;sudo -E python&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The error in your query would be due to having user packages in your pip environment which might be incompatible with each other. Could you create a new environment with intel python, we would suggest using conda if you have anaconda installed and check if you still get the error. Please let us know if you are still facing issues. PFB a link which guides on installation process.&lt;/P&gt;
&lt;P&gt;&lt;A style="font-family: inherit;" href="https://software.intel.com/content/www/us/en/develop/articles/using-intel-distribution-for-python-with-anaconda.html" target="_blank" rel="noopener noreferrer"&gt;https://software.intel.com/content/www/us/en/develop/articles/using-intel-distribution-for-python-with-anaconda.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;If this resolves your issue, please accept it as a solution so that it helps the others with similar issue. And as you've requested to close this thread, we're closing this thread. If you need any further assistance, please post a new question as this thread will no longer be monitored by Intel.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;Alekhya&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 11:08:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/Weird-error-when-Intel-python3-7-shell-is-launched-impossible-to/m-p/1323425#M1772</guid>
      <dc:creator>AlekhyaV_Intel</dc:creator>
      <dc:date>2021-10-20T11:08:18Z</dc:date>
    </item>
  </channel>
</rss>

