Jump to content
Developer Wiki and Function Reference Links Read more... ×
David O

Installing Python Image Library in Marionette 2018

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

 

 

Share this post


Link to post

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.

Share this post


Link to post

Hi Marissa

I tried here... and it's crashing my Vectorworks here too ...

 

1452919563_ScreenShot2018-06-22at02_30_12.thumb.png.5c4cb0bc51de8883604a7a5bdc6d4c01.png

Share this post


Link to post

Thanks for confirming! I'll get it filed in our bug tracking system and see if we can get a fix. 

Share this post


Link to post

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......

Share this post


Link to post

@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

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×