Description
The Selenium module installation fails on first attempt
To Reproduce
Steps to reproduce the behavior:
open blender
remove selenium completely
remove the blender addon
restart blender
install the addon
it'll show a 'Install selenium' dependency button
after clicking on it, it fails with an error for pip
restart blender
install the dependency again, it works
Expected behavior
Should have installed selenium dependency in first click
Screenshots
Hardware
Add-on Release Version: 1.6.0 dev build
Blender Version: 4.1.1
mac m1
Additional contextScene Links, models, any other helpful context
the contents shown inside the screenshot is
- Collecting pip
Obtaining dependency information for pip from https://files.pythonhosted.org/packages/d4/55/90db48d85f7689ec6f81c0db0622d704306c5284850383c090e6c7195a5c/pip-24.2-py3-none-any.whl.metadata
Downloading pip-24.2-py3-none-any.whl.metadata (3.6 kB)
Downloading pip-24.2-py3-none-any.whl (1.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 2.5 MB/s eta 0:00:00
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 23.2.1
Uninstalling pip-23.2.1:
Successfully uninstalled pip-23.2.1
Rolling back uninstall of pip
Moving to /Applications/Blender.app/Contents/Resources/4.1/python/lib/python3.11/site-packages/pip-23.2.1.dist-info/
from /private/var/folders/1w/v1sqb03s6z10r_w866h3_sw00000gp/T/pip-uninstall-4iz5_jkl
Moving to /Applications/Blender.app/Contents/Resources/4.1/python/lib/python3.11/site-packages/pip/
from /private/var/folders/1w/v1sqb03s6z10r_w866h3_sw00000gp/T/pip-uninstall-3g2fz5lv
ERROR: Failed to restore /Applications/Blender.app/Contents/Resources/4.1/python/lib/python3.11/site-packages/pip-23.2.1.dist-info/
ERROR: Failed to restore /Applications/Blender.app/Contents/Resources/4.1/python/lib/python3.11/site-packages/pip/
ERROR: Could not install packages due to an OSError: [Errno 1] Operation not permitted: '/Applications/Blender.app/Contents/Resources/4.1/python/lib/python3.11/site-packages/pip'
- /Applications/Blender.app/Contents/Resources/4.1/python/bin/python3.11: No module named pip
Description The Selenium module installation fails on first attempt
To Reproduce Steps to reproduce the behavior:
Expected behavior Should have installed selenium dependency in first click
Screenshots
Hardware
Additional context Scene Links, models, any other helpful context the contents shown inside the screenshot is