ModuleNotFoundError: No module named 'apt_pkg'ĪttributeError: module 'importlib. Register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider)ĪttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'įile "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthookįrom apport.fileutils import likely_packaged, get_recent_crashesįile "/usr/lib/python3/dist-packages/apport/_init_.py", line 5, in įile "/usr/lib/python3/dist-packages/apport/report.py", line 30, in įile "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in įrom apport.packaging_impl import impl as packagingįile "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 20, in įile "/usr/lib/python3/dist-packages/apt/_init_.py", line 23, in Return _get_module_details(pkg_main_name, error)įile "/usr/lib/python3.6/runpy.py", line 109, in _get_module_detailsįile "/usr/lib/python3/dist-packages/pip/_init_.py", line 59, in įile "/usr/lib/python3/dist-packages/pip/log.py", line 9, in įile "", line 950, in _find_and_load_unlockedįile "", line 616, in _load_backward_compatibleįile "/usr/share/python-wheels/圓-none-any.whl/pkg_resources.py", line 1479, in Mod_name, mod_spec, code = _get_module_details(mod_name, _Error)įile "/usr/lib/python3.6/runpy.py", line 142, in _get_module_details Traceback (most recent call last):įile "/usr/lib/python3.6/runpy.py", line 183, in _run_module_as_main Is the library not compatible with python 3.6, or am I doing something wrong? Forgive me if it's rather obvious I'm new to python. I am getting an error that looks like this, but I'm not sure what it is supposed to mean. Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions. They update automatically and roll back gracefully. Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. The command I am using is as follows: python3.6 -m pip install -U discord.py Enable snaps on Arch Linux and install Discord. I've installed it before, but on my other PC which had python 3.4. I'm having trouble installing the discord.py package into python 3.6.
0 Comments
Leave a Reply. |