{"id":1131,"hash":"1f7a48ad9f0cf847b7ec2af77303b915c4a3ce88ae07f8243bb23675fc7c0837","pattern":"Error: Python packaging tool &#39;setuptools&#39; not found","full_message":"I have a poetry project that is not using setuptools\n\n[tool.poetry.dependencies]\npython = \">=3.9,<3.11\"\nopencv-python = \"^4.7.0.68\"\ntensorflow-macos = \"^2.11.0\"\ntensorflow-metal = \"^0.7.0\"\n\nbut I keep getting this error in pycharm. Command from screenshot:\n\n/Users/mc/Library/Caches/pypoetry/virtualenvs/besafe-_8yAv-v6-py3.9/bin/Python /Users/mc/Library/Application Support/JetBrains/Toolbox/apps/PyCharm-P/ch-0/223.8214.51/PyCharm.app/Contents/plugins/python/helpers/packaging_tool.py list\n\nIt just pops up without any action from my side. It seems like PyCharm is doing some execution under the hood but I do not know what is it.\n\nI do not understand how am I supposed to fix this?","ecosystem":"pypi","package_name":"pycharm","package_version":null,"solution":"While it seems that this requires a fix from the PyCharm team, an interim solution is to install setuptools as a development dependency,\n\nnew version (thanks @milonimrod)\n\npoetry add --group dev setuptools\n\nold version,\n\npoetry add --dev setuptools","confidence":0.95,"source":"stackoverflow","source_url":"https://stackoverflow.com/questions/75307814/error-python-packaging-tool-setuptools-not-found","votes":29,"created_at":"2026-04-19T04:52:24.096885+00:00","updated_at":"2026-04-19T04:52:24.096885+00:00"}