Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named 'imageio' #829

Open
cuijiale123 opened this issue Feb 24, 2023 · 3 comments
Open

No module named 'imageio' #829

cuijiale123 opened this issue Feb 24, 2023 · 3 comments

Comments

@cuijiale123
Copy link

cuijiale123 commented Feb 24, 2023

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:

(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 "<string>", line 1, in <module>
  File "D:\anaconda3\envs\ble\lib\site-packages\blenderproc\scripts\quickstart.py", line 11, in <module>
    import blenderproc as bproc
  File "D:\anaconda3\envs\ble\lib\site-packages\blenderproc\__init__.py", line 21, in <module>
    from .api import loader
  File "D:\anaconda3\envs\ble\lib\site-packages\blenderproc\api\loader\__init__.py", line 1, in <module>
    from blenderproc.python.loader.AMASSLoader import load_AMASS
  File "D:\anaconda3\envs\ble\lib\site-packages\blenderproc\python\loader\AMASSLoader.py", line 15, in <module>
    from blenderproc.python.types.MeshObjectUtility import MeshObject
  File "D:\anaconda3\envs\ble\lib\site-packages\blenderproc\python\types\MeshObjectUtility.py", line 15, in <module>
    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 <module>
    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 "<string>", line 1, in <module>
  File "D:\anaconda3\envs\ble\lib\site-packages\blenderproc\scripts\quickstart.py", line 11, in <module>
    import blenderproc as bproc
  File "D:\anaconda3\envs\ble\lib\site-packages\blenderproc\__init__.py", line 21, in <module>
    from .api import loader
  File "D:\anaconda3\envs\ble\lib\site-packages\blenderproc\api\loader\__init__.py", line 1, in <module>
    from blenderproc.python.loader.AMASSLoader import load_AMASS
  File "D:\anaconda3\envs\ble\lib\site-packages\blenderproc\python\loader\AMASSLoader.py", line 15, in <module>
    from blenderproc.python.types.MeshObjectUtility import MeshObject
  File "D:\anaconda3\envs\ble\lib\site-packages\blenderproc\python\types\MeshObjectUtility.py", line 15, in <module>
    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 <module>
    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
@cornerfarmer
Copy link
Member

Can you try running blenderproc pip install imageio ?

@blank147
Copy link

Hello, | have encountered the same situation as you but no module named 'cv2'. How did you solve it in the end?

@chirag12357
Copy link

I have the same issue with cv2 as well while running blenderproc quickstart.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants