在使用python3.12时突然遇到提示windows No module named distutils,研究了一下,把解决办法分享出来。 安装setuptools,它现在也提供 distutils 从第三方源(如系统软件包)载入 distutils 或降级到旧版本的 Python(3.11 或更旧版本)、等待它的维护者更新它以支持 Python 3.12。 安装setuptools的方法 python -m -ensurepip...
│ ModuleNotFoundError: No module named 'distutils' 这说明 python 的安装环境内有缺失,通过命令pip install setuptools即可解决。
For more information, see the setuptools project documentation.Complete the following steps to install the C++ extension module in your Python environment:In Solution Explorer, right-click your C++ project, and select Add > New Item. In the list of file templates, select C++ File (.cpp). ...
(ProjectDir)setup.py" TargetType="script" Arguments="bdist_wininst --user-access-control=force --title "$(InstallerTitle)" --dist-dir="$(DistributionOutputDir)"" WorkingDirectory="$(WorkingDirectory)" RequiredPackages="setuptools" ExecuteIn="Repl:Generate Windows Installer">...
This issue has been raised (and ignored) before (open issue #215) but the latest release version 1.4, does not even allow the previous workaround ( installing python-magic-bin or in some cases python-magic-win64). Currently a standard pi...
Loading module hook "hook-pydoc.py"... 4963 INFO: Loading module hook "hook-PySide2.py"... 5495 INFO: Processing pre-find module path hook distutils 6672 INFO: Processing pre-safe import module hook setuptools.extern.six.moves 7190 INFO: Processing pre-find module path hook site 7190 INF...
27319 INFO: Processing pre-safe import module hook setuptools.extern.six.moves 37268 INFO: Import to be excluded not found: '_tkinter' 37268 INFO: Excluding import 'twisted' 37277 INFO: Removing import of twisted from module kivy.support ...
(ProjectDir)setup.py" TargetType="script" Arguments="bdist_wininst --user-access-control=force --title "$(InstallerTitle)" --dist-dir="$(DistributionOutputDir)"" WorkingDirectory="$(WorkingDirectory)" RequiredPackages="setuptools" ExecuteIn="Repl:Generate Windows Installer">...
(ProjectDir)setup.py" TargetType="script" Arguments="bdist_wininst --user-access-control=force --title "$(InstallerTitle)" --dist-dir="$(DistributionOutputDir)"" WorkingDirectory="$(WorkingDirectory)" RequiredPackages="setuptools" ExecuteIn="Repl:Generate Windows Installer">...
Processing pre-safe import module hook setuptools.extern.six.moves from 'E:\\BuildEnv\\reproduce\\kivyGL\\.venv\\lib\\site-packages\\PyInstaller\\hooks\\pre_safe_import_module\\hook-setuptools.extern.six.moves.py'. 4536 INFO: Processing pre-find module path hook site from 'E:\\BuildEnv\...