[英]Cannot run conda command 'activate' with NppExec plugin of Notepad++
If I run 如果我跑步
activate my_environment
from a command prompt conda
correctly switches to the desired environment, but if I execute the following temporary script from NppExec plugin 从命令提示符
conda
正确切换到所需的环境,但是如果我从NppExec插件执行以下临时脚本
activate my_environment
python "$(FULL_CURRENT_PATH)"
I get the error message 我收到错误消息
CreateProcess() failed with error code 2:
Impossibile trovare il file specificato.
where last line means "file not found". 最后一行表示“找不到文件”。 If I omit the
activate
line the script runs as expected. 如果我省略了
activate
行,脚本将按预期运行。
Any clue? 有什么线索吗?
I got anaconda environment working from within nppExec using, 我在nppExec中使用以下命令来运行anaconda环境:
cd <AnacondaPath>\Anaconda3\condabin
activate.bat <env name> & python -i "$(FULL_CURRENT_PATH)"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.