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

Fix using deprecated binary_path_python #14

Merged
merged 1 commit into from
Jan 9, 2023

Conversation

ChrisCrossCrash
Copy link
Contributor

@ChrisCrossCrash ChrisCrossCrash commented Nov 27, 2022

Thanks for this great library! Unfortunately I wasn't able to get it working with the latest version of Blender (3.3.1) because it's trying to access bpy.binary_path_python, which is deprecated and no longer available. This PR uses sys.executable instead of bpy.binary_path_python.

This fixes the error, but I'm still having other unrelated issues. I'm periodically getting the ModuleNotFoundError: No module named 'tqdm', even though I've installed it through the plugin options and separately by using python -m pip install tqdm from the Blender Python executable (#8 and #10). And when it doesn't have that issue, I'm running into the IndexError descibed in #12.

I'm using Blender 3.3.1 on Windows 11 with the file suzanne.gcode from this repository.

Related issue: #13

@imsenthur imsenthur merged commit 252e1d0 into blender-for-science:master Jan 9, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants