m.graf Posted March 13, 2021 Share Posted March 13, 2021 (edited) Hi all, does anyone have a solution? VW 2021 on Mac M1 can't open Images with Marionette (Phyton Pillow) greatings M.Graf Install Pillow_Image.vwx Edited March 13, 2021 by m.graf Quote Link to comment
Antonio Landsberger Posted March 16, 2021 Share Posted March 16, 2021 This is the latest Pillow library for Python 3.8 (which is the Python version shipped with Vectorworks 2021): if platform == 2: PIL = 'https://files.pythonhosted.org/packages/fc/2f/b0948c5aef8bdb6954b8421177c883818e6ae901a8da7c83fea9e7bd6d10/Pillow-8.1.2-cp38-cp38-win_amd64.whl' else: PIL = 'https://files.pythonhosted.org/packages/b9/43/a53278d0dc94b9c3e6db43bba873a240c3339a762ac05df197b8eaca819f/Pillow-8.1.2-cp38-cp38-macosx_10_10_x86_64.whl' It can be found here: Pillow 8.1.2 https://pypi.org/project/Pillow/#files Quote Link to comment
m.graf Posted March 17, 2021 Author Share Posted March 17, 2021 (edited) Hi Antonio, with this Link it works! Thank you very much. For everyone who wants to edit pictures with Marionette in VW2021, here is a new compilation (Pick File (by DomC) and new PIP Install etc.) greatings M. Graf PIP Install Image.vwx Edited March 17, 2021 by m.graf Quote Link to comment
bgf.s Posted June 6, 2021 Share Posted June 6, 2021 Hello there, I'm struggling a little bit here. I want to use a marionette halftone script and it does show me a error message regarding PIL. I guess this is because of Python Pillow? I tried to use your installer network and still can't manage to install it. I attached a screenshot with the corresponding error message. Any ideas how to fix this? (I hope I'm on the right train here, since I am not really sure this is the problem...) Greetings bgf Quote Link to comment
m.graf Posted June 6, 2021 Author Share Posted June 6, 2021 hello bgf, i only test it with OSX. Please check this Link for Window's 'https://files.pythonhosted.org/packages/fc/2f/b0948c5aef8bdb6954b8421177c883818e6ae901a8da7c83fea9e7bd6d10/Pillow-8.1.2-cp38-cp38-win_amd64.whl' greatings M.Graf Quote Link to comment
bgf.s Posted June 6, 2021 Share Posted June 6, 2021 (edited) Thanks for the quick answer! I'm still getting the same error message. Maybe it is some other issue... I may try to reinstall VW. Thanks again! Edit: Reinstalling did not fix it either... Edited June 6, 2021 by bgf.s Quote Link to comment
SimA Posted July 7, 2021 Share Posted July 7, 2021 Hello everybody I have the same problem. Could there be an outdated, pre-installed version of Phyton on the Mac that is hindering the script? Thanks for your feedback. Greetings from switzerland Quote Link to comment
Anthony Esau Posted March 10, 2023 Share Posted March 10, 2023 (edited) I also have this issue on a MacBook Pro with an Apple M1 Pro chip. macOS 13.2.1. Vectorworks 2023 SP3 (Build 684728). I installed using the Install Python Library feature of the Marionette Tool preferences. This is the URL for Pillow that I put in: https://files.pythonhosted.org/packages/7c/4b/96aae1deb7f6fd30995e22560263ab1d71728a7880dab109824fc37754de/Pillow-9.4.0-cp311-cp311-macosx_11_0_arm64.whl I also tried deleting the PIL directory shown in the error code above and installing some different versions from https://pypi.org/project/Pillow, but they didn't work either. Is there a proper way to uninstall a Python library from Vectorworks? Searching around the internet suggests that many times this error is resolved by updating to the latest version or re-installing Pillow, but these reference points aren't within the context of Vectorworks. Edited March 10, 2023 by Anthony Esau Quote Link to comment
SimA Posted March 11, 2023 Share Posted March 11, 2023 My solution: https://pypi.org/project/Pillow/ click "pip install Pillow" --> copy open Terminal.app, insert and press enter Quote Link to comment
Anthony Esau Posted March 21, 2023 Share Posted March 21, 2023 Thank you for sharing SimA. I had to modify the command to "pip3 install Pillow" for it to run on my machine. And the results are listed below. username@users-mbp ~ % pip3 install Pillow Defaulting to user installation because normal site-packages is not writeable Collecting Pillow Downloading Pillow-9.4.0-cp39-cp39-macosx_11_0_arm64.whl (3.0 MB) |████████████████████████████████| 3.0 MB 1.7 MB/s Installing collected packages: Pillow Successfully installed Pillow-9.4.0 WARNING: You are using pip version 21.2.4; however, version 23.0.1 is available. You should consider upgrading via the '/Applications/Xcode.app/Contents/Developer/usr/bin/python3 -m pip install --upgrade pip' command. However, Pillow still would not run in Vectorworks, even with some additional mucking around updating Pip and installing different versions of Python with Homebrew. (I had uninstalled several versions of Python previously for an unrelated reason and thought installing the latest version might help this situation.) BUT what did work was once again using the Install Python Library feature of the Marionette Tool preferences with the link to the "Pillow-9.4.0-cp39-cp39-macosx_11_0_arm64.whl" file listed in the output above from https://pypi.org/project/Pillow. This file was different than the one I had installed previously. And now Pillow runs in Vectorworks! I believe this is the one thing that made it work rather than any of the other changes with Pip and Python. Thanks for sending me in the right direction SimA! Quote Link to comment
Anthony Esau Posted March 21, 2023 Share Posted March 21, 2023 And...I'm a little slow...but I now realize the "cp39" in that filename signifies Python version 3.9 which corresponds with the version that Vectorworks 2023 uses. I had been installing Pillow for Python 3.11 previously which resulted in the error (if I am finally understanding correctly). Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.