vfox icon indicating copy to clipboard operation
vfox copied to clipboard

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

Open cbconne opened this issue 1 year ago • 3 comments
trafficstars

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 avatar Mar 19 '24 08:03 cbconne

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

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

pmzgit avatar Mar 24 '24 12:03 pmzgit

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

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

aooohan avatar Mar 25 '24 01:03 aooohan

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

LordHumphrey avatar Apr 11 '24 06:04 LordHumphrey