end0tknr's kipple - web写経開発

太宰府天満宮の狛犬って、妙にカワイイ

autodesk fusion for win への外部moduleの pip install

fusionにおけるpythonの場所を特定し、 python.exe get-pip.py すれば、pip installできます

※但し、fusionのupdate等でpythonの場所が変更になるようですので、 その際は、再度、pip installが必要です

autodesk fusion for win における pythonの場所

c:/Users/end0t/AppData/Local/Autodesk/webdeploy/production/【略】/Python:
  AddInSamples/
  Default/
  DefaultAddIn/
  DLLs/
  Lib/
  python312.dll
  python.exe
  Samples/
  tcl/
  vcruntime140.dll
  vscode/

download get-pip.py and python.exe get-pip.py

wget https://bootstrap.pypa.io/get-pip.py

DOS> C:\Users\end0t\tmp>C:\Users\end0t\AppData\Local\Autodesk\webdeploy\production\【略】\Python\python.exe get-pip.py
Collecting pip
  Downloading pip-25.1-py3-none-any.whl.metadata (3.6 kB)
Downloading pip-25.1-py3-none-any.whl (1.8 MB)
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 24.0
    Uninstalling pip-24.0:
      Successfully uninstalled pip-24.0
  WARNING: The scripts pip.exe, pip3.12.exe and pip3.exe are installed in
  'C:\Users\end0t\AppData\Local\Autodesk\webdeploy\production\【略】\Python\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

pip install mcp

DOS> C:\Users\end0t\AppData\Local\Autodesk\webdeploy\production\【略】\Python\Scripts\pip.exe install mcp
:
Successfully installed annotated-types-0.7.0 anyio-4.9.0 certifi-2025.4.26
click-8.1.8 h11-0.16.0 httpcore-1.0.9 httpx-0.28.1 httpx-sse-0.4.0 idna-3.10
mcp-1.6.0 pydantic-2.11.4 pydantic-core-2.33.2 pydantic-settings-2.9.1
python-dotenv-1.1.0 sniffio-1.3.1 sse-starlette-2.3.3 starlette-0.46.2
typing-extensions-4.13.2 typing-inspection-0.4.0 uvicorn-0.34.2