ctk_theme_builder: doesn't automaticly install required packages in the venv
ive tried running build_app.bat, manually installing setuputils, but then i get the error:
Collecting colorharmonies==1.0.5 (from -r requirements.txt (line 1))
Using cached colorharmonies-1.0.5-py3-none-any.whl (3.6 kB)
Collecting colour==0.1.5 (from -r requirements.txt (line 2))
Using cached colour-0.1.5-py2.py3-none-any.whl (23 kB)
Collecting contourpy==1.0.5 (from -r requirements.txt (line 3))
Using cached contourpy-1.0.5.tar.gz (12.2 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Collecting CTkMessagebox==2.1 (from -r requirements.txt (line 4))
Obtaining dependency information for CTkMessagebox==2.1 from https://files.pythonhosted.org/packages/3b/10/16187d90643dfd5a5f84dfc141c8627da3ec2a372ece5a33823c93074f72/CTkMessagebox-2.1-py3-none-any.whl.metadata
Using cached CTkMessagebox-2.1-py3-none-any.whl.metadata (7.2 kB)
Collecting customtkinter==5.2.1 (from -r requirements.txt (line 5))
Obtaining dependency information for customtkinter==5.2.1 from https://files.pythonhosted.org/packages/d9/22/9015be3112284c6bc5ed2ad2122d273a3c2242d5e6cbb121e027d1c77004/customtkinter-5.2.1-py3-none-any.whl.metadata
Using cached customtkinter-5.2.1-py3-none-any.whl.metadata (652 bytes)
Collecting cycler==0.11.0 (from -r requirements.txt (line 6))
Using cached cycler-0.11.0-py3-none-any.whl (6.4 kB)
Collecting darkdetect==0.8.0 (from -r requirements.txt (line 7))
Using cached darkdetect-0.8.0-py3-none-any.whl (9.0 kB)
Collecting fonttools==4.38.0 (from -r requirements.txt (line 8))
Using cached fonttools-4.38.0-py3-none-any.whl (965 kB)
Collecting importlib-resources==5.12.0 (from -r requirements.txt (line 9))
Using cached importlib_resources-5.12.0-py3-none-any.whl (36 kB)
Collecting kiwisolver==1.4.4 (from -r requirements.txt (line 10))
Using cached kiwisolver-1.4.4.tar.gz (97 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting loguru==0.7.2 (from -r requirements.txt (line 11))
Obtaining dependency information for loguru==0.7.2 from https://files.pythonhosted.org/packages/03/0a/4f6fed21aa246c6b49b561ca55facacc2a44b87d65b8b92362a8e99ba202/loguru-0.7.2-py3-none-any.whl.metadata
Using cached loguru-0.7.2-py3-none-any.whl.metadata (23 kB)
Collecting matplotlib==3.7.1 (from -r requirements.txt (line 12))
Using cached matplotlib-3.7.1.tar.gz (38.0 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Collecting numpy==1.23.4 (from -r requirements.txt (line 13))
Using cached numpy-1.23.4.tar.gz (10.7 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [33 lines of output]
Traceback (most recent call last):
File "C:\Users\58147793\ctk_theme_builder\venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
main()
File "C:\Users\58147793\ctk_theme_builder\venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\58147793\ctk_theme_builder\venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 112, in get_requires_for_build_wheel
backend = _build_backend()
^^^^^^^^^^^^^^^^
File "C:\Users\58147793\ctk_theme_builder\venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 77, in _build_backend
obj = import_module(mod_path)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\58147793\AppData\Local\Programs\Python\Python312\Lib\importlib\__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1310, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 994, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "C:\Users\58147793\AppData\Local\Temp\pip-build-env-no3t5hdl\overlay\Lib\site-packages\setuptools\__init__.py", line 16, in <module>
import setuptools.version
File "C:\Users\58147793\AppData\Local\Temp\pip-build-env-no3t5hdl\overlay\Lib\site-packages\setuptools\version.py", line 1, in <module>
import pkg_resources
File "C:\Users\58147793\AppData\Local\Temp\pip-build-env-no3t5hdl\overlay\Lib\site-packages\pkg_resources\__init__.py", line 2172, in <module>
register_finder(pkgutil.ImpImporter, find_on_path)
^^^^^^^^^^^^^^^^^^^
AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
About this issue
- Original URL
- State: closed
- Created 5 months ago
- Comments: 26 (12 by maintainers)
im glad i could help! the issues are indeed gone now i gues this issue can be closed now