techartorg / bqt

A Blender add-on to support & manage Qt Widgets in Blender (PySide2)
https://github.com/techartorg/bqt/wiki
Mozilla Public License 2.0
172 stars 25 forks source link

pip install fails #20

Closed hanWolf3D closed 1 year ago

hanWolf3D commented 2 years ago

PS C:\Program Files\Blender Foundation\Blender 3.0\3.0\python\bin> python.exe -m pip install bqt Collecting bqt Downloading bqt-0.2.0.tar.gz (31 kB) Preparing metadata (setup.py) ... done Collecting PySide2 Downloading PySide2-5.15.2.1-5.15.2-cp35.cp36.cp37.cp38.cp39.cp310-none-win_amd64.whl (137.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 137.4/137.4 MB 26.2 MB/s eta 0:00:00 Collecting shiboken2==5.15.2.1 Downloading shiboken2-5.15.2.1-5.15.2-cp35.cp36.cp37.cp38.cp39.cp310-none-win_amd64.whl (2.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 29.6 MB/s eta 0:00:00 Using legacy 'setup.py install' for bqt, since package 'wheel' is not installed. Installing collected packages: shiboken2, PySide2, bqt WARNING: Failed to write executable - trying to use .deleteme logic

ERROR: Could not install packages due to an OSError: [WinError 2] The system cannot find the file specified: 'C:\Python310\Scripts\pyside2-designer.exe' -> 'C:\Python310\Scripts\pyside2-designer.exe.deleteme'

hanWolf3D commented 2 years ago

can be bypassed with python.exe -m pip install bqt --no-dependencies

hannesdelbeke commented 2 years ago

is this related? https://github.com/techartorg/bqt/issues/16

hanWolf3D commented 1 year ago

closing this

think this is the same as https://github.com/pypa/pip/issues/9023#issuecomment-713171229 The issue appears to be a permissions one. The error only occurs when running not as Administrator