Open cocoKoniQ opened 3 years ago
We're gonna need some more info:
System info/python info would be helpful as well!
(venv) C:\Users\Uzytkownik\PycharmProjects\aternosbot>git clone https://github.com/Mekolaos/Aternos-On-Discord.git Nazwa 'git' nie jest rozpoznawana jako polecenie wewnętrzne lub zewnętrzne, program wykonywalny lub plik wsadowy.
(venv) C:\Users\Uzytkownik\PycharmProjects\aternosbot>git clone https://github.com/Mekolaos/Aternos-On-Discord.git Nazwa 'git' nie jest rozpoznawana jako polecenie wewnętrzne lub zewnętrzne, program wykonywalny lub plik wsadowy.
(venv) C:\Users\Uzytkownik\PycharmProjects\aternosbot>git clone https://github.com/Mekolaos/Aternos-On-Discord.git Nazwa 'git' nie jest rozpoznawana jako polecenie wewnętrzne lub zewnętrzne, program wykonywalny lub plik wsadowy.
(venv) C:\Users\Uzytkownik\PycharmProjects\aternosbot>pip install -r requirements.txt ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'
(venv) C:\Users\Uzytkownik\PycharmProjects\aternosbot>cd desktop System nie może odnaleźć określonej ścieżki.
(venv) C:\Users\Uzytkownik\PycharmProjects\aternosbot>cd C:\Users\Uzytkownik\Desktop\Aternos-On-Discord-master
(venv) C:\Users\Uzytkownik\Desktop\Aternos-On-Discord-master>pip install -r requirements.txt Collecting aiohttp==3.6.2 Downloading aiohttp-3.6.2-py3-none-any.whl (441 kB) |████████████████████████████████| 441 kB 656 kB/s Requirement already satisfied: async-timeout==3.0.1 in c:\users\uzytkownik\pycharmprojects\aternosbot\venv\lib\site-packages (from -r requirements.txt (line 2)) (3.0.1) Collecting attrs==19.3.0 Downloading attrs-19.3.0-py2.py3-none-any.whl (39 kB) Collecting bandit==1.6.2 Downloading bandit-1.6.2-py2.py3-none-any.whl (122 kB) |████████████████████████████████| 122 kB 726 kB/s Collecting certifi==2019.11.28 Downloading certifi-2019.11.28-py2.py3-none-any.whl (156 kB) |████████████████████████████████| 156 kB 819 kB/s Requirement already satisfied: chardet==3.0.4 in c:\users\uzytkownik\pycharmprojects\aternosbot\venv\lib\site-packages (from -r requirements.txt (line 6)) (3.0.4) Collecting chromedriver-py==88.0.4324.96 Downloading chromedriver_py-88.0.4324.96-py3-none-any.whl (19.5 MB) |████████████████████████████████| 19.5 MB 44 kB/s Collecting colorama==0.4.4 Downloading colorama-0.4.4-py2.py3-none-any.whl (16 kB) Requirement already satisfied: discord==1.0.1 in c:\users\uzytkownik\pycharmprojects\aternosbot\venv\lib\site-packages (from -r requirements.txt (line 9)) (1.0.1) Requirement already satisfied: discord.py==1.6.0 in c:\users\uzytkownik\pycharmprojects\aternosbot\venv\lib\site-packages (from -r requirements.txt (l ine 10)) (1.6.0) Requirement already satisfied: gitdb==4.0.5 in c:\users\uzytkownik\pycharmprojects\aternosbot\venv\lib\site-packages (from -r requirements.txt (line 1 1)) (4.0.5) Collecting GitPython==3.1.7 Downloading GitPython-3.1.7-py3-none-any.whl (158 kB) |████████████████████████████████| 158 kB 386 kB/s Collecting idna==2.8 Downloading idna-2.8-py2.py3-none-any.whl (58 kB) |████████████████████████████████| 58 kB 217 kB/s Collecting lxml==4.6.2 Downloading lxml-4.6.2-cp38-cp38-win_amd64.whl (3.5 MB) |████████████████████████████████| 3.5 MB 298 kB/s Collecting multidict==4.7.4 Downloading multidict-4.7.4-cp38-cp38-win_amd64.whl (48 kB) |████████████████████████████████| 48 kB 247 kB/s Collecting pbr==5.4.5 Downloading pbr-5.4.5-py2.py3-none-any.whl (110 kB) |████████████████████████████████| 110 kB 386 kB/s Collecting python-dotenv==0.11.0 Downloading python_dotenv-0.11.0-py2.py3-none-any.whl (17 kB) Collecting PyYAML==5.3.1 Downloading PyYAML-5.3.1-cp38-cp38-win_amd64.whl (219 kB) |████████████████████████████████| 219 kB 386 kB/s Collecting requests==2.22.0 Downloading requests-2.22.0-py2.py3-none-any.whl (57 kB) |████████████████████████████████| 57 kB 190 kB/s Collecting selenium==3.141.0 Downloading selenium-3.141.0-py2.py3-none-any.whl (904 kB) |████████████████████████████████| 904 kB 138 kB/s Collecting six==1.15.0 Downloading six-1.15.0-py2.py3-none-any.whl (10 kB) Collecting smmap==3.0.4 Downloading smmap-3.0.4-py2.py3-none-any.whl (25 kB) Collecting stevedore==3.2.0 Downloading stevedore-3.2.0-py3-none-any.whl (42 kB) |████████████████████████████████| 42 kB 30 kB/s Collecting urllib3==1.25.8 Downloading urllib3-1.25.8-py2.py3-none-any.whl (125 kB) |████████████████████████████████| 125 kB 262 kB/s Collecting websockets==8.1 Downloading websockets-8.1-cp38-cp38-win_amd64.whl (66 kB) |████████████████████████████████| 66 kB 58 kB/s Collecting yarl==1.4.2 Downloading yarl-1.4.2-cp38-cp38-win_amd64.whl (126 kB) |████████████████████████████████| 126 kB 273 kB/s Installing collected packages: multidict, idna, yarl, smmap, attrs, pbr, aiohttp, urllib3, stevedore, six, PyYAML, GitPython, colorama, certifi, webso ckets, selenium, requests, python-dotenv, lxml, chromedriver-py, bandit Attempting uninstall: multidict Found existing installation: multidict 5.1.0 Uninstalling multidict-5.1.0: Successfully uninstalled multidict-5.1.0 Attempting uninstall: idna Found existing installation: idna 3.1 Uninstalling idna-3.1: Successfully uninstalled idna-3.1 Attempting uninstall: yarl Found existing installation: yarl 1.6.3 Uninstalling yarl-1.6.3: Successfully uninstalled yarl-1.6.3 Attempting uninstall: smmap Found existing installation: smmap 3.0.5 Uninstalling smmap-3.0.5: Successfully uninstalled smmap-3.0.5 Attempting uninstall: attrs Found existing installation: attrs 20.3.0 Uninstalling attrs-20.3.0: Successfully uninstalled attrs-20.3.0 Attempting uninstall: aiohttp Found existing installation: aiohttp 3.7.3 Uninstalling aiohttp-3.7.3: Successfully uninstalled aiohttp-3.7.3 Attempting uninstall: GitPython Found existing installation: GitPython 3.1.13 Uninstalling GitPython-3.1.13: Successfully uninstalled GitPython-3.1.13 Successfully installed GitPython-3.1.7 PyYAML-5.3.1 aiohttp-3.6.2 attrs-19.3.0 bandit-1.6.2 certifi-2019.11.28 chromedriver-py-88.0.4324.96 colorama-0 .4.4 idna-2.8 lxml-4.6.2 multidict-4.7.4 pbr-5.4.5 python-dotenv-0.11.0 requests-2.22.0 selenium-3.141.0 six-1.15.0 smmap-3.0.4 stevedore-3.2.0 urllib 3-1.25.8 websockets-8.1 yarl-1.4.2
(venv) C:\Users\Uzytkownik\Desktop\Aternos-On-Discord-master>python3 Bot.py Nazwa 'python3' nie jest rozpoznawana jako polecenie wewnętrzne lub zewnętrzne, program wykonywalny lub plik wsadowy.
(venv) C:\Users\Uzytkownik\Desktop\Aternos-On-Discord-master>Bot.py
(venv) C:\Users\Uzytkownik\Desktop\Aternos-On-Discord-master>Bot.py
(venv) C:\Users\Uzytkownik\Desktop\Aternos-On-Discord-master>boy.py Nazwa 'boy.py' nie jest rozpoznawana jako polecenie wewnętrzne lub zewnętrzne, program wykonywalny lub plik wsadowy.
(venv) C:\Users\Uzytkownik\Desktop\Aternos-On-Discord-master>bot.py
(venv) C:\Users\Uzytkownik\Desktop\Aternos-On-Discord-master>pip install -U discord.py Requirement already satisfied: discord.py in c:\users\uzytkownik\pycharmprojects\aternosbot\venv\lib\site-packages (1.6.0) Requirement already satisfied: aiohttp<3.8.0,>=3.6.0 in c:\users\uzytkownik\pycharmprojects\aternosbot\venv\lib\site-packages (from discord.py) (3.6.2 ) Requirement already satisfied: attrs>=17.3.0 in c:\users\uzytkownik\pycharmprojects\aternosbot\venv\lib\site-packages (from aiohttp<3.8.0,>=3.6.0->dis cord.py) (19.3.0) Requirement already satisfied: yarl<2.0,>=1.0 in c:\users\uzytkownik\pycharmprojects\aternosbot\venv\lib\site-packages (from aiohttp<3.8.0,>=3.6.0->di scord.py) (1.4.2) Requirement already satisfied: chardet<4.0,>=2.0 in c:\users\uzytkownik\pycharmprojects\aternosbot\venv\lib\site-packages (from aiohttp<3.8.0,>=3.6.0-
discord.py) (3.0.4) Requirement already satisfied: multidict<5.0,>=4.5 in c:\users\uzytkownik\pycharmprojects\aternosbot\venv\lib\site-packages (from aiohttp<3.8.0,>=3.6. 0->discord.py) (4.7.4) Requirement already satisfied: async-timeout<4.0,>=3.0 in c:\users\uzytkownik\pycharmprojects\aternosbot\venv\lib\site-packages (from aiohttp<3.8.0,>= 3.6.0->discord.py) (3.0.1) Requirement already satisfied: idna>=2.0 in c:\users\uzytkownik\pycharmprojects\aternosbot\venv\lib\site-packages (from yarl<2.0,>=1.0->aiohttp<3.8.0, =3.6.0->discord.py) (2.8)
(venv) C:\Users\Uzytkownik\Desktop\Aternos-On-Discord-master>bot.py
(venv) C:\Users\Uzytkownik\Desktop\Aternos-On-Discord-master> The ^â- was the loading bar I think I use pycharm 3.8 for Windows 7 Thanks!
Try running the bot with python -m Bot.py
or python3 -m Bot.py
I tried typing both commands and I get this error: The name 'python3' is not recognized as an internal or external command, executable program or batch file.
What does python -m Bot.py
return?
What does
python -m Bot.py
return?
Same as python3
(venv) C:\Users\Uzytkownik\Desktop\Aternos-On-Discord-master>bot.py
From the looks of it, it seems like you're just typing Bot.py
. Make sure you're typing out the full message. Try python Bot.py
Also, you mentioned you were using PyCharm, if you right-click the Bot.py
on the files panel, you should see an option fo Run bot.py
.
Ok I'll try
please once check my project on this https://github.com/pritam20ps05/mcscraper it works pretty well and works 98% of the time my server personally uses it.
I just made my discord bot and it's not active, how can I turn it on?