-
Notifications
You must be signed in to change notification settings - Fork 81
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
Linux - Contributor Support Thread #105
Comments
hi i tryed to install the pallaidium addon from latest main branch and i get this error when trying to install dependencies: Ensuring: pip |
Try a vanilla version of Blender instead of UPBGE (I have no idea what changes are made in this fork of Blender). |
hi ok i installed official blender and addon again and i get same messege i think: Ensuring: pip |
As you know, I'm not on Linux. Do you feel up for getting your hands dirty? (I can tell you how to disable the subprocess.call([pybin, "-m", "ensurepip"]) line - which is nice to have - but not necessary) |
absolutely !!! how? |
hmm wow cool thanks for this tutorial i did it and now the error is shorter, here the error now: Installing: huggingface_hub module |
Does this location have a file called python? /home/vuaieo/Desktop/UPBGE_29_8_2024/4.3/python/bin/ |
yes there was but this python file is called "python3.11" |
ok super cool finaly with your help we figured it out how to fix it.
2024-08-30.17-07-16.mp4 |
Thank you. As 1 was probably because of 2, it may not be necessary at all. |
I followed the workaround above and successfully (or at least I didnt get any errors after/while installing deps) installed the addon. I went ahead to test just stable diffusion XL and got the following error
|
@jurassicjordan Did you remember to restart after installing the dependencies? What is your Linux distro? Googling this part: Currently, is the Pallaidium transformers version specified, because it works on Windows(and maybe on some Linux versions?): What you could do is to install this add-on: https://github.com/amb/blender_pip Then type in "transformers" and click uninstall. And then click Install and not if it is a newer version being installed. Then restart, and check if it is working now. If not, you can try earlier versions, by writing like this syntax: transformers==4.43.0 and hit Install. Here you can see the version numbers: https://pypi.org/project/transformers/#history If you find a version number working for you, let me know (I do not run Linux myself). |
I did restart after dependencies where installed. I also tried to install that addon, but Blender complained that there was no manifest. I’ll try installing it manually by unzipping into the addons folder and see if I can install that version of transformers |
okay, managed to get the pip addon installed, and successfully installed transformers 4.43.0 but I'm still getting a...Slightly? differnent but same error I think?? see at the end of the error it says something about an undefined symbol. didn't say that last time:
|
All of the dependencies will be/are installed in the path in the last line. And something is conflicting. The first ting to try is to click uninstall dependencies. When finished delete all folders with starting with ~ like ~orch. Then start Blender and Install Dependencies. |
now when you say delete folders starting with ~, are you refering to folders within the site-packages folder? because I just uninstalled deps, but there doesnt seem to be folders there with a tilde |
Yes, this folder: If you like, you can join the Pallaidium discord (invite on main page). There is a Linux user there, who's got Pallaidium up and running. Maybe he can help you, too. (I do not have Linux) |
Here is the translated text: I would like to share my experience of installing Pallaidium on an Archlinux system. Following the instructions on the official page, I performed the following steps:
However, upon attempting to enable the Pallaidium plugin, I encountered an issue due to a dependency on the That
My Archlinux system has Python version 3.12, so perhaps After some troubleshooting with guidance from ChatGPT and inspired by the post at #105 from @vuaieo, I found a solution by commenting out the problematic line in the code. Here's how:
But hold on, there are two more crucial steps regarding dependencies that need to be addressed after creating a virtual environment. This step is essential "to avoid disrupting the system's existing standard environment (at least that’s what ChatGPT says)."
No response? According to the official instructions, you should restart Blender at this point. Actually, a virtual environment should have been created before this step. The so-called "virtual environment" refers to isolating another set of Python environments specifically for the Pallaidium plugin within a directory, separate from the system's standard environment. Even if there was no response in the previous step, this next step is absolutely necessary, especially on an Arch Linux system where environmental requirements are very strict.
In essence, it strongly suggests creating a virtual environment, which is an unavoidable prerequisite no matter how you look at it. So, with the help of ChatGPT, I built a virtual environment (similar to what you need to do before installing ComfyUI), following these steps:
Next, you can proceed with the following step:
In the virtual environment directory After seeing a message similar to "installation completed," make sure to activate the virtual environment from the terminal and then start Blender from the terminal. This ensures that the Pallaidium plugin runs smoothly in an environment that satisfies all dependencies.
Now, you can open the add-on UI in the Sequencer > Sidebar > Generative AI within the Video Editing workspace. Just a reminder: Every time you want to use Pallaidium in Blender, make sure to activate the virtual environment from the terminal and then start Blender from the terminal. This will ensure that the Pallaidium plugin runs smoothly in an environment that meets all dependencies. you can combine the two commands into one line using source ~/.config/blender/4.2/extensions/user_default/pall_venv/bin/activate && blender This way, you can activate the virtual environment and start Blender in a single command.
|
As I do not personally use Linux, I can't offer support for it, but if anyone has problems with it, report the Linux-related bugs here, and let's hope some other Linux users can help out submitting fixes for those problems.
The text was updated successfully, but these errors were encountered: