Hubs-Foundation / hubs-blender-exporter

The Hubs Blender Add-on enables artists to export their creations to the immersive web with Hubs
Mozilla Public License 2.0
165 stars 50 forks source link

Install Selenium in first click fails #308

Open hrithikwins opened 3 months ago

hrithikwins commented 3 months ago

Description The Selenium module installation fails on first attempt

To Reproduce Steps to reproduce the behavior:

  1. open blender
  2. remove selenium completely
  3. remove the blender addon
  4. restart blender
  5. install the addon
  6. it'll show a 'Install selenium' dependency button
  7. after clicking on it, it fails with an error for pip
  8. restart blender
  9. install the dependency again, it works

Expected behavior Should have installed selenium dependency in first click

Screenshots

image

image

Hardware

Additional context Scene 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