WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
  #1  
Old 03-18-2014, 05:59 AM
chris2307 chris2307 is offline
Member
 
Join Date: Nov 2013
Posts: 36
The previous module came from the SR Research thread which contained links to the different platform specific pylink. I downloaded win32.

https://www.sr-support.com/showthread.php?14-Pylink

When importing manually, it works for Vizard4 but not at all for Vizard5. I have eliminated the possibility that it could be looking elsewhere by specifying the exact file path also.

I would prefer to install pylink using the package manager as this seems like the "proper" way to do things. FYI - When I did this, I downloaded Pylink 0.3.2 through the package manager interface. I saw no other versions available.
Reply With Quote
  #2  
Old 03-19-2014, 11:09 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
The pylink that is listed on the Python Package Index is completely unrelated to the pylink library provided by SR Research. I was able to get the pylink library provided by SR Research to work using the following steps:
  1. Download pylink_win32.zip from https://www.sr-support.com/showthread.php?14-Pylink
  2. Extract the zip file to your local computer
  3. Copy the entire pylink27 subfolder to the Vizard/bin/lib/site-packages folder
  4. Rename the pylink27 folder to pylink
  5. Now you can call import pylink from any Vizard script
I ran the above steps with Vizard 5 32-bit and it worked fine.

Note, as of the time of this post, SR Research does not seem to provide a 64-bit version of the pylink library for Windows, so this will not work with 64-bit versions of Vizard.
Reply With Quote
  #3  
Old 03-19-2014, 12:45 PM
chris2307 chris2307 is offline
Member
 
Join Date: Nov 2013
Posts: 36
Thank you for this.

I was completely unaware that there were two completely unrelated pylink librarys!

I will give this a go tomorrow when I am back in the office. Many thanks
Reply With Quote
  #4  
Old 03-21-2014, 04:07 AM
chris2307 chris2307 is offline
Member
 
Join Date: Nov 2013
Posts: 36
Just to confirm - This has worked so many thanks for your help.

I find it bizarre as I had attempted to manually link to all the sub-folders in pylink at one point or another! Must have been missing something rather obvious :/

Anyway, thank you for the help.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
5DT glove ultra error 5dt.dls failed kabk Vizard 2 05-05-2009 01:43 PM
iteration over non-sequence error just alex Vizard 3 03-04-2009 01:58 PM
Vrml Import Error softscan2 Vizard 0 01-14-2008 06:28 AM
Import error mjabon Vizard 1 11-01-2007 11:31 AM
Pick porblem with arrays shivanangel Vizard 3 08-27-2007 11:10 AM


All times are GMT -7. The time now is 01:15 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC