No module named 'imageio'
- Dominant language
- Python
- Stars
- 3.7k
- Forks
- 518
- PR merge metrics
- No merged PRs in 30d
Description
I'm having some problems with the installation.
About run "blenderproc quickstart"
```
An error occurred when I ran the instruction
```
Then I installed the imageio module
```
But it still doesn't work
```
The following is a run error:
```text
(ble) D:\BlenderProc-main>blenderproc quickstart
Warning: Changed install path from /home_local\cc... to C:\Users\Lenovo..., there is no /home_local/ on this machine.
Using blender in C:\Users\Lenovo\blender\blender-3.3.0-windows-x64
'blenderproc quickstart' is an alias for 'blenderproc run D:\anaconda3\envs\ble\lib\site-packages\blenderproc\scripts\quickstart.py'
Using temporary directory: C:\Users\Lenovo\AppData\Local\Temp\blender_proc_022e20c216d94a019432bd374fad8249
Blender 3.3.0 (hash 0759f671ce1f built 2022-09-07 00:44:18)
Error: Python: Traceback (most recent call last):
File "", line 1, in
File "D:\anaconda3\envs\ble\lib\site-packages\blenderproc\scripts\quickstart.py", line 11, in
import blenderproc as bproc
File "D:\anaconda3\envs\ble\lib\site-packages\blenderproc\__init__.py", line 21, in
from .api import loader
File "D:\anaconda3\envs\ble\lib\site-packages\blenderproc\api\loader\__init__.py", line 1, in
from blenderproc.python.loader.AMASSLoader import load_AMASS
File "D:\anaconda3\envs\ble\lib\site-packages\blenderproc\python\loader\AMASSLoader.py", line 15, in
from blenderproc.python.types.MeshObjectUtility import MeshObject
File "D:\anaconda3\envs\ble\lib\site-packages\blenderproc\python\types\MeshObjectUtility.py", line 15, in
from blenderproc.python.utility.BlenderUtility import get_all_blender_mesh_objects
File "D:\anaconda3\envs\ble\lib\site-packages\blenderproc\python\utility\BlenderUtility.py", line 11, in
import imageio
ModuleNotFoundError: No module named 'imageio'
Error: script failed, file: 'D:\anaconda3\envs\ble\lib\site-packages\blenderproc\scripts\quickstart.py', exiting.
Cleaning temporary directory
(ble) D:\BlenderProc-main>pip install imageio
Requirement already satisfied: imageio in d:\anaconda3\envs\ble\lib\site-packages (2.25.1)
Requirement already satisfied: numpy in d:\anaconda3\envs\ble\lib\site-packages (from imageio) (1.21.6)
Requirement already satisfied: pillow>=8.3.2 in d:\anaconda3\envs\ble\lib\site-packages (from imageio) (9.4.0)
(ble) D:\BlenderProc-main>blenderproc quickstart
Warning: Changed install path from /home_local\cc... to C:\Users\Lenovo..., there is no /home_local/ on this machine.
Using blender in C:\Users\Lenovo\blender\blender-3.3.0-windows-x64
'blenderproc quickstart' is an alias for 'blenderproc run D:\anaconda3\envs\ble\lib\site-packages\blenderproc\scripts\quickstart.py'
Using temporary directory: C:\Users\Lenovo\AppData\Local\Temp\blender_proc_dea15913e7b14eaf942dd60111004115
Blender 3.3.0 (hash 0759f671ce1f built 2022-09-07 00:44:18)
Error: Python: Traceback (most recent call last):
File "", line 1, in
File "D:\anaconda3\envs\ble\lib\site-packages\blenderproc\scripts\quickstart.py", line 11, in
import blenderproc as bproc
File "D:\anaconda3\envs\ble\lib\site-packages\blenderproc\__init__.py", line 21, in
from .api import loader
File "D:\anaconda3\envs\ble\lib\site-packages\blenderproc\api\loader\__init__.py", line 1, in
from blenderproc.python.loader.AMASSLoader import load_AMASS
File "D:\anaconda3\envs\ble\lib\site-packages\blenderproc\python\loader\AMASSLoader.py", line 15, in
from blenderproc.python.types.MeshObjectUtility import MeshObject
File "D:\anaconda3\envs\ble\lib\site-packages\blenderproc\python\types\MeshObjectUtility.py", line 15, in
from blenderproc.python.utility.BlenderUtility import get_all_blender_mesh_objects
File "D:\anaconda3\envs\ble\lib\site-packages\blenderproc\python\utility\BlenderUtility.py", line 11, in
import imageio
ModuleNotFoundError: No module named 'imageio'
Error: script failed, file: 'D:\anaconda3\envs\ble\lib\site-packages\blenderproc\scripts\quickstart.py', exiting.
Cleaning temporary directory
```
Contributor guide
Research direction
Start with scripts/quickstart.py and the import chain shown in python/utility/BlenderUtility.py, then compare the environment used by blenderproc with the environment where pip reports imageio installed. Reproduce the Windows quickstart failure and verify that the command completes without ModuleNotFoundError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- computer-graphics, devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100