for i in range(10):
for i in list(range(2)):
source venv/bin/activate
, а после уже pip install discord
? Это с учётом того, что есть pip [TAILING] Tailing last 15 lines for [all] processes (change the value with --lines option)
/home/limbo/.pm2/pm2.log last 15 lines:
PM2 | 2023-05-21T13:31:04: PM2 log: App [main:0] online
PM2 | 2023-05-21T13:31:04: PM2 error: Error: spawn /home/limbo/Bot/venv/bin/python3 ENOENT
PM2 | at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
PM2 | at onErrorNT (internal/child_process.js:415:16)
PM2 | at process._tickCallback (internal/process/next_tick.js:63:19)
PM2 | 2023-05-21T13:31:04: PM2 error: Error caught while calling pidusage
PM2 | 2023-05-21T13:31:04: PM2 error: TypeError: One of the pids provided is invalid
PM2 | 2023-05-21T13:31:09: PM2 error: Error caught while calling pidusage
PM2 | 2023-05-21T13:31:09: PM2 error: TypeError: One of the pids provided is invalid
PM2 | 2023-05-21T13:31:09: PM2 error: Error caught while calling pidusage
PM2 | 2023-05-21T13:31:09: PM2 error: TypeError: One of the pids provided is invalid
PM2 | 2023-05-21T13:31:11: PM2 error: Error caught while calling pidusage
PM2 | 2023-05-21T13:31:11: PM2 error: TypeError: One of the pids provided is invalid
PM2 | 2023-05-21T13:31:14: PM2 error: Error caught while calling pidusage
PM2 | 2023-05-21T13:31:14: PM2 error: TypeError: One of the pids provided is invalid
/home/limbo/.pm2/logs/main-out.log last 15 lines:
/home/limbo/.pm2/logs/main-error.log last 15 lines:
0|main | 2023-05-20T19:14:20: await coro(*args, **kwargs)
0|main | 2023-05-20T19:14:20: File "/home/limbo/Bot/main.py", line 13, in on_ready
0|main | 2023-05-20T19:14:20: await cog_osn(bot)
0|main | 2023-05-20T19:14:20: File "/home/limbo/Bot/Otherr/osnova.py", line 36, in cog_osn
0|main | 2023-05-20T19:14:20: await bot.add_cog(Leo(bot))
0|main | 2023-05-20T19:14:20: TypeError: object NoneType can't be used in 'await' expression
0|main | 2023-05-20T19:22:35: Ignoring exception in on_ready
0|main | 2023-05-20T19:22:35: Traceback (most recent call last):
0|main | 2023-05-20T19:22:35: File "/home/limbo/Bot/venv/lib/python3.7/site-packages/discord/client.py", line 343, in _run_event
0|main | 2023-05-20T19:22:35: await coro(*args, **kwargs)
0|main | 2023-05-20T19:22:35: File "/home/limbo/Bot/main.py", line 13, in on_ready
0|main | 2023-05-20T19:22:35: await cog_osn(bot)
0|main | 2023-05-20T19:22:35: File "/home/limbo/Bot/Otherr/osnova.py", line 36, in cog_osn
0|main | 2023-05-20T19:22:35: await bot.add_cog(Leo(bot))
0|main | 2023-05-20T19:22:35: TypeError: object NoneType can't be used in 'await' expression