Jump to content
Developer Wiki and Function Reference Links ×

Installing Python Image Library in Marionette 2018


David O

Recommended Posts

Which is the best/ correct method to have this Python package (PIL) installed into Vectorworks 2018.

I'm little confused because in the http://www.pythonware.com/ says that PIL is compatible only (at the most) with Python 2.6.

But Marionette's Python  is 3.5 , correct ?

But i've seen a few discussion in this forum referring to PIL installation ... 

Is there a common place in this topic ?

 

Thanks !

 

David

 

 

Link to comment
  • Marionette Maven

We have a command in Marionette that will install Python libraries from a link to a .whl file.

 

I have a network in the Marionette downloads that should install PIL to your Vectorworks Python. In this network, the command is contained in the pink nodes. It can be found here:

 

However, I am having a hard time getting any libraries to download at this moment on my Mac machine. Please let me know if you are successful. All you need to do is run the network and say yes when it asks if you would like to download.

Python libraries are installed to your user folder in the Python Externals folder.

 

I should note that if this is not successful, Vectorworks may crash. Please have any other open files saved, or be sure to close them.

Link to comment
  • 3 months later...

Has there been any progress on this? I would like to use The Image processing node, but any time I try to run it and do the PIL install, VW immediately crashes.☹️

 

Finding the right "Pillow" and manually installing it seems a bit dicey for a plain ol' Marionetter like myself......

Link to comment
  • Marionette Maven

@Gytis

in 2019, the issue has been resolved on internal builds based on my testing, I don't believe it is fixed in the release. However, I don't believe 2018 has had a released fix at this time.

Windows computers should have no issues installing external libraries in any release at this point while using the correct version path.

 

Edit: I do need to update the file attached to this bug to get it to properly run in 2019 on Mac, still.

 

https://pypi.python.org/packages/13/3e/cb24be6c222138c7d2028502cd2be3b7bec3592456a01c9450bb0f7be641/Pillow-4.2.1-cp35-cp35m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=28c49cafcd80b160494e3628b8148e0d

 

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...