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

Blender python requires blase installed #1

Open
ohcpaull opened this issue Aug 11, 2021 · 2 comments
Open

Blender python requires blase installed #1

ohcpaull opened this issue Aug 11, 2021 · 2 comments

Comments

@ohcpaull
Copy link

Hi, I really like the idea of this package - really cool. When trying to get one of the examples to work on my Windows 10 laptop, I have encountered the following problem where after Blender opens, there is an error because blase isn't installed on the Blender python distribution.

found bundled python: C:\Program Files\Blender Foundation\Blender 2.83\2.83\python
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\oliver\OneDrive - UNSW\code\blase/bin/run-blase.py", line 4, in <module>
    from blase.bio import Blase
ModuleNotFoundError: No module named 'blase'
Saved session recovery to 'C:\Users\oliver\AppData\Local\Temp\quit.blend'

Blender quit

I have tried to install blase locally on the Blender python distribution using pip install -e dir/to/blase but this gives the following exception:

ERROR: Could not find a version that satisfies the requirement blenderasenumpy (from blase) (from versions: none)
ERROR: No matching distribution found for blenderasenumpy

How have you gotten blase installed in the Blender python?

@ohcpaull
Copy link
Author

Update: I have now found that the above error is because in setup.py there were missing commas for

install_requires=[
          "blender"
      	  "ase"
          "numpy",
          "scipy",
          "skimage"
]

There are still some niggling issues- I think related to your restructuring of where write_blender function is and directories of files. I will keep working on it and if I find a solution that works well I will submit a PR.

@superstar54
Copy link
Owner

superstar54 commented Sep 9, 2021 via email

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

No branches or pull requests

2 participants