Tue, Sep 17, 11:48 AM CDT

Renderosity Forums / Poser Python Scripting



Welcome to the Poser Python Scripting Forum

Forum Moderators: Staff

Poser Python Scripting F.A.Q (Last Updated: 2024 Sep 08 5:10 pm)

We now have a ProPack Section in the Poser FreeStuff.
Check out the new Poser Python Wish List thread. If you have an idea for a script, jot it down and maybe someone can write it. If you're looking to write a script, check out this thread for useful suggestions.

Also, check out the official Python site for interpreters, sample code, applications, cool links and debuggers. This is THE central site for Python.

You can now attach text files to your posts to pass around scripts. Just attach the script as a txt file like you would a jpg or gif. Since the forum will use a random name for the file in the link, you should give instructions on what the file name should be and where to install it. Its a good idea to usually put that info right in the script file as well.

Checkout the Renderosity MarketPlace - Your source for digital art content!



Subject: Installing PIP in Poser 11


adp001 ( ) posted Sat, 11 December 2021 at 6:19 AM · edited Fri, 13 September 2024 at 6:20 AM

It may not work for you, but I could install PIP for Python 2.7 in Poser 11 doing the following:

Download "get-pip.py" from the Internet: https://bootstrap.pypa.io

Modifying the script in one place (removing "sys.exit").

Making the path "...Poser 11\Runtime\Python\Lib\site-packages" writable.

Starting the modified script.


If you want to try it, you can download the modified script from my Website: https://adp.spdns.org/get-pip.py





adp001 ( ) posted Sat, 11 December 2021 at 6:31 AM · edited Sat, 11 December 2021 at 6:32 AM
try:
    from pip import main as pmain
except ImportError:
    from pip._internal import main as pmain
pmain(['install', 'package-name'])

For Python 3:
import pip
pip.main(["install", nameOfPackage])




Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.