This isn't necessarily a Tessitura issue, but the issue is popping up whenever I try to use the Tessitura API. I've been using Python to access the REST API and it seems to be working great. Anytime I run a POST or GET request from the PyCharm IDE everything works fine.
Now I am trying to compile my script into an executable file using pyinstaller. I ran into some issues with it missing the modules but now I've gotten so far as it to run the script, but once it hits the Tessitura module and tries to run the _init_.py file it says its missing the pkg_resources module. I looked through the Tessitura _init_.py file and the first thing it tries to do is import the pkg_resources module. The pkg_resources module is found in the site-packages folder in the venv directory right along side the Tessitura module. So I don't know why when I run the script through PyCharm it knows where to find the module but when it runs as an exe it can't find it. Do I need to make a copy of the pkg_resources folder and move it into the Tessitura folder?
Jesse Dillman,
I was interested to see your post. Are you using pip install tessitura to get the tessitura library? Or have you created a Tessitura library of your own?
If you are using the pip install tessitura method, as far as I know, you will be the first person to use the library in the context of compiled (.exe) python application. I'd love to learn some more about what you are doing and am glad to see what I can do to help.
--Tom
Actually, I'm looking through my messages and I think it was a different Tom Brown who provided me that info. Unless it was you and you're just with a different organization now?
I'm just at a different organization now.