Add Python's third-party library to Houdini


This article takes installing pyshy2.3.1 as an example

  1. Download a houdini

  2. Go to the python official website to download the latest version of python . This article uses python 3.11.

  3. Right-click on the newly installed Python 3.11 (64-bit)->Open the location of the file->Copy the address, find the environment variable->New->Paste

Please add image description

  1. By studying the official Python documentation , I learned that I need to enter the following code to install it.
py -m pip install "pyshp~=2.3.1"

The result is shown in the figure

Please add image description

  1. Then copy these three parts

Please add image description
Please add image description

  1. Then paste it into \python39\lib\site-packagesthe folder under the Houdini installation directory

Please add image description

  1. Finally, go to window->shell in Houdini and enter hython -m pip listto view the installation list

Please add image description

Guess you like

Origin blog.csdn.net/zx1091515459/article/details/129153192
Recommended