Open mraeclo opened 5 years ago
Hi @Mraeclo looking at this the error message it seems like you're missing a library. What are the libraries that you used for your requirements.txt?
thanks for the answer @raganmd . I was testing with only the qr code library like you did on the tutorial before trying with the libraries I want to use, so inside the requierements there is only
qrcode[pil]
I wonder if this has something to do with the "Python 64 bit module path" on TD preferences, what folder should that be? My current folder is /Library/Frameworks/Python.framework/Versions/3.5
did you also install the python stand alone on your machine? There's also a different set of instructions for the approach on Mac vs windows. Sorry for all the questions, getting this to behave as expected is often tricky the first time around.
@Mraeclo you might also check your dep folder in your project folder to confirm that you've actually pulled the external library.
The other trouble shooting step here would be to step through the helper process that adds your dep
folder to TD's sys.path, then try a direct import in the text port. That will help you track down where the issues are coming from.
If installing the python standalone means having the Python 3.5 folder on the Applications folder then yes. Is it supposed to be there?
Inside dep/Python there are the folders of the library
Ill try the trouble shooting step you said.
Thanks again!
@Mraeclo any luck?
I'm having the exact same problem. Was it ever resolved?
@HarshiniJK - what platform and TouchDesigner build are you using?
Hey Matthew! I managed to get it working with a tox from alphamoonbase. Not sure why it worked - something about the directories, but I tried the newest touchdesigner and on a separate machine tried the same versions you were using. Still had a problem at that final step.
On Tue, 17 May 2022, 15:23 Matthew Ragan, @.***> wrote:
- what platform and TouchDesigner build are you using?
— Reply to this email directly, view it on GitHub https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_mir-2Dlab_touchdesigner-2Dsummit-2D2019-2Dexternal-2Dpython_issues_15-23issuecomment-2D1128864434&d=DwMCaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=Bkj3Vla6_ZCvWss7LOGIdw&m=0OQE38-RrNuWoKxIcdGQW-O3hFEPzcA3Y-xwK-EBlq9p1hsKGXSGCEfhbKsIOqS-&s=MxviLfAtPeRPxv_UKIiN5Fl6wCndH_h1dzOkP_3TRq4&e=, or unsubscribe https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AEFA77Y4YMHEIYW73EFNGR3VKOMSJANCNFSM4JDM7D6A&d=DwMCaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=Bkj3Vla6_ZCvWss7LOGIdw&m=0OQE38-RrNuWoKxIcdGQW-O3hFEPzcA3Y-xwK-EBlq9p1hsKGXSGCEfhbKsIOqS-&s=60LU09JIhy6zUekGARqsSVok-g5JQMURFjqAUzJKuwk&e= . You are receiving this because you were mentioned.Message ID: <mir-lab/touchdesigner-summit-2019-external-python/issues/15/1128864434@ github.com>
Hello, thanks a lot for the tutorials!
I followed the tutorials and everything seemed to be working until the end. All prints printed the correct directories but when I run the script "text_qrmaker" inside TD to create the qr code based on the table DAT It doesnt generate the qr code and TD give me this errors, which have my machine directory for python libraries.
Traceback (most recent call last): File "</base_qrcode/text_qrmaker:op('/base_qrcode/text_qrmaker').run()>", line 1 td.Error: File "/base_qrcode/text_qrmaker", line 7 File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/qrcode/main.py", line 11, in make File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/qrcode/main.py", line 289, in make_image r = previousimport(*args, **kw) ModuleNotFoundError: No module named 'qrcode.image.pil' Results of run operation resulted in exception. Value:type:textDAT path:/base_qrcode/text_qrmaker Type:<class 'td.textDAT'>.
I rechecked other scripts and if the files are on the correct folders and everything seems to be correct. Any thoughts?
Touch designer 64-bit build 2019.33020 Macbook pro OSX 10.13.6
Thanks in advance Marcelo