Alfons 最近的时间轴更新
Alfons

Alfons

V2EX 第 372797 号会员,加入于 2018-12-25 16:21:05 +08:00
Python 虚拟环境 打包 py-all-in-one
Python  •  Alfons  •  70 天前  •  最后回复来自 Geekerstar
32
国庆+十日+海南+环岛+骑行
程序员  •  Alfons  •  2019-09-03 09:08:05 AM  •  最后回复来自 maichael
11
替我的一个朋友问的:国内植发哪家强?:) (II)
程序员  •  Alfons  •  2019-08-13 10:26:38 AM  •  最后回复来自 lietoumai
55
你们说的一线指的哪几个城市?
调查  •  Alfons  •  2019-08-08 16:43:23 PM  •  最后回复来自 sakila
23
十月份+海南+可以买票了
程序员  •  Alfons  •  2019-07-23 22:15:17 PM  •  最后回复来自 Alfons
2
说走就走,国庆+海南环岛+十日+骑游
  •  1   
    旅行  •  Alfons  •  2019-08-08 13:48:28 PM  •  最后回复来自 Alfons
    44
    如何将计算机中的所有音频输出保存至文件中?
    程序员  •  Alfons  •  2019-06-21 13:38:30 PM  •  最后回复来自 zjsxwc
    10
    替我的一个朋友问的:国内植发哪家强?:)
    问与答  •  Alfons  •  2019-08-12 12:35:04 PM  •  最后回复来自 jon
    47
    Alfons 最近回复了
    70 天前
    回复了 Alfons 创建的主题 Python Python 虚拟环境 打包 py-all-in-one
    @Geekerstar 再试一下,更新 docker 镜像再试试
    70 天前
    回复了 Alfons 创建的主题 Python Python 虚拟环境 打包 py-all-in-one
    @Geekerstar 有些问题,我再看看
    70 天前
    回复了 Alfons 创建的主题 Python Python 虚拟环境 打包 py-all-in-one
    @Geekerstar 留个邮箱吧,我发你😂
    71 天前
    回复了 Alfons 创建的主题 Python Python 虚拟环境 打包 py-all-in-one
    @ruanimal 针对的场景不一样,试了很多 python 虚拟环境打包的方案,确实没办法解决所有的依赖问题,才启动的这个项目
    71 天前
    回复了 Alfons 创建的主题 Python Python 虚拟环境 打包 py-all-in-one
    @Geekerstar 完整的 requirements.txt 发一下呢
    71 天前
    回复了 Alfons 创建的主题 Python Python 虚拟环境 打包 py-all-in-one
    @Geekerstar 应该还是网络的问题,我这边是可以的

    +++++++++++++++++安装项目第三方依赖包+++++++++++++++++
    [ OK ]: Execute cmd -> source /usr/local/python3/3.9.0/alfonstest/bin/activate && export LD_LIBRARY_PATH=/usr/local/python3/3.9.0/alfonstest/main/lib:$LD_LIBRARY_PATH && pip install --upgrade pip && pip install -r /packages/requirements.txt
    Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
    Collecting pip
    Downloading https://pypi.tuna.tsinghua.edu.cn/packages/15/aa/3f4c7bcee2057a76562a5b33ecbd199be08cdb4443a02e26bd2c3cf6fc39/pip-23.3.2-py3-none-any.whl (2.1 MB)
    |████████████████████████████████| 2.1 MB 512 kB/s
    Installing collected packages: pip
    Attempting uninstall: pip
    Found existing installation: pip 20.2.3
    Uninstalling pip-20.2.3:
    Successfully uninstalled pip-20.2.3
    Successfully installed pip-23.3.2
    71 天前
    回复了 Alfons 创建的主题 Python Python 虚拟环境 打包 py-all-in-one
    @Etuloser 无外网访问,虚拟环境中的动态库依赖的 glibc ,不同操作系统难以通用
    71 天前
    回复了 Alfons 创建的主题 Python Python 虚拟环境 打包 py-all-in-one
    @Geekerstar 嗯嗯,不客气。

    你应该是机器上的环境问题,刚在我自己环境上是可以打出来的

    [root@0d315fcc076b alfonstest]# source /usr/local/python3/3.9.0/alfonstest/bin/activate
    (alfonstest) [root@0d315fcc076b alfonstest]# python --version
    Python 3.9.0
    71 天前
    回复了 Alfons 创建的主题 Python Python 虚拟环境 打包 py-all-in-one
    @Geekerstar 是在本地 Docker desktop 里设置 了 容器 proxy 吗
    71 天前
    回复了 Alfons 创建的主题 Python Python 虚拟环境 打包 py-all-in-one
    @MasterCai 试过很多方案,没办法解决动态库 glibc 依赖的问题
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2708 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 20ms · UTC 15:31 · PVG 23:31 · LAX 08:31 · JFK 11:31
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.