Installing using pip to install got me no /usr/share/panda3d directory

Hi there,

I am using Ubuntu 18.04. on this PC and reinstalled Panda3D yesterday. All my previous attempts with Panda have been on another PC. I used ‘pip3 install panda3d==1.10.2’ and all went well. Or so I thought. When I tried to find the samples at /usr/share/panda3d I couldn’t. No panda directory had been created. I downloaded the .deb file then, installed and everything went well.

The question is, what went (did I) wrong? Because we have another PC running Mageia and thought until today we just have to use the pip command… Any ideas?

1 Like

Hi,

pip installs Panda3D inside the Python directory; as such, it does not modify /usr/share/panda3d. If you install from pip, you will have to download the samples separately. You can do so from the GitHub repository or by downloading them separately from the download page:
https://www.panda3d.org/download/panda3d-1.10.9/panda3d-1.10.9-samples.zip

Wow, that was a fast reply :wink:

Thank you! That helps a lot!

Hello, are we interested in linking to the download from the Sample Programs in the Distribution — Panda3D Manual page? The docs refer to a “downloads page” but I could not find it from navigating around the site (I ended up going directly to https://www.panda3d.org/download to get the latest samples).

On the “Get the SDK” homepage, click.

A page opens where you can download the examples.

Thank you. It appears that https://www.panda3d.org/download/latest/ works as well.