2024-11-18 12:53 AM - last edited on 2024-11-18 02:09 AM by SofLit
STM32CubeFunctionPack_DATALOGMC_V1.1.1をwebからダウンロードし
Downloaded STM32CubeFunctionPack_DATALOGMC_V1.1.1 from the web.
en.fp-ind-datalogmc\STM32CubeFunctionPack_DATALOGMC_V1.1.1\Utilities\HSDPython_SDK\HSDPython_SDK_install.bat
を実行すると
When I run en.fp-ind-datalogmc\STM32CubeFunctionPack_DATALOGMC_V1.1.1\Utilities\HSDPython_SDK\HSDPython_SDK_install.bat
以下のようにエラーが出ます
このエラーを解決したいです。python3.13をインストール済みです。
HSDPython_SDK Installer
I get the following error
I want to resolve this error. I have already installed python3.13.
When I run HSDPython_SDK Installer
[NOTE]: If you are using a proxy launch this script passing your proxy string as a parameter.
-- e.g.: HSDPython_SDK_install.bat http://usr_name:password@proxyserver_name:port#
===========================================
installing st_pnpl...
===========================================
Processing c:\windows\system32\st_pnpl\dist\st_pnpl-2.3.0-py3-none-any.whl
Installing collected packages: st-pnpl
Successfully installed st-pnpl-2.3.0
===========================================
installing st_dtdl_gui...
===========================================
Processing c:\windows\system32\st_dtdl_gui\dist\st_dtdl_gui-2.3.0-py3-none-any.whl
Requirement already satisfied: st-pnpl in c:\users\1022616-z100\appdata\local\programs\python\python313\lib\site-packages (from st-dtdl-gui==2.3.0) (2.3.0)
Collecting numpy==1.26.4 (from st-dtdl-gui==2.3.0)
Using cached numpy-1.26.4.tar.gz (15.8 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [21 lines of output]
+ C:\Users\1022616-Z100\AppData\Local\Programs\Python\Python313\python.exe C:\Users\1022616-Z100\AppData\Local\Temp\pip-install-5ecukql4\numpy_ceb10f8937c948308aaac2e82576dc45\vendored-meson\meson\meson.py setup C:\Users\1022616-Z100\AppData\Local\Temp\pip-install-5ecukql4\numpy_ceb10f8937c948308aaac2e82576dc45 C:\Users\1022616-Z100\AppData\Local\Temp\pip-install-5ecukql4\numpy_ceb10f8937c948308aaac2e82576dc45\.mesonpy-y40uuct9 -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=C:\Users\1022616-Z100\AppData\Local\Temp\pip-install-5ecukql4\numpy_ceb10f8937c948308aaac2e82576dc45\.mesonpy-y40uuct9\meson-python-native-file.ini
The Meson build system
Version: 1.2.99
Source dir: C:\Users\1022616-Z100\AppData\Local\Temp\pip-install-5ecukql4\numpy_ceb10f8937c948308aaac2e82576dc45
Build dir: C:\Users\1022616-Z100\AppData\Local\Temp\pip-install-5ecukql4\numpy_ceb10f8937c948308aaac2e82576dc45\.mesonpy-y40uuct9
Build type: native build
Project name: NumPy
Project version: 1.26.4
WARNING: Failed to activate VS environment: Could not parse vswhere.exe output
..\meson.build:1:0: ERROR: Unknown compiler(s): [['icl'], ['cl'], ['cc'], ['gcc'], ['clang'], ['clang-cl'], ['pgcc']]
The following exception(s) were encountered:
Running `icl ""` gave "[WinError 2] 指定されたファイルが見つかりません。"
Running `cl /?` gave "[WinError 2] 指定されたファイルが見つかりません。"
Running `cc --version` gave "[WinError 2] 指定されたファイルが見つかりません。"
Running `gcc --version` gave "[WinError 2] 指定されたファイルが見つかりません。"
Running `clang --version` gave "[WinError 2] 指定されたファイルが見つかりません。"
Running `clang-cl /?` gave "[WinError 2] 指定されたファイルが見つかりません。"
Running `pgcc --version` gave "[WinError 2] 指定されたファイルが見つかりません。"
A full log can be found at C:\Users\1022616-Z100\AppData\Local\Temp\pip-install-5ecukql4\numpy_ceb10f8937c948308aaac2e82576dc45\.mesonpy-y40uuct9\meson-logs\meson-log.txt
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
===========================================
installing st_hsdatalog (GUI version)...
===========================================
Processing c:\windows\system32\st_hsdatalog\dist\gui\st_hsdatalog-3.3.0-py3-none-any.whl
Requirement already satisfied: st-pnpl in c:\users\1022616-z100\appdata\local\programs\python\python313\lib\site-packages (from st-hsdatalog==3.3.0) (2.3.0)
INFO: pip is looking at multiple versions of st-hsdatalog to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement st-dtdl-gui (from st-hsdatalog) (from versions: none)
ERROR: No matching distribution found for st-dtdl-gui
===========================================
installing asciimatics...
===========================================
Collecting asciimatics
Using cached asciimatics-1.15.0-py3-none-any.whl.metadata (7.1 kB)
Requirement already satisfied: pyfiglet>=0.7.2 in c:\users\1022616-z100\appdata\local\programs\python\python313\lib\site-packages (from asciimatics) (1.0.2)
Requirement already satisfied: Pillow>=2.7.0 in c:\users\1022616-z100\appdata\local\programs\python\python313\lib\site-packages (from asciimatics) (11.0.0)
Requirement already satisfied: wcwidth in c:\users\1022616-z100\appdata\local\programs\python\python313\lib\site-packages (from asciimatics) (0.2.13)
Requirement already satisfied: pywin32 in c:\users\1022616-z100\appdata\local\programs\python\python313\lib\site-packages (from asciimatics) (308)
Using cached asciimatics-1.15.0-py3-none-any.whl (137 kB)
Installing collected packages: asciimatics
Successfully installed asciimatics-1.15.0
続行するには何かキーを押してください . . .
Press any key to continue . . .
2024-11-18 02:11 AM
Hello @hamaogeoge and welcome to the community,
The language used in this community is English. So please in next time use English as it's a international community.
Thank you for your understanding.
PS: I've added the translation in your post.
2024-11-20 05:39 AM
Hello @hamaogeoge
I'm sorry, but Python 3.13 is not supported due to a dependency to PySide6 Python package.
As a consequence, HSDPython_SDK is compatible with Python 3.12 up only.
Can you try the SDK by installing Python 3.12?
Best regards
Simone