- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a good installation regarding `Intel python3.9` with all modules loading perfectly.
However, I have a bad behavior with the `conda` part of Intel OneAPI : I can't even do a `$ conda list` or a `$ conda env list` , I get the following message :
$ conda env list
__conda_exe:2: no such file or directory: /opt/intel/oneapi/intelpython/latest/bin/conda
So I have done the following export :
export CONDA_EXE=/opt/intel/oneapi/intelpython/latest/condabin/conda
And I redo the previous command, I get :
$ conda list
Traceback (most recent call last):
File "/opt/intel/oneapi/intelpython/latest/condabin/conda", line 12, in <module>
from conda.cli import main
ModuleNotFoundError: No module named 'conda'
I don't know what to do further to fix this Intel Conda installation.
If someone have already met this kind of issue of could see what's wrong ... I would like to avoid to remove all the Intel python distribution part.
**EDIT :** I forgot to mention that I have into my ~/.zshrc this part :
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/opt/intel/oneapi/intelpython/latest/condabin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/opt/intel/oneapi/intelpython/latest/etc/profile.d/conda.sh" ]; then
. "/opt/intel/oneapi/intelpython/latest/etc/profile.d/conda.sh"
else
export PATH="/opt/intel/oneapi/intelpython/latest/bin:$PATH"
fi
fi
unset __conda_setup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Chris,
To clarify, you're calling conda from:
/opt/intel/oneapi/intelpython/latest/condabin/conda
It is calling from Intel Distribution for Python, which is not supported according to the system requirements, along with all components of AI Kit.
To get conda working again, you need to launch a terminal without sourcing the oneAPI AI Kit setvars.sh script. Then when you type "which conda" it should show something like this, just as an example:
/home/<USER>/miniconda3/bin/conda
Best,
Alex
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for posting in Intel Communities.
We are checking on this internally, we will get back to you with an update.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Chris,
You are trying to use Intel Distribution for Python's conda 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
I recommend using the regular conda installed on your system.
Best,
Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
As I said, my current conda installation is not good.
Here the output of :
$ conda list
Traceback (most recent call last):
File "/opt/intel/oneapi/intelpython/latest/condabin/conda", line 12, in <module>
from conda.cli import main
ModuleNotFoundError: No module named 'conda'
How to fix that ?
Which version of Conda are talking about when you say :
@asin wrote:Hi Chris,
You are trying to use Intel Distribution for Python's conda 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
I recommend using the regular conda installed on your system.
Best,
Alex
?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Chris,
To clarify, you're calling conda from:
/opt/intel/oneapi/intelpython/latest/condabin/conda
It is calling from Intel Distribution for Python, which is not supported according to the system requirements, along with all components of AI Kit.
To get conda working again, you need to launch a terminal without sourcing the oneAPI AI Kit setvars.sh script. Then when you type "which conda" it should show something like this, just as an example:
/home/<USER>/miniconda3/bin/conda
Best,
Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Chris, I have not heard from you in a while. If I don't hear back in 5 business days, I will be closing this ticket.
Best,
Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Chris,
Since I got no response from you, I am closing this ticket. If you have a new issue, please submit a new ticket.
Thanks,
Alex

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