Red wont launch for me #2090
Labels
No labels
Automated PR
Blocked
Blocked By: Damage Control
Blocked By: Dependency
Blocked By: Other PR
Breaking Change
Category: CI
Category: Cogs - Admin
Category: Cogs - Alias
Category: Cogs - Audio
Category: Cogs - Bank
Category: Cogs - Cleanup
Category: Cogs - CustomCommands
Category: Cogs - Dev
Category: Cogs - Downloader
Category: Cogs - Economy
Category: Cogs - Filter
Category: Cogs - General
Category: Cogs - Image
Category: Cogs - Mod
Category: Cogs - Modlog
Category: Cogs - Mutes
Category: Cogs - Permissions
Category: Cogs - Reports
Category: Cogs - Streams
Category: Cogs - Trivia
Category: Cogs - Trivia - Lists
Category: Cogs - Warnings
Category: Core - API - App Commands Package
Category: Core - API - Audio
Category: Core - API - Bank
Category: Core - API - Commands Package
Category: Core - API - Config
Category: Core - API - Other
Category: Core - API - Utils Package
Category: Core - Bot Class
Category: Core - Bot Commands
Category: Core - Command-line Interfaces
Category: Core - Downloader
Category: Core - Help
Category: Core - i18n
Category: Core - Modlog
Category: Core - Other Internals
Category: Core - RPC/ZMQ
Category: Docker
Category: Docs - Changelogs
Category: Docs - For Developers
Category: Docs - Install Guides
Category: Docs - Other
Category: Docs - User Guides
Category: Meta
Category: RPC/ZMQ methods
Category: Vendored Packages
Changelog Entry: Added
Changelog Entry: Pending
Changelog Entry: Skipped
Closed: Duplicate
Closed: External
Closed: Invalid
Closed: User Error
Closed: Won't Fix
Complex Issue
Docs-only
Feature Branch
Good First Issue
Help Wanted
High Priority
Needs Backport To stable-docs
No Activity
No Repro
QA: Bypassed
QA: Changes Requested
QA: Passed
Release Blocker
Status: Accepted
Status: Frozen
Status: In Progress
Status: Needs Discussion
Status: Needs Info
Status: Needs Triage
Status: PRs Welcome
Type: Bug
Type: Dependency Update
Type: Deprecation
Type: Enhancement
Type: Feature
Type: Informational
Type: Merge
Type: Optimisation
Type: Question
Type: Removal
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Mrcoolgamer11/Red-DiscordBot#2090
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Other bugs
What were you trying to do?
Trying to launch red
What were you expecting to happen?
For it to launch
What actually happened?
Spat out a fat error
Starting Red...
Traceback (most recent call last):
File "red.py", line 12, in
from discord.ext import commands
File "lib\discord_init_.py", line 20, in
from .client import Client, AppInfo, ChannelPermissions
File "lib\discord\client.py", line 42, in
from .voice_client import VoiceClient
File "lib\discord\voice_client.py", line 43, in
import websockets
File "lib\websockets_init_.py", line 3, in
from .client import *
File "lib\websockets\client.py", line 12, in
from .protocol import CONNECTING, OPEN, WebSocketCommonProtocol
File "lib\websockets\protocol.py", line 17, in
from .compatibility import asyncio_ensure_future
File "lib\websockets\compatibility.py", line 9
asyncio_ensure_future = asyncio.async # Python < 3.5
^
SyntaxError: invalid syntax
Red has been terminated. Exit code: 1
How can we reproduce this issue?
Step 1)Cloning red with git
Step 2)Running it after installing dependencies
Step 3)Done
New issue
Re-ran the requirement install with audio support - came back with
Installing collected packages: pip, chardet, multidict, async-timeout, aiohttp, websockets, six, pycparser, cffi, PyNaCl, discord.py, youtube-dl, urllib3, certifi, idna, requests, imgurpython
Running setup.py install for multidict ... done
Running setup.py install for aiohttp ... done
Running setup.py install for websockets ... done
Running setup.py install for pycparser ... done
Running setup.py install for PyNaCl ... error
Complete output from command C:\Users\user\AppData\Local\Programs\Python\Python37-32\python.exe -u -c "import setuptools, tokenize;file='C:\Users\user\AppData\Local\Temp\pip-install-cfdjtv0a\PyNaCl\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\user\AppData\Local\Temp\pip-record-1rduaq9n\install-record.txt --single-version-externally-managed --compile --home=C:\Users\user\AppData\Local\Temp\pip-target-rfa4tj5q:
running install
running build
running build_py
creating build
creating build\lib.win32-3.7
creating build\lib.win32-3.7\nacl
copying src\nacl\encoding.py -> build\lib.win32-3.7\nacl
copying src\nacl\exceptions.py -> build\lib.win32-3.7\nacl
copying src\nacl\hash.py -> build\lib.win32-3.7\nacl
copying src\nacl\public.py -> build\lib.win32-3.7\nacl
copying src\nacl\secret.py -> build\lib.win32-3.7\nacl
copying src\nacl\signing.py -> build\lib.win32-3.7\nacl
copying src\nacl\utils.py -> build\lib.win32-3.7\nacl
copying src\nacl_init_.py -> build\lib.win32-3.7\nacl
creating build\lib.win32-3.7\nacl\bindings
copying src\nacl\bindings\crypto_box.py -> build\lib.win32-3.7\nacl\bindings
copying src\nacl\bindings\crypto_hash.py -> build\lib.win32-3.7\nacl\bindings
copying src\nacl\bindings\crypto_scalarmult.py -> build\lib.win32-3.7\nacl\bindings
copying src\nacl\bindings\crypto_secretbox.py -> build\lib.win32-3.7\nacl\bindings
copying src\nacl\bindings\crypto_sign.py -> build\lib.win32-3.7\nacl\bindings
copying src\nacl\bindings\randombytes.py -> build\lib.win32-3.7\nacl\bindings
copying src\nacl\bindings\sodium_core.py -> build\lib.win32-3.7\nacl\bindings
copying src\nacl\bindings_init_.py -> build\lib.win32-3.7\nacl\bindings
running build_clib
error: [WinError 193] %1 is not a valid Win32 application
At the end
As the guide explains in bold letters Python 3.5.* is needed. Make sure you uninstall the current version you have first.