version-fox / vfox-python

🐍Python plugin for vfox.
https://vfox.lhan.me
Apache License 2.0
11 stars 1 forks source link

安装python@3.12.3失败 #2

Closed LordHumphrey closed 6 months ago

LordHumphrey commented 6 months ago

提示安装成功,但是目录是空的 image image

LordHumphrey commented 6 months ago

不如把exe安装方式完全改为使用压缩包安装?exe安装会有什么额外的好处呢?个人认为压缩包解压才是便携软件最合理的方案呢~

aooohan commented 6 months ago

不如把exe安装方式完全改为使用压缩包安装?exe安装会有什么额外的好处呢?个人认为压缩包解压才是便携软件最合理的方案呢~

当时是为了快速实现这个插件. 通过安装包可以减少pip的安装... 就不用手动处理了.

LordHumphrey commented 6 months ago

不如把exe安装方式完全改为使用压缩包安装?exe安装会有什么额外的好处呢?个人认为压缩包解压才是便携软件最合理的方案呢~

当时是为了快速实现这个插件. 通过安装包可以减少pip的安装... 就不用手动处理了.

pip这部分我觉得可以单独拆分为一个插件,有些人可能会使用PDM,我对PDM不熟悉,但是从文档看,似乎不需要pip,所以将或许可以考虑将pip拆分为插件?

aooohan commented 6 months ago

可以来discord说, https://discord.com/invite/85c8ptYgb7

正好在讨论这个事情..

LordHumphrey commented 6 months ago

可以来discord说, https://discord.com/invite/85c8ptYgb7

正好在讨论这个事情..

邀请无效?

aooohan commented 6 months ago

可以来discord说, https://discord.com/invite/85c8ptYgb7 正好在讨论这个事情..

邀请无效?

可以用啊..

image
zhu0629 commented 6 months ago

@LordHumphrey 发布了一个新版本, https://github.com/version-fox/vfox-python/releases 请更新vfox和python插件后再尝试.

# update vfox mannualy

# update python plugin
vfox update python

# install python 
vfox install python@3.12.3

# show vfox version
vfox -v

# show python plugin version
vfox info python
λ vfox -v && vfox info python
vfox version 0.4.1
Plugin Info:
Name     -> python
Version  -> 0.2.0
Homepage -> https://github.com/version-fox/vfox-python
Desc     ->
Python language support, https://www.python.org
Legacy Files -> None
Notes:
======
   Mirror Setting:
   You can use VFOX_PYTHON_MIRROR environment variable to set mirror.
   eg: `export VFOX_PYTHON_MIRROR=https://mirrors.huaweicloud.com/python/`

   Others:
   For Windows, only support >=3.5.0, but no restrictions for unix-like.

λ set VFOX_PYTHON_MIRROR=https://mirrors.huaweicloud.com/python/

λ vfox install python@3.12.3
Preinstalling python@3.12.3...
Downloading installer...
from:   https://mirrors.huaweicloud.com/python/3.12.3/python-3.12.3-amd64.exe
to:     C:\Users\ZC\.version-fox\cache\python\v-3.12.3\python-3.12.3\python-3.12.3-amd64.exe
python-3.12.3-amd64.exe 100% [====================================================================] (2.6 MB/s)
Extracting installer...
Cleaning installer...
Installing python...
Installing pip...
  WARNING: The scripts pip.exe, pip3.12.exe and pip3.exe are installed in 'C:\Users\ZC\.version-fox\cache\python\v-3.12.3\python-3.12.3\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Install python@3.12.3 success!
Please use vfox use python@3.12.3 to use it.

λ vfox use python@3.12.3
Now using python@3.12.3.

λ which python
/c/Users/ZC/.version-fox/cache/python/v-3.12.3/python-3.12.3/python