Warum kann ich bei PyCharm keine interpreter installieren?

Hey ich versuche über Pycharm einen Discord Bot zu programmieren allerdings seit ich meinen pc zurückgesetzt habe kann ich keine interpreter installieren.

Egal ob über das Terminal oder über die Einstellungen, denn es kommt immer diese Fehlermeldung:
``` (venv) leonmt12345@penguin:~/PycharmProjects/bittepycharm$ pip install py-cord == 2.3.2

Traceback (most recent call last):

File "/home/leonmt12345/PycharmProjects/bittepycharm/venv/bin/pip", line 5, in <module>

from pip._internal.cli.main import main

File "/home/leonmt12345/PycharmProjects/bittepycharm/venv/lib/python3.9/site-packages/pip/_internal/cli/main.py", line 9, in <module>

from pip._internal.cli.autocompletion import autocomplete

File "/home/leonmt12345/PycharmProjects/bittepycharm/venv/lib/python3.9/site-packages/pip/_internal/cli/autocompletion.py", line 10, in <module>

from pip._internal.cli.main_parser import create_main_parser

File "/home/leonmt12345/PycharmProjects/bittepycharm/venv/lib/python3.9/site-packages/pip/_internal/cli/main_parser.py", line 8, in <module>

from pip._internal.cli import cmdoptions

File "/home/leonmt12345/PycharmProjects/bittepycharm/venv/lib/python3.9/site-packages/pip/_internal/cli/cmdoptions.py", line 23, in <module>

from pip._internal.cli.parser import ConfigOptionParser

File "/home/leonmt12345/PycharmProjects/bittepycharm/venv/lib/python3.9/site-packages/pip/_internal/cli/parser.py", line 12, in <module>

from pip._internal.configuration import Configuration, ConfigurationError

File "/home/leonmt12345/PycharmProjects/bittepycharm/venv/lib/python3.9/site-packages/pip/_internal/configuration.py", line 26, in <module>

from pip._internal.utils.logging import getLogger

File "/home/leonmt12345/PycharmProjects/bittepycharm/venv/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 13, in <module>

from pip._internal.utils.misc import ensure_dir

File "/home/leonmt12345/PycharmProjects/bittepycharm/venv/lib/python3.9/site-packages/pip/_internal/utils/misc.py", line 40, in <module>

from pip._internal.locations import get_major_minor_version, site_packages, user_site

File "/home/leonmt12345/PycharmProjects/bittepycharm/venv/lib/python3.9/site-packages/pip/_internal/locations/__init__.py", line 14, in <module>

from . import _distutils, _sysconfig

File "/home/leonmt12345/PycharmProjects/bittepycharm/venv/lib/python3.9/site-packages/pip/_internal/locations/_distutils.py", line 9, in <module>

from distutils.cmd import Command as DistutilsCommand

ModuleNotFoundError: No module named 'distutils.cmd'```
Ich bin auf Linux wenn das irgenwie hilft.

Linux, Python, Pycharm, Discord, Discord Bot
discord.py fehlermeldung?

Hallo ihr lieben,

ich bin ein programmier anfänger und ich habe nun vor einen discord bot zu coden ich habe einen anfangs schrit in phyton vn einem video übernommen aber es kommt der fehler

Traceback (most recent call last):

 File "C:\Users\jweiling\PycharmProjects\NightmaresSystem\main.py", line 53, in <module>

   bot.run("")

 File "C:\Users\jweiling\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\client.py", line 828, in run

   asyncio.run(runner())

 File "C:\Users\jweiling\AppData\Local\Programs\Python\Python38\lib\asyncio\runners.py", line 44, in run

   return loop.run_until_complete(main)

 File "C:\Users\jweiling\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 616, in run_until_complete

   return future.result()

 File "C:\Users\jweiling\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\client.py", line 817, in runner

   await self.start(token, reconnect=reconnect)

 File "C:\Users\jweiling\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\client.py", line 746, in start

   await self.connect(reconnect=reconnect)

 File "C:\Users\jweiling\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\client.py", line 672, in connect

   raise PrivilegedIntentsRequired(exc.shard_id) from None

discord.errors.PrivilegedIntentsRequired: Shard ID None is requesting privileged intents that have not been explicitly enabled in the developer portal. It is recommended to go to https://discord.com/developers/applications/ and explicitly enable the privileged intents within your application's page. If this is not possible, then consider disabling the privileged intents instead.

Exception ignored in: <function _ProactorBasePipeTransport.__del__ at 0x0000000002D2B160>

Traceback (most recent call last):

 File "C:\Users\jweiling\AppData\Local\Programs\Python\Python38\lib\asyncio\proactor_events.py", line 116, in __del__

   self.close()

 File "C:\Users\jweiling\AppData\Local\Programs\Python\Python38\lib\asyncio\proactor_events.py", line 108, in close

   self._loop.call_soon(self._call_connection_lost, None)

 File "C:\Users\jweiling\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 719, in call_soon

   self._check_closed()

 File "C:\Users\jweiling\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 508, in _check_closed

   raise RuntimeError('Event loop is closed')

RuntimeError: Event loop is closed

hat wer eine Ahnung

LG Hyper

Python, Pycharm, Discord, Discord Bot

Meistgelesene Beiträge zum Thema Discord