今天,我想知道,oneAPI中的Conda和Anaconda中的Conda之间的区别是和,如何以正确的方式使用oneAPI以获得最新的Intel Core 12的最大使用。
安装oneAPI之后,它们还包含conda。但是,在以下情况下,我不能将此用作正常情况:
-It不包含conda构建和几个包,比如Anaconda中的普通conda。
-Can不像从Conda OneAPI的“基础”创建和克隆其他环境一样。如果我把“基础”克隆到新的conda create --name new_env --clone base
,然后激活"new_env",我就不能再使用Conda了,它警告我,好像conda不存在一样。警告如下。
'conda' is not recognized as an internal or external command.
operable program or batch file.
然而,在conda oneAPI上训练任何DNN模型比在Anaconda上训练任何DNN模型快30%,并且在数据预处理任务上也有更好的性能。我非常希望始终像Anaconda中的普通Conda一样,在Conda OneAPI环境中使用Python的优势。因此,如何将它们合并为一个,以使其更易于使用,或者如何解决oneAPI工具箱的Conda环境问题。
发布于 2022-01-04 05:46:34
一个api中的
中的conda支持的所有功能。
'conda' is not recognized as an internal or external command. operable program or batch file.
如果您想要将英特尔软件包安装到使用
。
conda install "Package_name" -c intel --no-update-deps here Package_name can be(mkl,numpy..)
可用的英特尔软件包可以在这里查看:https://anaconda.org/intel/packages
用于英特尔优化的numpy包的
conda install numpy -c intel --no-update-deps
发布于 2022-01-11 14:59:21
我也遇到了这个问题,在oneAPI中克隆了基本环境之后,conda就从Windows 10上的path中消失了,调用setvars.bat也没有帮助。尝试为Intel64forVisualStudio2019(或其他与oneAPI一起安装的适当cmd )打开Intel oneAPI命令提示符,并手动向conda添加路径(确保在dir下面有conda.exe )。
set PATH=%PATH%;"C:\Program Files (x86)\Intel\oneAPI\intelpython\python3.9\Scripts"
然后运行conda init
并重新打开相同的命令提示符。
另一个建议是,如果您计划克隆envs或安装包,则以管理员身份打开oneAPI命令提示符。
https://stackoverflow.com/questions/70534207
复制相似问题