VIBE icon indicating copy to clipboard operation
VIBE copied to clipboard

No module named 'bpy'

Open jeffreyking23 opened this issue 4 years ago • 12 comments

how to install bpy? I have try pip or build from source code, doesn't work for me ...

jeffreyking23 avatar Nov 04 '20 01:11 jeffreyking23

Same

vbhat8 avatar Nov 15 '20 15:11 vbhat8

I'm afraid I don't understand why bpy is a requirement since I'm not experiencing this issue, but bpy is the "Blender python" library, for the 3d modeling software Blender.

ThomasWarn avatar Jan 02 '21 06:01 ThomasWarn

You can try this command line to solve the problem:

pip install fake-bpy-module-2.80

xiezhongzhao avatar Jan 14 '21 07:01 xiezhongzhao

AttributeError: 'NoneType' object has no attribute 'scenes'

liuhaorandezhanghao avatar Apr 26 '21 06:04 liuhaorandezhanghao

You can try this command line to solve the problem:

pip install fake-bpy-module-2.80

AttributeError: 'NoneType' object has no attribute 'scenes'

liuhaorandezhanghao avatar Apr 26 '21 06:04 liuhaorandezhanghao

another method I've found to install bpy was using conda.

conda install -c kitsune.one python-blender

But I think it only works if you are using at least miniconda

carlosedubarreto avatar Apr 26 '21 07:04 carlosedubarreto

Same

have you fixed it?

liuhaorandezhanghao avatar Apr 27 '21 02:04 liuhaorandezhanghao

You can try this command line to solve the problem:

pip install fake-bpy-module-2.80

i have tried.But there is no data.scene in bpy

liuhaorandezhanghao avatar Apr 27 '21 02:04 liuhaorandezhanghao

@carlosedubarreto (vibe-env) [yiwei.ru@localhost Downloads]$ conda install -c kitsune.one python-blender Collecting package metadata (current_repodata.json): failed

UnavailableInvalidChannel: The channel is not accessible or is invalid. channel name: kitsune.one channel url: https://mirrors.tuna.tsinghua.edu.cn/anaconda/kitsune.one error code: 404

You will need to adjust your conda configuration to proceed. Use conda config --show channels to view your configuration's current state, and use conda config --show-sources to view config file locations.

ruyiwei-cas avatar Nov 25 '21 01:11 ruyiwei-cas

(vibe-env) [yiwei.ru@localhost Downloads]$ conda install -c kitsune.one python-blender Collecting package metadata (current_repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source. Collecting package metadata (repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment:
Found conflicts! Looking for incompatible packages. This can take several minutes. Press CTRL-C to abort. failed

UnsatisfiableError: The following specifications were found to be incompatible with the existing python installation in your environment:

Specifications:

  • python-blender -> python[version='>=3.9,<3.10.0a0']

Your python: python=3.7

If python is on the left-most side of the chain, that's the version you've asked for. When python appears to the right, that indicates that the thing on the left is somehow not available for the python version you are constrained to. Note that conda will not change your python version to a different minor version unless you explicitly specify that.

The following specifications were found to be incompatible with your system:

  • feature:/linux-64::__glibc==2.17=0
  • feature:|@/linux-64::__glibc==2.17=0
  • python-blender -> libgcc-ng -> __glibc[version='>=2.17']

Your installed version is: 2.17

ruyiwei-cas avatar Nov 25 '21 01:11 ruyiwei-cas

another method I've found to install bpy was using conda.

conda install -c kitsune.one python-blender

But I think it only works if you are using at least miniconda

Thank you!

FinallyKiKi avatar Mar 16 '22 09:03 FinallyKiKi

getting similar output to @ruyiwei-cas for conda install -c kitsune.one python-blender were you able to resolve?

silvercondor avatar Aug 08 '22 09:08 silvercondor