Python Discord Bot help

Status
This thread has been locked.

Swift.

Experienced Manager | Developer
Banned
Feedback score
38
Posts
1,448
Reactions
255
Resources
0
Please help



Discord: SargentKneller#2506

or

No module named 'discord'
Attempting to install dependencies...
Collecting discord.py[voice]~=0.12.0 (from -r requirements.txt (line 1))
Using cached discord.py-0.12.0.zip
Collecting youtube-dl (from -r requirements.txt (line 2))
Using cached youtube_dl-2017.11.15-py2.py3-none-any.whl
Collecting pip (from -r requirements.txt (line 3))
Using cached pip-9.0.1-py2.py3-none-any.whl
Collecting cffi==1.6.0 (from -r requirements.txt (line 4))
Using cached cffi-1.6.0-cp35-none-win_amd64.whl
Requirement already up-to-date: aiohttp<1.1.0,>=1.0.0 in c:\users\kneller\appdata\local\programs\python\python35\lib\site-packages (from discord.py[voice]~=0.12.0->-r requirements.txt (line 1))
Collecting websockets<4.0,>=3.1 (from discord.py[voice]~=0.12.0->-r requirements.txt (line 1))
Using cached websockets-3.4.tar.gz
Collecting PyNaCl==1.0.1 (from discord.py[voice]~=0.12.0->-r requirements.txt (line 1))
Using cached PyNaCl-1.0.1-cp35-none-win_amd64.whl
Collecting pycparser (from cffi==1.6.0->-r requirements.txt (line 4))
Using cached pycparser-2.18.tar.gz
Requirement already up-to-date: chardet in c:\users\kneller\appdata\local\programs\python\python35\lib\site-packages (from aiohttp<1.1.0,>=1.0.0->discord.py[voice]~=0.12.0->-r requirements.txt (line 1))
Requirement already up-to-date: multidict>=2.0 in c:\users\kneller\appdata\local\programs\python\python35\lib\site-packages (from aiohttp<1.1.0,>=1.0.0->discord.py[voice]~=0.12.0->-r requirements.txt (line 1))
Requirement already up-to-date: async-timeout in c:\users\kneller\appdata\local\programs\python\python35\lib\site-packages (from aiohttp<1.1.0,>=1.0.0->discord.py[voice]~=0.12.0->-r requirements.txt (line 1))
Collecting six (from PyNaCl==1.0.1->discord.py[voice]~=0.12.0->-r requirements.txt (line 1))
Using cached six-1.11.0-py2.py3-none-any.whl
Installing collected packages: websockets, six, pycparser, cffi, PyNaCl, discord.py, youtube-dl, pip
Running setup.py install for websockets
Complete output from command C:\Users\Kneller\AppData\Local\Programs\Python\Python35\python.exe -c "import setuptools, tokenize;__file__='C:\\Users\\Kneller\\AppData\\Local\\Temp\\pip-build-sm2tgz3b\\websockets\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\Kneller\AppData\Local\Temp\pip-1t426d1q-record\install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.5
creating build\lib.win-amd64-3.5\websockets
copying websockets\client.py -> build\lib.win-amd64-3.5\websockets
copying websockets\compatibility.py -> build\lib.win-amd64-3.5\websockets
copying websockets\exceptions.py -> build\lib.win-amd64-3.5\websockets
copying websockets\framing.py -> build\lib.win-amd64-3.5\websockets
copying websockets\handshake.py -> build\lib.win-amd64-3.5\websockets
copying websockets\http.py -> build\lib.win-amd64-3.5\websockets
copying websockets\protocol.py -> build\lib.win-amd64-3.5\websockets
copying websockets\server.py -> build\lib.win-amd64-3.5\websockets
copying websockets\test_client_server.py -> build\lib.win-amd64-3.5\websockets
copying websockets\test_framing.py -> build\lib.win-amd64-3.5\websockets
copying websockets\test_handshake.py -> build\lib.win-amd64-3.5\websockets
copying websockets\test_http.py -> build\lib.win-amd64-3.5\websockets
copying websockets\test_protocol.py -> build\lib.win-amd64-3.5\websockets
copying websockets\test_speedups.py -> build\lib.win-amd64-3.5\websockets
copying websockets\test_uri.py -> build\lib.win-amd64-3.5\websockets
copying websockets\test_utils.py -> build\lib.win-amd64-3.5\websockets
copying websockets\uri.py -> build\lib.win-amd64-3.5\websockets
copying websockets\utils.py -> build\lib.win-amd64-3.5\websockets
copying websockets\version.py -> build\lib.win-amd64-3.5\websockets
copying websockets\__init__.py -> build\lib.win-amd64-3.5\websockets
creating build\lib.win-amd64-3.5\websockets\py35
copying websockets/py35\client.py -> build\lib.win-amd64-3.5\websockets/py35
copying websockets/py35\client_server.py -> build\lib.win-amd64-3.5\websockets/py35
copying websockets/py35\server.py -> build\lib.win-amd64-3.5\websockets/py35
copying websockets/py35\__init__.py -> build\lib.win-amd64-3.5\websockets/py35
running build_ext
building 'websockets.speedups' extension
error: [WinError 2] The system cannot find the file specified

----------------------------------------
Command "C:\Users\Kneller\AppData\Local\Programs\Python\Python35\python.exe -c "import setuptools, tokenize;__file__='C:\\Users\\Kneller\\AppData\\Local\\Temp\\pip-build-sm2tgz3b\\websockets\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\Kneller\AppData\Local\Temp\pip-1t426d1q-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\Kneller\AppData\Local\Temp\pip-build-sm2tgz3b\websockets
You are using pip version 7.1.2, however version 9.0.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

You may need to run as admin to install dependencies.
 
Last edited:
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Swift.

Experienced Manager | Developer
Banned
Feedback score
38
Posts
1,448
Reactions
255
Resources
0
and

No module named 'discord'
 
Banned forever. Reason: Scamming (https://builtbybit.com/threads/swift-scam-report.441763/)
Status
This thread has been locked.
Top