- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm trying to follow the steps here and I get the following error when sourcing the setvars.sh script:
❯ source setvars.sh
setvars.sh:436: no matches found: advisor\ncommon.sh\ncompiler\nconda_channel\ndal\ndev-utilities\ndnnl\ninstaller\nintelpython\nipp\nippcp\nlicensing\nlogs\nmkl\nmodulefiles-setup.sh\nreadme-get-started-mac-os-base-kit.html\nsetvars.sh\nsupport.txt\nsys_check.sh\ntbb\nvtune_profiler\n/opt/intel/oneapi/*/*/env/vars.sh
:: initializing oneAPI environment ...
-zsh: ZSH_VERSION = 5.7.1
:: ERROR: No env scripts found: No "env/vars.sh" scripts to process.
This can be caused by a bad or incomplete "--config" file.
Can also be caused by an incomplete or missing oneAPI installation.
I tried running the sys_check.sh script, but the error I got there was:
❯ ./sys_check.sh
:: intelpython -- latest
Traceback (most recent call last):
File "/opt/intel/oneapi/intelpython/latest/sys_check/sys_check.py", line 84, in <module>
assert sys.version_info > (3,5)
AssertionError
Issues Encountered.
Which is ultimately happening because the test is checking the system python, which on macOS is v2.7.
Any ideas how to get the environment variables set?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for reaching out to us.
Could you please try the below command for sourcing the setvars.sh
# oneAPI setvars.sh use in zsh
bash -c 'source /opt/intel/oneapi/setvars.sh ; exec zsh'
For more details refer to the below link.
Please let us know if this helps.
If you get any errors please provide the complete error log file.
Thanks & regards
Noorjahan.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for reaching out to us.
Could you please try the below command for sourcing the setvars.sh
# oneAPI setvars.sh use in zsh
bash -c 'source /opt/intel/oneapi/setvars.sh ; exec zsh'
For more details refer to the below link.
Please let us know if this helps.
If you get any errors please provide the complete error log file.
Thanks & regards
Noorjahan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ahh that did it! I'll mark as accepted answer.
Thanks a lot,
Nathan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for the accepting as a solution. Intel will no longer monitor this thread. Further discussions on this thread will be considered community only.
Thanks & regards
Noorjahan,

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page