ArthurKing01 / jina-clip

93 stars 23 forks source link

在 win11 wsl2 环境上,未跑起来 #2

Closed inkn closed 2 years ago

inkn commented 2 years ago
[Nest] 263  - 2022/07/08 02:27:41     LOG [NestFactory] Starting Nest application...
[Nest] 263  - 2022/07/08 02:27:41     LOG ------------------------------------- Waiting for Jina Flow launch --------------------------------
[Nest] 263  - 2022/07/08 02:27:41     LOG [InstanceLoader] ServeStaticModule dependencies initialized +62ms
[Nest] 263  - 2022/07/08 02:27:41     LOG [InstanceLoader] AppModule dependencies initialized +0ms
[Nest] 263  - 2022/07/08 02:27:41     LOG [RoutesResolver] AppController {/api}: +5ms
[Nest] 263  - 2022/07/08 02:27:41     LOG [RouterExplorer] Mapped {/api, GET} route +2ms
[Nest] 263  - 2022/07/08 02:27:41     LOG [RouterExplorer] Mapped {/api/search, POST} route +1ms
[Nest] 263  - 2022/07/08 02:27:41     LOG [RouterExplorer] Mapped {/api/upload, POST} route +1ms
[Nest] 263  - 2022/07/08 02:27:41     LOG [RouterExplorer] Mapped {/api/listOutput, GET} route +0ms
[Nest] 263  - 2022/07/08 02:27:41     LOG [RouterExplorer] Mapped {/api/listSource, GET} route +1ms
[Nest] 263  - 2022/07/08 02:27:41     LOG [RouterExplorer] Mapped {/api/rename, POST} route +0ms
[Nest] 263  - 2022/07/08 02:27:41     LOG [RouterExplorer] Mapped {/api/delete, POST} route +1ms
[Nest] 263  - 2022/07/08 02:27:41     LOG [RouterExplorer] Mapped {/api/exist, POST} route +0ms
[Nest] 263  - 2022/07/08 02:27:41     LOG [RouterExplorer] Mapped {/api/clear, POST} route +1ms
[Nest] 263  - 2022/07/08 02:27:41     LOG [RouterExplorer] Mapped {/api/cut, POST} route +0ms
[Nest] 263  - 2022/07/08 02:27:41     LOG [RouterExplorer] Mapped {/api/deleteDoc, POST} route +1ms
[Nest] 263  - 2022/07/08 02:27:41     LOG [NestApplication] Nest application successfully started +2ms
Error: spawn python ENOENT
    at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19)
    at onErrorNT (node:internal/child_process:478:16)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
ArthurKing01 commented 2 years ago

环境中的python版本是多少,看样子是访问不到python

inkn commented 2 years ago

是 python 3.10

ArthurKing01 commented 2 years ago
  1. 可以试试python3.9,我的版本是3.9
  2. 关注下环境变量里是否有python
  3. 尝试在hello-jina2文件夹下执行python app2.py,验证jina是否正常启动 image
inkn commented 2 years ago

好的,非常感谢,我是安装 hello-jina2/requirements.txt 的依赖没成功,我一个一个手动 pip安装就可以了