geometry-script icon indicating copy to clipboard operation
geometry-script copied to clipboard

pip install does not work

Open ghoorzehi opened this issue 2 years ago • 2 comments
trafficstars

Had a look in the issues and couldn't see this, but as I am not an expert user, apologies in advance if I am duplicating it. pip install does not work in python 3.9.7 here is what I receive in Spyder:

pip install bpy Note: you may need to restart the kernel to use updated packages. ERROR: Could not find a version that satisfies the requirement bpy (from versions: none) ERROR: No matching distribution found for bpy

ghoorzehi avatar Oct 24 '23 15:10 ghoorzehi

bpy is a module builtin to Blender, you don’t install it via pip. When running a Blender addon, bpy will be available automatically.

Can you describe what you are trying to accomplish?

carson-katri avatar Oct 24 '23 15:10 carson-katri

Thanks for the response. the line above the home page of bpy website confused me. it reads "pip install bpy" here: https://pypi.org/project/bpy/ So I thought it is pip installable. I was trying to run my script in an external IDE, i.e. Spyder and have Blender render it. But it seems that I got the usability wrong. I can also try running directly in Blender using scripting there.

ghoorzehi avatar Oct 25 '23 16:10 ghoorzehi