Closed greplol closed 1 month ago
the console returns
pip install amulet-core Collecting amulet-core Downloading amulet_core-1.9.22-py3-none-any.whl.metadata (4.3 kB) Requirement already satisfied: numpy~=1.17 in c:\users\beheerder\appdata\local\programs\python\python312\lib\site-packages (from amulet-core) (1.26.4) Collecting amulet-nbt~=2.0 (from amulet-core) Downloading amulet-nbt-2.1.3.tar.gz (1.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 9.5 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting pymctranslate~=1.2 (from amulet-core) Downloading PyMCTranslate-1.2.23-py3-none-any.whl.metadata (2.2 kB) Collecting portalocker~=2.4 (from amulet-core) Downloading portalocker-2.8.2-py3-none-any.whl.metadata (8.5 kB) Collecting amulet-leveldb~=1.0b0 (from amulet-core) Downloading amulet_leveldb-1.0.0-cp312-cp312-win_amd64.whl.metadata (1.2 kB) Collecting platformdirs~=3.1 (from amulet-core) Downloading platformdirs-3.11.0-py3-none-any.whl.metadata (11 kB) Requirement already satisfied: lz4~=4.3 in c:\users\beheerder\appdata\local\programs\python\python312\lib\site-packages (from amulet-core) (4.3.3) Collecting mutf8~=1.0 (from amulet-nbt~=2.0->amulet-core) Downloading mutf8-1.0.6.tar.gz (6.4 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing metadata (pyproject.toml) ... done Collecting pywin32>=226 (from portalocker~=2.4->amulet-core) Downloading pywin32-306-cp312-cp312-win_amd64.whl.metadata (6.5 kB) Downloading amulet_core-1.9.22-py3-none-any.whl (273 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 273.6/273.6 kB 16.5 MB/s eta 0:00:00 Downloading amulet_leveldb-1.0.0-cp312-cp312-win_amd64.whl (223 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 223.7/223.7 kB 13.3 MB/s eta 0:00:00 Downloading platformdirs-3.11.0-py3-none-any.whl (17 kB) Downloading portalocker-2.8.2-py3-none-any.whl (17 kB) Downloading PyMCTranslate-1.2.23-py3-none-any.whl (1.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 23.1 MB/s eta 0:00:00 Downloading pywin32-306-cp312-cp312-win_amd64.whl (9.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.2/9.2 MB 42.1 MB/s eta 0:00:00 Building wheels for collected packages: amulet-nbt, mutf8 Building wheel for amulet-nbt (pyproject.toml) ... error error: subprocess-exited-with-error × Building wheel for amulet-nbt (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [35 lines of output] Warning: build in C:\Windows\Temp\pip-build-env-jq2wucrw\overlay\Lib\site-packages is using versioneer.py from C:\Windows\Temp\pip-install-25pk9oe4\amulet-nbt_0d1a57f750094dc48557e635becfc96e\versioneer.py running bdist_wheel running build running build_py Warning: build in C:\Windows\Temp\pip-build-env-jq2wucrw\overlay\Lib\site-packages is using versioneer.py from C:\Windows\Temp\pip-install-25pk9oe4\amulet-nbt_0d1a57f750094dc48557e635becfc96e\versioneer.py Warning: build in C:\Windows\Temp\pip-build-env-jq2wucrw\overlay\Lib\site-packages is using versioneer.py from C:\Windows\Temp\pip-install-25pk9oe4\amulet-nbt_0d1a57f750094dc48557e635becfc96e\versioneer.py creating build creating build\lib.win-amd64-cpython-312 creating build\lib.win-amd64-cpython-312\amulet_nbt copying amulet_nbt\_dtype.py -> build\lib.win-amd64-cpython-312\amulet_nbt copying amulet_nbt\_version.py -> build\lib.win-amd64-cpython-312\amulet_nbt copying amulet_nbt\__init__.py -> build\lib.win-amd64-cpython-312\amulet_nbt creating build\lib.win-amd64-cpython-312\amulet_nbt\__pyinstaller copying amulet_nbt\__pyinstaller\hook-amulet_nbt.py -> build\lib.win-amd64-cpython-312\amulet_nbt\__pyinstaller copying amulet_nbt\__pyinstaller\__init__.py -> build\lib.win-amd64-cpython-312\amulet_nbt\__pyinstaller copying amulet_nbt\_array.pyi -> build\lib.win-amd64-cpython-312\amulet_nbt copying amulet_nbt\_compound.pyi -> build\lib.win-amd64-cpython-312\amulet_nbt copying amulet_nbt\_float.pyi -> build\lib.win-amd64-cpython-312\amulet_nbt copying amulet_nbt\_int.pyi -> build\lib.win-amd64-cpython-312\amulet_nbt copying amulet_nbt\_list.pyi -> build\lib.win-amd64-cpython-312\amulet_nbt copying amulet_nbt\_load_nbt.pyi -> build\lib.win-amd64-cpython-312\amulet_nbt copying amulet_nbt\_load_snbt.pyi -> build\lib.win-amd64-cpython-312\amulet_nbt copying amulet_nbt\_named_tag.pyi -> build\lib.win-amd64-cpython-312\amulet_nbt copying amulet_nbt\_numeric.pyi -> build\lib.win-amd64-cpython-312\amulet_nbt copying amulet_nbt\_string.pyi -> build\lib.win-amd64-cpython-312\amulet_nbt copying amulet_nbt\_util.pyi -> build\lib.win-amd64-cpython-312\amulet_nbt copying amulet_nbt\_value.pyi -> build\lib.win-amd64-cpython-312\amulet_nbt copying amulet_nbt\py.typed -> build\lib.win-amd64-cpython-312\amulet_nbt UPDATING build\lib.win-amd64-cpython-312\amulet_nbt/_version.py set build\lib.win-amd64-cpython-312\amulet_nbt/_version.py to '2.1.3' running build_ext Warning: build in C:\Windows\Temp\pip-build-env-jq2wucrw\overlay\Lib\site-packages is using versioneer.py from C:\Windows\Temp\pip-install-25pk9oe4\amulet-nbt_0d1a57f750094dc48557e635becfc96e\versioneer.py Warning: build in C:\Windows\Temp\pip-build-env-jq2wucrw\overlay\Lib\site-packages is using versioneer.py from C:\Windows\Temp\pip-install-25pk9oe4\amulet-nbt_0d1a57f750094dc48557e635becfc96e\versioneer.py building 'amulet_nbt._array' extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for amulet-nbt Building wheel for mutf8 (pyproject.toml) ... done Created wheel for mutf8: filename=mutf8-1.0.6-cp312-cp312-win_amd64.whl size=4909 sha256=288cc6d8fd8d23270ae64df530d649bd9b1d41ae1d1c4cf75f0e75ece037a812 Stored in directory: c:\users\beheerder\appdata\local\pip\cache\wheels\c2\2a\80\4c1ef20c67de151e7de0f1d4168f9a7e26c75d54403c6114a8 Successfully built mutf8 Failed to build amulet-nbt ERROR: Could not build wheels for amulet-nbt, which is required to install pyproject.toml-based projects
We don't have pre-built wheels for amulet-nbt for Python 3.12 yet. You will either need to install visual studio and the C++ build tools or switch to Python 3.11
the console returns