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

Intel Distribution for Python on MacOS Ventura gives Segmentation Fault 11

dhaffner
Beginner
2,179 Views

I am getting a Segmentation Fault: 11 when trying to run python3.9 from the Intel Distribution for Python on MacOS Ventura after a fresh install using the online installer.

Does anyone have any advice to help resolve this issue?

 

System:
MacOS Ventura 13.4.1 (c)
Darwin localhost 22.5.0 Darwin Kernel Version 22.5.0: Thu Jun 8 22:22:22 PDT 2023; root:xnu-8796.121.3~7/RELEASE_X86_64 x86_64

 

oneAPI Software Installer v4.3.2.992

 

After install I get this when trying to run python

$ . /opt/intel/oneapi/setvars.sh

$ /opt/intel/oneapi/intelpython/latest/bin/python3.9 -v

import _frozen_importlib # frozen
import _imp # builtin
import '_thread' # <class '_frozen_importlib.BuiltinImporter'>
import '_warnings' # <class '_frozen_importlib.BuiltinImporter'>
import '_weakref' # <class '_frozen_importlib.BuiltinImporter'>
import '_io' # <class '_frozen_importlib.BuiltinImporter'>
import 'marshal' # <class '_frozen_importlib.BuiltinImporter'>
import 'posix' # <class '_frozen_importlib.BuiltinImporter'>
import '_frozen_importlib_external' # <class '_frozen_importlib.FrozenImporter'>
# installing zipimport hook
import 'time' # <class '_frozen_importlib.BuiltinImporter'>
import 'zipimport' # <class '_frozen_importlib.FrozenImporter'>
# installed zipimport hook
# /opt/intel/oneapi/intelpython/latest/lib/python3.9/encodings/__pycache__/__init__.cpython-39.pyc matches /opt/intel/oneapi/intelpython/latest/lib/python3.9/encodings/__init__.py
# code object from '/opt/intel/oneapi/intelpython/latest/lib/python3.9/encodings/__pycache__/__init__.cpython-39.pyc'
# /opt/intel/oneapi/intelpython/latest/lib/python3.9/__pycache__/codecs.cpython-39.pyc matches /opt/intel/oneapi/intelpython/latest/lib/python3.9/codecs.py
# code object from '/opt/intel/oneapi/intelpython/latest/lib/python3.9/__pycache__/codecs.cpython-39.pyc'
import '_codecs' # <class '_frozen_importlib.BuiltinImporter'>
import 'codecs' # <_frozen_importlib_external.SourceFileLoader object at 0x7fbbc65dc460>
# /opt/intel/oneapi/intelpython/latest/lib/python3.9/encodings/__pycache__/aliases.cpython-39.pyc matches /opt/intel/oneapi/intelpython/latest/lib/python3.9/encodings/aliases.py
# code object from '/opt/intel/oneapi/intelpython/latest/lib/python3.9/encodings/__pycache__/aliases.cpython-39.pyc'
import 'encodings.aliases' # <_frozen_importlib_external.SourceFileLoader object at 0x7fbbc9a2aa00>
import 'encodings' # <_frozen_importlib_external.SourceFileLoader object at 0x7fbbc65dc280>
# /opt/intel/oneapi/intelpython/latest/lib/python3.9/encodings/__pycache__/utf_8.cpython-39.pyc matches /opt/intel/oneapi/intelpython/latest/lib/python3.9/encodings/utf_8.py
# code object from '/opt/intel/oneapi/intelpython/latest/lib/python3.9/encodings/__pycache__/utf_8.cpython-39.pyc'
import 'encodings.utf_8' # <_frozen_importlib_external.SourceFileLoader object at 0x7fbbc65dc2b0>
import '_signal' # <class '_frozen_importlib.BuiltinImporter'>
# /opt/intel/oneapi/intelpython/latest/lib/python3.9/encodings/__pycache__/latin_1.cpython-39.pyc matches /opt/intel/oneapi/intelpython/latest/lib/python3.9/encodings/latin_1.py
# code object from '/opt/intel/oneapi/intelpython/latest/lib/python3.9/encodings/__pycache__/latin_1.cpython-39.pyc'
import 'encodings.latin_1' # <_frozen_importlib_external.SourceFileLoader object at 0x7fbbc9a2aac0>
# /opt/intel/oneapi/intelpython/latest/lib/python3.9/__pycache__/io.cpython-39.pyc matches /opt/intel/oneapi/intelpython/latest/lib/python3.9/io.py
# code object from '/opt/intel/oneapi/intelpython/latest/lib/python3.9/__pycache__/io.cpython-39.pyc'
# /opt/intel/oneapi/intelpython/latest/lib/python3.9/__pycache__/abc.cpython-39.pyc matches /opt/intel/oneapi/intelpython/latest/lib/python3.9/abc.py
# code object from '/opt/intel/oneapi/intelpython/latest/lib/python3.9/__pycache__/abc.cpython-39.pyc'
import '_abc' # <class '_frozen_importlib.BuiltinImporter'>
import 'abc' # <_frozen_importlib_external.SourceFileLoader object at 0x7fbbc9a2af70>
import 'io' # <_frozen_importlib_external.SourceFileLoader object at 0x7fbbc9a2aca0>
# /opt/intel/oneapi/intelpython/latest/lib/python3.9/__pycache__/site.cpython-39.pyc matches /opt/intel/oneapi/intelpython/latest/lib/python3.9/site.py
# code object from '/opt/intel/oneapi/intelpython/latest/lib/python3.9/__pycache__/site.cpython-39.pyc'
# /opt/intel/oneapi/intelpython/latest/lib/python3.9/__pycache__/os.cpython-39.pyc matches /opt/intel/oneapi/intelpython/latest/lib/python3.9/os.py
# code object from '/opt/intel/oneapi/intelpython/latest/lib/python3.9/__pycache__/os.cpython-39.pyc'
# /opt/intel/oneapi/intelpython/latest/lib/python3.9/__pycache__/stat.cpython-39.pyc matches /opt/intel/oneapi/intelpython/latest/lib/python3.9/stat.py
# code object from '/opt/intel/oneapi/intelpython/latest/lib/python3.9/__pycache__/stat.cpython-39.pyc'
import '_stat' # <class '_frozen_importlib.BuiltinImporter'>
import 'stat' # <_frozen_importlib_external.SourceFileLoader object at 0x7fbbc9ac3880>
# /opt/intel/oneapi/intelpython/latest/lib/python3.9/__pycache__/_collections_abc.cpython-39.pyc matches /opt/intel/oneapi/intelpython/latest/lib/python3.9/_collections_abc.py
# code object from '/opt/intel/oneapi/intelpython/latest/lib/python3.9/__pycache__/_collections_abc.cpython-39.pyc'
import '_collections_abc' # <_frozen_importlib_external.SourceFileLoader object at 0x7fbbc9ac3910>
# /opt/intel/oneapi/intelpython/latest/lib/python3.9/__pycache__/posixpath.cpython-39.pyc matches /opt/intel/oneapi/intelpython/latest/lib/python3.9/posixpath.py
# code object from '/opt/intel/oneapi/intelpython/latest/lib/python3.9/__pycache__/posixpath.cpython-39.pyc'
# /opt/intel/oneapi/intelpython/latest/lib/python3.9/__pycache__/genericpath.cpython-39.pyc matches /opt/intel/oneapi/intelpython/latest/lib/python3.9/genericpath.py
# code object from '/opt/intel/oneapi/intelpython/latest/lib/python3.9/__pycache__/genericpath.cpython-39.pyc'
import 'genericpath' # <_frozen_importlib_external.SourceFileLoader object at 0x7fbbc9ae3f40>
import 'posixpath' # <_frozen_importlib_external.SourceFileLoader object at 0x7fbbc9ac3d30>
import 'os' # <_frozen_importlib_external.SourceFileLoader object at 0x7fbbc9a46f70>
# /opt/intel/oneapi/intelpython/latest/lib/python3.9/__pycache__/_sitebuiltins.cpython-39.pyc matches /opt/intel/oneapi/intelpython/latest/lib/python3.9/_sitebuiltins.py
# code object from '/opt/intel/oneapi/intelpython/latest/lib/python3.9/__pycache__/_sitebuiltins.cpython-39.pyc'
import '_sitebuiltins' # <_frozen_importlib_external.SourceFileLoader object at 0x7fbbc9ab8c40>
# /opt/intel/oneapi/intelpython/latest/lib/python3.9/__pycache__/_bootlocale.cpython-39.pyc matches /opt/intel/oneapi/intelpython/latest/lib/python3.9/_bootlocale.py
# code object from '/opt/intel/oneapi/intelpython/latest/lib/python3.9/__pycache__/_bootlocale.cpython-39.pyc'
import '_locale' # <class '_frozen_importlib.BuiltinImporter'>
import '_bootlocale' # <_frozen_importlib_external.SourceFileLoader object at 0x7fbbc9d2a430>
# /opt/intel/oneapi/intelpython/latest/lib/python3.9/site-packages/_distutils_hack/__pycache__/__init__.cpython-39.pyc matches /opt/intel/oneapi/intelpython/latest/lib/python3.9/site-packages/_distutils_hack/__init__.py
# code object from '/opt/intel/oneapi/intelpython/latest/lib/python3.9/site-packages/_distutils_hack/__pycache__/__init__.cpython-39.pyc'
import '_distutils_hack' # <_frozen_importlib_external.SourceFileLoader object at 0x7fbbc9d2ab20>
import 'site' # <_frozen_importlib_external.SourceFileLoader object at 0x7fbbc9a46790>
Segmentation fault: 11

0 Kudos
5 Replies
Vipin_Singh1
Moderator
2,136 Views

Hi David, we are routing your query to the respective team for the further help. They will get back to you as soon as possible.


0 Kudos
AlekhyaV_Intel
Moderator
2,113 Views

Hi,


Thank you for posting in Intel Communities. You are trying to use Intel Distribution for Python's python on MacOS. MacOS is not supported on oneAPI AI Analytics Toolkit 2023.2: https://www.intel.com/content/www/us/en/developer/articles/system-requirements/intel-oneapi-ai-analytics-toolkit-system-requirements.html


We recommend using the regular Python installed on your system.


Regards,

Alekhya


0 Kudos
dhaffner
Beginner
2,102 Views

Hi,

You are incorrect.  The software I downloaded which is seg faulting is a MacOS distribution.

 

I installed the Intel Distribution for Python for macOS 2023.2.0 release (see screenshot attached, captured today),

 

Intel Distribution for Python for macOS2023.2.028 MBOnlineJul. 17, 2023

 

from here:

https://www.intel.com/content/www/us/en/developer/articles/tool/oneapi-standalone-components.html#python

 

I not using the oneAPI Analytics Toolkit 2023.2 

 

 

0 Kudos
AlekhyaV_Intel
Moderator
1,979 Views

Hi,

 

We apologize for the confusion caused. As per the Intel Distribution for Python release notes, it's mentioned that Intel® Distribution for Python for macOS is obsolete, use is discouraged, and it will be phased out starting with removal from our future product release in oneAPI 2024.0. We apologize for the inconvenience caused.

As a workaround, please enroll & use Intel Python on Intel DevCloud for oneAPI

 

Regards,

Alekhya

 

0 Kudos
AlekhyaV_Intel
Moderator
1,823 Views

Hi,


We have not heard back from you, hence we are closing this thread now. If you need any further information, please post a new question as this thread will no longer be monitored by Intel.


Regards,

Alekhya


0 Kudos
Reply