Skip to content

Cross platform support #1

@Fuzzillogic

Description

@Fuzzillogic

The current code tells PIP to install the packages in a Windows-specific location, which of course won't work on e.g. Linux. The same issue exists in the PosePipe script. I'm not sure if --target is even needed, but according to comments on B3B on installing packages in Blender it might conflict with packages already installed on the system.

For PosePipe, I had success with using f"--prefix={sys.prefix}" instead of the Windows-specific --target. I use Blender 3.2.1 (from the official .tar.gz) on Kubuntu 22.04. After this change the packages installed correct, and I got the tracker working (up until a crash when stopping the capture with Esc, but that seems to be a problem elsewhere.)

Still, I guess there are still problems with Blender installs installed using (system wide) package managers, where users aren't allowed to add stuff to Blender's Python libraries. I don't know what to do about that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions