Nomi Posted July 1, 2019 Share Posted July 1, 2019 Hi all, What is the easiest way to install numpy for python in Vectoworks 2019? I found a thread (below) that discusses it but I get an error message when I try to do as instructed with the file provided. Thanks! Quote Link to comment
Antonio Landsberger Posted July 1, 2019 Share Posted July 1, 2019 Hi Nomi, welcome to the forum. If you are getting an error message, that numpy and scipy cannot be installed, it is most likely due to an incompatibility with the python version. When you look at the file links inside the voronoi node, you will notice, that in the file names it says "cp33", which stands for "CPython 3.3". VW 2019 is shipped with CPython 3.5 though. Here you can find the latest numpy files: https://pypi.org/project/numpy/#files Mac: numpy-1.16.4-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 Windows: numpy-1.16.4-cp35-cp35m-win_amd64.whl Using these should solve the problem. Quote Link to comment
Nomi Posted July 3, 2019 Author Share Posted July 3, 2019 Hi Antonio, Thanks! I've downloaded version 3.5 but am having trouble locating where to put them in the Vectorworks library. I'm following the instruction in the thread I linked above, specifically this paragraph: To install Numpy and Scipy on a Mac, use the description you got with these files. Make sure to install them where you can find them later because you'll need to move them to another folder. Once they are installed just go to your Vectorworks.app and right-click it to enter the contents of the app ('show package contents'). Browse to Contents:Frameworks:Python.framework:Versions:3.3:lib:python3.3:site-packages and drop the folders "numpy", "numpy-1.9.3.dist-info", "scipy" and "scipy-0.16.0.dist-info" in there. Any thoughts? Much appreciated! Quote Link to comment
Nomi Posted July 3, 2019 Author Share Posted July 3, 2019 Nevermind, figured it out - thanks for your help! Quote Link to comment
Nomi Posted July 3, 2019 Author Share Posted July 3, 2019 Ah one more thing - could you point me towards the correct Scipy file for Mac as well? Thanks again. Quote Link to comment
Antonio Landsberger Posted July 3, 2019 Share Posted July 3, 2019 Nomi, good you figured it out. 🙂 But in case somone else wants to know: Manually downloading python libraries isn't necessary. You just have to replace the links in the node* with the latest version. * In the file VoronoiObj_v2017_CrossPlatform_MFarrell.vwx it's the node called "Voronoi". With Scipy it's exactly the same as with Numpy: find the file repository, choose the right file and replace the links. 1 Quote Link to comment
caboom Posted September 16, 2019 Share Posted September 16, 2019 (edited) Hello, Does anybody know where I can find instructions for installing numpy, scipy, etc on a mac for Vectorworks 2020? I am getting an error when I try to install numpy, etc via VoronoiObj_v2017_CrossPlatform_MFarrell.vwx and I am not sure how I should update the links as suggested by Antonio. Thanks for anyone who can give me some advice since my scripts are dependant on numpy! Thanks in advance Edited September 16, 2019 by caboom Quote Link to comment
Antonio Landsberger Posted September 23, 2019 Share Posted September 23, 2019 Sorry @caboom, I'm not sure where the problem is. Maybe @Marissa Farrell can help. Quote Link to comment
DomC Posted November 29, 2019 Share Posted November 29, 2019 @caboom You could try out this: 1 Quote Link to comment
caboom Posted December 16, 2019 Share Posted December 16, 2019 Hello DomC, Thank-you so much, this works like a charm. Quote Link to comment
Zoufred Posted April 26, 2020 Share Posted April 26, 2020 Hello DomC, have you the same file "module importer for numpy scipy and pillow" that run with VW2019 (run and open with) ? I'm trying to install Numpy for a lot of time...More generaly, thank for all your works. Kinds Quote Link to comment
Mohamed B Posted February 23, 2022 Share Posted February 23, 2022 Hi, I have been unsuccessfully trying to install Numpy and Scipy on VW2022 on my Windows machine. I've also tried @DomC 's Module Importer with this path (https://files.pythonhosted.org/packages/4b/23/140ec5a509d992fe39db17200e96c00fd29603c1531ce633ef93dbad5e9e/numpy-1.22.2-cp39-cp39-win_amd64.whl) without success. Any thoughts? Thanks in advance 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.