We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
根本原因是某些py版本或者系统上子进程无法继承父进程的venv,所以在venv环境下配置的包在ai子进程都是感知不到的,环境变量、搜索路径也不继承,打个断点就能发现它报找不到‘xxxx’模块,这些模块在venv确定是已经安装的,因此需要全局安装所有依赖项。 然后,python版本是很重要的,尽量避免使用py39,最好使用py37,py39会导致某几个包的依赖项本地构建失败,然而看错误信息根本牛头不对马嘴。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
根本原因是某些py版本或者系统上子进程无法继承父进程的venv,所以在venv环境下配置的包在ai子进程都是感知不到的,环境变量、搜索路径也不继承,打个断点就能发现它报找不到‘xxxx’模块,这些模块在venv确定是已经安装的,因此需要全局安装所有依赖项。
然后,python版本是很重要的,尽量避免使用py39,最好使用py37,py39会导致某几个包的依赖项本地构建失败,然而看错误信息根本牛头不对马嘴。
The text was updated successfully, but these errors were encountered: