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

Addon does not work any after update to Blender 4.1 #5

Closed
mukral opened this issue Apr 6, 2024 · 4 comments
Closed

Addon does not work any after update to Blender 4.1 #5

mukral opened this issue Apr 6, 2024 · 4 comments
Assignees

Comments

@mukral
Copy link

mukral commented Apr 6, 2024

Hi, I could install blendquery in Blender 4.0 but it didn't open after update to 4.1.

So I've tried to reinstall blendquery again and received the error message

line 5, in
from OCP.gp import{
"ModuleNotFoundError: No module named 'OCP'

build123d and cadquery runs fine with vs code and also "pip show OCP" outputs "version 0.1.9" so I think OCP is installed...

Did I miss something?

Thank you
Markus

@uki-dev
Copy link
Owner

uki-dev commented Apr 6, 2024

I have not yet tested on 4.1. I will do so and get back to you.
Are you running pip show OCP within Blender's Python environment or another Python environment on your system?

@uki-dev
Copy link
Owner

uki-dev commented Apr 6, 2024

I am able to reproduce this in 4.1. Looking into a fix now 👍

@uki-dev uki-dev self-assigned this Apr 6, 2024
@uki-dev
Copy link
Owner

uki-dev commented Apr 6, 2024

I've pushed two commits that should both resolve this specific issue directly, as well as improve the overall experience when encountering install/import errors:

@mukral could you please pull these commits from main, delete the blendquery folder found in your ~ or %USERPROFILE% directory, and then test whether this resolves things on your end when you try to re-enable the addon and install dependencies?

@mukral
Copy link
Author

mukral commented Apr 13, 2024

yes, works now - thanks!

@mukral mukral closed this as completed Apr 13, 2024
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