Open datadizzy opened 1 year ago
Hi there - you're probably on Python 3.12 (as was I).
I checked out the versioneer package and it says:
Compatible with: Python 3.7, 3.8, 3.9, 3.10, 3.11 and pypy3 Experimental support for Python 3.12.
If you're running Python 3.12, installing convoviz
apparently will throw an error.
I got it to build with the following steps:
Selected a supported version of the Python interpreter as IDE interpreter (e.g., version = 3.11)
Created virtual environment to contain this version and its packages (best practice anyway) in my project directory:
python -m venv YOUR_VIRTUAL_ENV_NAME
source YOUR_VIRTUAL_ENV_NAME/bin/activate
The terminal should display:
(YOUR_VIRTUAL_ENV_NAME) ➜ directory
Ran pip install convoviz
again
It should then build fine.
The direct source in this project seems to be the wordcloud
package, which uses versioneer.
Describe the bug error when installing
Expected behavior installing the program Screenshots File "{MYFILEDIRECTORY}\Local\Programs\Python\Python312\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "{MYFILEDIRECTORY}\Local\Programs\Python\Python312\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 "{MYFILEDIRECTORY}\Local\Programs\Python\Python312\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "{MYFILEDIRECTORY}\Local\Temp\pip-build-env-hz122s8l\overlay\Lib\site-packages\setuptools\build_meta.py", line 355, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "{MYFILEDIRECTORY}\Local\Temp\pip-build-env-hz122s8l\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in _get_build_requires
self.run_setup()
File "{MYFILEDIRECTORY}\Local\Temp\pip-build-env-hz122s8l\overlay\Lib\site-packages\setuptools\build_meta.py", line 507, in run_setup
super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
File "{MYFILEDIRECTORY}\Local\Temp\pip-build-env-hz122s8l\overlay\Lib\site-packages\setuptools\build_meta.py", line 341, in run_setup
exec(code, locals())
File "", line 13, in
File "{MYFILEDIRECTORY}\wordcloud_a2b0ea437707470fb309527d01325bc0\versioneer.py", line 1480, in get_version
return get_versions()["version"]
^^^^^^^^^^^^^^
File "{MYFILEDIRECTORY}\wordcloud_a2b0ea437707470fb309527d01325bc0\versioneer.py", line 1412, in get_versions
cfg = get_config_from_root(root)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "{MYFILEDIRECTORY}\wordcloud_a2b0ea437707470fb309527d01325bc0\versioneer.py", line 342, in get_config_from_root
parser = configparser.SafeConfigParser()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OS Windows
Additional context This is my very first time submitting an issue - please let me know if i missed something.