-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Python error on linux #76
Comments
Im on blender 4.2.1 LTS, which i think is supported |
Not sure what's the issue here tbh, only thing that seems wrong is your python version. It should be 3.11 but is 3.12 for some reason (incorrect packaging most likely). Looking at that installation path, it could in theory also be a dependency collision with some other extension you installed. |
Is there a breaking change in 3.12 from 3.11? It should still run i assume the version bump does not include breaking changes. Also, its not a dependency collision as i tried removing my plugins (of which there was only one anyways, which im pretty sure did not utilize pip). Running ls on the |
Generally no, but Blender not using the correct python version generally hints that whoever packaged Blender for whatever distro you are using messed up. It could for example be that they decided to reuse your system Python for Blender, in which case, It could be that and outdated version of It could also be that the |
I have the same problem under blender 4.2.1 : Sorry, newbie here, but, you need to install pip in order to run the module pcb importer ? When I run the commands of @fami-fish (PIL / print(PIL.version) it seem "PIL" is not installed : On the first try of enabling pcb importer the problem was "no module named skia", after reboot of blender, it is now the PIL error. I am on fedora 40. |
Like I said previously, this is most likely a packaging issue, not an issue with this extension or Blender. In the case of Fedora 40, it almost definitely is: So either install Blender by directly downloading a build from https://www.blender.org/download/ or possibly by using something like flatpak. The other option would be to bug your responsible package maintainer to fix their packaging to produce non broken Blender builds. |
I can confirm this issue also occurs for me on Arch Linux. |
Seems like someone already created a bug report there atleast. Could you check if it works with the blender-bin package from the AUR? @mothdotmonster |
I tried with the version downloaded directly from blender website. I am new to fedora / linux, so not sure if I have done it correctly. I tried installing your module and get the same error. I went for the install of your module, it could not load it cause of the init.py being at the top level, I created a folder and re-zipped it. Blender took the module, and said "module at XX installed at XXX" (see attachment), but when I search for it in the list, impossible to find it, do you have an idea ? I refreshed it, reboot the computer, re-do the installation but impossible to get it in the list and enable it. I am sorry if those question are trivial, I have very hard time finding info on the install ;) |
Can you share a screenshot of that again, aswell as a screenshot of your python console, as before?
I guess you mean 4.1.1 here? The current version of this plugin only supports 4.2+ so that's not going to work.
Not sure what that's supposed to mean exactly, but none of that should be required. Installation should be as simple as downloading Blender and installing the |
Thank you for your answer.
In fact my problem is that I still don't get very well how to install stuff in fedora / linux. As for now, I launch the .exe and it work. After that your module that I had already installed showed up and I activated it and then imported the kicad generated file and it work like a charm, on fedora / blender 4.2.3 LTS. On my render, do you know why there is black lines on my pcb ? |
Because you are only previewing in viewport render mode. (Those lines represent relationships between objects). |
Okay same issue Fedora 40 user. I tried installing the missing packages in python 3.12 this didn't work. Flatpak did work. |
Extension wont activate:
Pip is installed:
Any help as to how i can fix this? I installed pillow on my system too.. and blender's own pip environment seems to have PIL installed.
The text was updated successfully, but these errors were encountered: