Skip to content

Instantly share code, notes, and snippets.

@Podshot
Created December 9, 2019 19:31
Show Gist options
  • Save Podshot/179c32f0c1d4d51b99f24fa425776577 to your computer and use it in GitHub Desktop.
Save Podshot/179c32f0c1d4d51b99f24fa425776577 to your computer and use it in GitHub Desktop.
>>> import PyMCTranslate
Traceback (most recent call last):
File "C:\Users\gotharbg\Documents\Python Projects\Amulet-Core\venv\lib\site-packages\pymctranslate-0.0.0-py3.7.egg\PyMCTranslate\py3\translation_manager.py", line 7, in <module>
from amulet.api.block import Block
File "C:\Program Files\JetBrains\PyCharm 2019.2.1\plugins\python\helpers\pydev\_pydev_bundle\pydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
File "C:\Users\gotharbg\Documents\Python Projects\Amulet-Core\amulet\__init__.py", line 2, in <module>
from .world_interface import *
File "C:\Program Files\JetBrains\PyCharm 2019.2.1\plugins\python\helpers\pydev\_pydev_bundle\pydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
File "C:\Users\gotharbg\Documents\Python Projects\Amulet-Core\amulet\world_interface\__init__.py", line 5, in <module>
from amulet.world_interface import formats
File "C:\Program Files\JetBrains\PyCharm 2019.2.1\plugins\python\helpers\pydev\_pydev_bundle\pydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
File "C:\Users\gotharbg\Documents\Python Projects\Amulet-Core\amulet\world_interface\formats\__init__.py", line 9, in <module>
from amulet.world_interface.chunk import interfaces
File "C:\Program Files\JetBrains\PyCharm 2019.2.1\plugins\python\helpers\pydev\_pydev_bundle\pydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
File "C:\Users\gotharbg\Documents\Python Projects\Amulet-Core\amulet\world_interface\chunk\interfaces\__init__.py", line 8, in <module>
from amulet.world_interface.chunk import translators
File "C:\Program Files\JetBrains\PyCharm 2019.2.1\plugins\python\helpers\pydev\_pydev_bundle\pydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
File "C:\Users\gotharbg\Documents\Python Projects\Amulet-Core\amulet\world_interface\chunk\translators\__init__.py", line 14, in <module>
from PyMCTranslate.py3.translation_manager import Version
ImportError: cannot import name 'Version' from 'PyMCTranslate.py3.translation_manager' (C:\Users\gotharbg\Documents\Python Projects\Amulet-Core\venv\lib\site-packages\pymctranslate-0.0.0-py3.7.egg\PyMCTranslate\py3\translation_manager.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "C:\Program Files\JetBrains\PyCharm 2019.2.1\plugins\python\helpers\pydev\_pydev_bundle\pydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
File "C:\Users\gotharbg\Documents\Python Projects\Amulet-Core\venv\lib\site-packages\pymctranslate-0.0.0-py3.7.egg\PyMCTranslate\__init__.py", line 2, in <module>
from PyMCTranslate.py3.translation_manager import TranslationManager
File "C:\Program Files\JetBrains\PyCharm 2019.2.1\plugins\python\helpers\pydev\_pydev_bundle\pydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
File "C:\Users\gotharbg\Documents\Python Projects\Amulet-Core\venv\lib\site-packages\pymctranslate-0.0.0-py3.7.egg\PyMCTranslate\py3\translation_manager.py", line 11, in <module>
from PyMCTranslate.py3.api.block import Block
File "C:\Program Files\JetBrains\PyCharm 2019.2.1\plugins\python\helpers\pydev\_pydev_bundle\pydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
ModuleNotFoundError: No module named 'PyMCTranslate.py3.api'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment