Forum: Poser Python Scripting


Subject: How-to for getting PyCharm to work with Poser?

evanhem opened this issue on Aug 31, 2020 ยท 13 posts


adp001 posted Tue, 01 September 2020 at 5:12 AM

If you declare poser = None, what do you expect PyCharm should find in something that is nothing?

Some things you may have to know:

Poser-Python is directly implemented into Poser. Not reachable from the outside world. Also not from PyCharm. "POSER_FAKE.py" is a library you can "import" from a Python script like any other library with Python. Use it insteed of Poser Pythons own lib "poser" like so:

import POSERFAKE as poser

Or even better:

try:
    import poser
except ImportError:
    import POSERFAKE as poser

Make sure you saved the lib in a folder PyCharm (and your actual script) can reach while you develop.