跳转至内容
  • 版块
  • 最新
  • 标签
  • 热门
  • Online Tools
  • 用户
  • 群组
折叠
品牌标识

D2Learn Forums

24123220292

2412322029

@2412322029
关于
帖子
38
主题
3
群组
0
粉丝
0
关注
0

帖子

最新 最佳 有争议的

  • xim 安装python
    24123220292 2412322029

    5a46d0cc-489d-487a-a5b2-ad7f0452aa27-image.png 直接散在根目录
    我应该把压缩包里面再创建一个目录然后再mv pkginfo.install_dir

    我刚才写错直接rm了xim目录,没有学过lua


  • xim 安装python
    24123220292 2412322029

    @sunrisepeak 我这死循环了
    我写deps = {"python-3.12.6"} package not found - python-3.12.6
    deps = {"python"} 它会卸载我已经安装的python


  • xim 安装python
    24123220292 2412322029

    Windows

    我本地已经安装python3.12 3.10`

    目录: D:\lang
    Mode                 LastWriteTime         Length Name
    ----                 -------------         ------ ----
    d-----         2024/2/26     17:33                golang
    d-----          2024/1/2     21:00                jdk17
    d-----         2024/6/22     21:48                jdk21
    d-----         2024/2/27      0:05                jre-1.8
    d-----         2024/4/30     18:00                python310
    d-----         2025/1/22     19:21                python312
    

    xim 安装python时没有检查到环境变量中已经安装了python3.12。
    运行python官方安装器,命令行提供了参数/passive InstallAllUsers=1 PrependPath=1 Include_test=1,由于/passive,安装过程中没法自定义安装路径,它卸载了我的python3.12如下,只剩下第三方库等文件,这是官方安装程序的默认行为,卸载之前的相同大版本安装新的

     目录: D:\lang\python312
    Mode                 LastWriteTime         Length Name
    ----                 -------------         ------ ----
    d-----         2025/1/22     18:57                include
    d-----         2025/1/22     19:04                Lib
    d-----        2024/12/31     20:55                Scripts
    d-----        2024/11/18     14:31                share
    

    新的python安装在C:\Program Files\Python312 ??


  • 网站建议
    24123220292 2412322029
    • 链接都跳转新页面太反人类了,一般是评论中的外链跳转新页面
    • 图片上传有大小限制,出错显示error,我还以为是我的网络问题,看控制台才知道是图片太大了,提示应是图片大小不超过xx.
    • 提交内容时再将图片上传服务器,编辑时保存在本地

  • 你在干什么?
    24123220292 2412322029

    @sunrisepeak 按道理前端后端都在server文件夹里面,我直接把编译的前端文件放在flask的templates里面了,report算是一个客户端, seeme-server 和seeme-report


  • 你在干什么?
    24123220292 2412322029

    @sunrisepeak 确实


  • 你在干什么?
    24123220292 2412322029
    > xim -s py
    [xlings:xim]: search for *py* ...
    
    {
      "python@3.12.6" = {
        "python@latest",
        "python"
      },
      "python@winget" = { }
    }
    
    24123@lolik ~\xlings\tools git:main
    > proxy-xim -s py
    [xlings:xim]: search for *py* ...
    
    {
      "python@3.12.6" = {
        "python",
        "python@latest"
      },
      "python@winget" = { }
    }
    
    [I] 2025/01/22 16:12:09 All Windows descendant process exited.
    [I] 2025/01/22 16:12:09 Master exiting
    

  • 你在干什么?
    24123220292 2412322029
    > proxy-xim  list
    [xlings:xim]: load package data failed - list
    [xlings:xim]: package not found - list
    
            Did you mean one of these?
    
    { }
    
    [xlings:xim]: please check the name and try again
    [I] 2025/01/22 16:09:19 All Windows descendant process exited.
    [I] 2025/01/22 16:09:19 Master exiting
    

    应该可以,proxychains 加在命令前面,会hook windows tcp 连接,实现代理


  • 你在干什么?
    24123220292 2412322029
    > proxychains .\install.win.bat
    [xlings]: start detect environment and try to auto config...
    [xlings]: xmake installed
    [xlings]: xlings is already in PATH.
    [PID11076] [I] 2025/01/22 16:06:12 <> 127.0.0.1:10808
    [PID11076] [I] 2025/01/22 16:06:12 Ws2_32.dll connect(364 127.0.0.1:61337 16) PROXY
    [PID11076] [I] 2025/01/22 16:06:12 <> 127.0.0.1:10808
    [PID11076] [I] 2025/01/22 16:06:12 Ws2_32.dll connect(364 20.205.243.166:80 16) PROXY
    Latency of URL 'https://github.com/d2learn/xim-pkgindex.git': 712.902ms
    [PID14204] [I] 2025/01/22 16:06:13 <> 127.0.0.1:10808
    [PID14204] [I] 2025/01/22 16:06:13 Ws2_32.dll connect(324 127.0.0.1:61342 16) PROXY
    [PID14204] [I] 2025/01/22 16:06:13 <> 127.0.0.1:10808
    [PID14204] [I] 2025/01/22 16:06:13 Ws2_32.dll connect(324 180.76.198.77:80 16) PROXY
    Latency of URL 'https://gitee.com/sunrisepeak/xim-pkgindex.git': 322.722ms
    [xlings]: set xim default index repo: https://gitee.com/sunrisepeak/xim-pkgindex.git
    [xlings]: remove C:/Users/Public/xlings - ok
    -> delete local cache data?(y/n)
    [W] 2025/01/22 16:06:21 [PX:Ctrl-C]
    24123@lolik ~\xlings\tools git:main
    > .\install.win.bat
    [xlings]: start detect environment and try to auto config...
    [xlings]: xmake installed
    [xlings]: xlings is already in PATH.
    [xlings]: remove C:/Users/Public/xlings - ok
    -> delete local cache data?(y/n)
    y
    [xlings]: remove C:/Users/Public/.xlings_data - ok
    [xlings]: xlings uninstalled - ok
    [xlings]: install xlings to C:/Users/Public/xlings
    [xlings]: create rcachedir C:/Users/Public/.xlings_data
    [xlings]: create bindir C:\Users\Public\.xlings_data\bin
    [xlings]: copy profile to rcachedir...
    [xlings]: copy xlings config file to rcachedir...
    [xlings]: config system environment...
    error: cannot import module: xlings, cannot import module: xim.xim, cannot import module: CmdProcessor, cannot import module: xim.index.IndexManager, 21.041361
    'xvm' 不是内部或外部命令,也不是可运行的程序
    

  • 你在干什么?
    24123220292 2412322029

    ping不会走代理,WebRequest有proxy参数,可以测试google之类的


  • 你在干什么?
    24123220292 2412322029

    只在下载xlings时使用了gitee,后面下载还是使用的github


  • 你在干什么?
    24123220292 2412322029
    [PID20740] [I] 2025/01/22 15:55:04 <> 127.0.0.1:10808
    [PID20740] [I] 2025/01/22 15:55:04 Ws2_32.dll connect(400 127.0.0.1:50647 16) PROXY
    [PID20740] [I] 2025/01/22 15:55:05 <> 127.0.0.1:10808
    [PID20740] [I] 2025/01/22 15:55:05 Ws2_32.dll connect(400 20.205.243.168:443 16) PROXY
    [xlings]: downloading https://github.com/d2learn/xlings/releases/download/xvm-dev/xvm-dev-x86_64-pc-windows-gnu-20250119165726.zip to C:\Users\Public\.xlings_data\xim\xvm-dev-x86_64-pc-windows-gnu-20250119165726.zip
    [PID22852] [I] 2025/01/22 15:55:06 <> 127.0.0.1:10808
    [PID22852] [I] 2025/01/22 15:55:06 Ws2_32.dll connect(392 127.0.0.1:50652 16) PROXY
    [PID22852] [I] 2025/01/22 15:55:06 <> 127.0.0.1:10808
    [PID22852] [I] 2025/01/22 15:55:06 Ws2_32.dll connect(392 20.205.243.166:443 16) PROXY
    #=#=- #    #                                                                                                           [PID22852] [I] 2025/01/22 15:55:07 <> 127.0.0.1:10808
    [PID22852] [I] 2025/01/22 15:55:07 Ws2_32.dll connect(516 127.0.0.1:50658 16) PROXY
    -#O=#   #    #                                                                                                         [PID22852] [I] 2025/01/22 15:55:07 <> 127.0.0.1:10808
    [PID22852] [I] 2025/01/22 15:55:07 Ws2_32.dll connect(516 185.199.108.133:443 16) PROXY
    ################################################################################################################ 100.0%
    [xlings:xim]: start extract xvm-dev-x86_64-pc-windows-gnu-20250119165726.zip
    [xlings:xim]: start install xvm, it may take some minutes...
    

  • 你在干什么?
    24123220292 2412322029

    我卸载xlings,重新gitclone,运行proxychains .\tools\install.win.bat,安装成功了,下载xvm,xim 的部分有问题


  • 你在干什么?
    24123220292 2412322029

    @sunrisepeak 改了代码运行还是会报错,我重新运行安装脚本一直在下载xvm重试,然后加上代理,就安装成功了,代码没有还原


  • 你在干什么?
    24123220292 2412322029

    proxychains .\tools\install.win.bat 使用代理安装成功了,github测试环境都在国外


  • 你在干什么?
    24123220292 2412322029

    网络问题


  • 你在干什么?
    24123220292 2412322029

    我重新运行安装脚本


  • 你在干什么?
    24123220292 2412322029

    @sunrisepeak

    24123@lolik ~
    > xlings
    error: cannot import module: xlings, cannot import module: xim.xim, cannot import module: CmdProcessor, cannot import module: xim.index.IndexManager, 21.055102
    

    对应的文件都有,不知道


  • 你在干什么?
    24123220292 2412322029
    > xmake l xim\xim.lua
    Cloning into 'xim-pkgindex'...
    remote: Enumerating objects: 263, done.
    remote: Counting objects: 100% (150/150), done.
    remote: Compressing objects: 100% (99/99), done.
    remote: Total 263 (delta 88), reused 95 (delta 46), pack-reused 113 (from 1)
    Receiving objects: 100% (263/263), 63.15 KiB | 1.04 MiB/s, done.
    Resolving deltas: 100% (118/118), done.
    [xlings:xim]: rebuild index database
    [xlings:xim]: update index database
    
            XIM - Xlings Installation Manager
    
    xim version: pre-v0.0.2
    

  • 你在干什么?
    24123220292 2412322029

    xim\xim.lua import("CmdProcessor") 这里没有CmdProcessor这个模块

  • 登录

  • 没有帐号? 注册

  • 登录或注册以进行搜索。
d2learn forums Powered by NodeBB
  • 第一个帖子
    最后一个帖子
0
  • 版块
  • 最新
  • 标签
  • 热门
  • Online Tools
  • 用户
  • 群组