qmasingarbe / pymiere

Python for Premiere pro
GNU General Public License v3.0
353 stars 46 forks source link

AttributeError: module 'pymiere' has no attribute 'objects' #59

Closed dangerstudios closed 1 year ago

dangerstudios commented 1 year ago

weird issue when I try to run this code via a .py file:

import pymiere print(pymiere.objects.app.isDocumentOpen())

AttributeError: module 'pymiere' has no attribute 'objects'

if I open python in a shell and manually run that code it works (returns true if premiere is open and breaks if premiere is not open)

anyone else get this?

dangerstudios commented 1 year ago

ok got it working, don't name your python file pymiere.py lol

BigRoy commented 1 year ago

This issue can be closed. The issue here was a file pymiere.py that conflicted with the actual pymiere package being found on PYTHONPATH / sys.path.

qmasingarbe commented 1 year ago

Thank you, I'm closing this issue.