ptrvilya / blendify

Lightweight Python framework that provides a high-level API for creating and rendering scenes with Blender.
https://virtualhumans.mpi-inf.mpg.de/blendify/
GNU General Public License v3.0
408 stars 12 forks source link

Can't install blendify with pip using the most recent bpy 4.1.0, and python 3.11 #7

Open andytriboletti opened 4 months ago

andytriboletti commented 4 months ago

I can't install blendify with bpy 4.1.0 and python 3.11 Is there any workaround?


Collecting blendify
  Using cached blendify-1.2.3-py3-none-any.whl.metadata (6.2 kB)
Requirement already satisfied: numpy in ./miniconda3/envs/py311/lib/python3.11/site-packages (from blendify) (1.26.4)
Collecting scipy (from blendify)
  Using cached scipy-1.13.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (60 kB)
INFO: pip is looking at multiple versions of blendify to determine which version is compatible with other requirements. This could take a while.
Collecting blendify
  Using cached blendify-1.2.2-py3-none-any.whl.metadata (6.2 kB)
  Using cached blendify-1.2.1-py3-none-any.whl.metadata (6.2 kB)
  Using cached blendify-1.2.0-py3-none-any.whl.metadata (7.4 kB)
ERROR: Cannot install blendify==1.2.0, blendify==1.2.1, blendify==1.2.2 and blendify==1.2.3 because these package versions have conflicting dependencies.

The conflict is caused by:
    blendify 1.2.3 depends on bpy==3.5.0
    blendify 1.2.2 depends on bpy==3.5.0
    blendify 1.2.1 depends on bpy==3.5.0
    blendify 1.2.0 depends on bpy==3.5.0

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts```

bpy installs fine.
andytriboletti commented 4 months ago

I was able to use Blender 3.5.0 with bpy 3.5.0, and blendify installed