Closed the-pesar closed 1 month ago
Use source venv/bin/activate
and
pip3 install -r requirements.txt
in the bot folder
Use
source venv/bin/activate
andpip3 install -r requirements.txt
in the bot folder
to run source venv/bin/activate
i got:
-bash: venv/bin/activate: No such file or directory
Use
source venv/bin/activate
andpip3 install -r requirements.txt
in the bot folder
I solved previous error, and now i got:
(venv) root@yasha:~/notpixel# python3.10 main.py --action
Traceback (most recent call last):
File "/root/notpixel/main.py", line 13, in <module>
asyncio.run(main())
File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/root/notpixel/main.py", line 8, in main
await process()
File "/root/notpixel/bot/utils/launcher.py", line 89, in process
logger.info(f"Detected {len(get_session_names())} sessions | {len(get_proxies())} proxies")
File "/root/notpixel/bot/utils/launcher.py", line 53, in get_proxies
proxies = [Proxy.from_str(proxy=row.strip()).as_url for row in file]
File "/root/notpixel/bot/utils/launcher.py", line 53, in <listcomp>
proxies = [Proxy.from_str(proxy=row.strip()).as_url for row in file]
File "/root/notpixel/venv/lib/python3.10/site-packages/better_proxy/proxy.py", line 52, in from_str
raise ValueError(f'Unsupported proxy format: {proxy}')
ValueError: Unsupported proxy format: type://user:pass@ip:port
You either have the wrong proxy format or they are simply not specified. If you don't use a proxy, write in .env USE_PROXY_FROM_FILE=False
@HoyT6yK Thanks for replying!
@the-pesar Have you solved this problem?
Why???