Reputation: 105
I'm trying to install bpy using pip install bpy. According to their website: https://pypi.org/project/bpy/, version 4.3.0 is the latest (and was released in November 2024). Is there any way of using bpy without reverting to python 3.7?
PS C:\Users\usr> pip install bpy
ERROR: Ignored the following versions that require a different python version: 2.82.1 Requires-Python >=3.7, <3.8
ERROR: Could not find a version that satisfies the requirement bpy (from versions: none)
ERROR: No matching distribution found for bpy
Edit Feb 15 2025: I am using python 3.12.6
Upvotes: 0
Views: 97
Reputation: 4096
The Requirements of bpy as seen on PyPI states:
Each Blender release supports one Python version, and the package is only compatible with that version.
bpy 4.3.0 only has Python 3.11 wheels for all major platforms but your error message somehow suggests that you're either trying to use an incompatible Python version for the stable release or you tried to get bpy 2.82.1 which is only compatible with Python 3.7 on Windows.
Upvotes: 0
Reputation: 54
What is your current version of Python? Because bpy suggests requiring version 3.11.
To use bpy without reverting to Python 3.7, you should install Python 3.11:
Upvotes: 0