我使用 Window 中 WSL2 Ubuntu 22.04 的环境, 新建了一个 conda env vn,python=3.12。
然后 follow 用户文档中的 Ubuntu 的安装指南,用源码安装 vnpy4.1
sudo bash install.sh
发现安装时 找不到 python3, 但是 conda env 中 python 3 是存在的, 是不是用了 sudo 的原因导致了以root 用户的 PATH 去查找 python 3 ?
如果不用 sudo 话,安装过程中也会出现 权限不够的问题。 所以,感觉 install.sh 和使用 conda env 之间有些操作上的不兼容么 ?
/home/peace/code/vnpy
install.sh: line 28: python3: command not found
Generating locales (this might take a while)...
zh_CN.GB18030... done
Generation complete.
install.sh: line 40: python3: command not found