Skip to content
New issue

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

[BUG]: vfox environment variables have higher priority than python venv #124

Open
cbconne opened this issue Mar 19, 2024 · 3 comments
Open
Labels
bug Something isn't working

Comments

@cbconne
Copy link

cbconne commented Mar 19, 2024

Version
0.2.6
OS
macOS

Describe the bug
vfox environment variables have higher priority than python venv. As a result, python venv cannot actually take effect.
I think vfox use -p is not a complete replacement for venv unless it also installs dependencies within the project instead of globally.

@cbconne cbconne added the bug Something isn't working label Mar 19, 2024
@pmzgit
Copy link

pmzgit commented Mar 24, 2024

实测在deepin v23 beta3 上,进入venv 后,pip 安装的包,没有安装在venv里,而是安装在 vfox cache 下的python 版本下了

(vfox use -p 正常执行前提下)

@aooohan
Copy link
Member

aooohan commented Mar 25, 2024

这个目前没有精力去跟进, 等插件重构完之后, python插件会单独拆分为一个库进行维护(到时候所有的插件都是). 到呢时候在跟进插件的具体问题.

另外, 我在写python插件的时候, 因为我对于python的使用很单一, 而且不频繁. 所以后面可能需要经常使用python的贡献者去跟进和维护它.

@LordHumphrey
Copy link
Contributor

python -m pip似乎可以安装到python目录下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants