OpenViBE forum

The OpenViBE community
It is currently Thu Dec 14, 2017 10:13 am

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Thu Mar 23, 2017 9:38 pm 
Offline

Joined: Thu Mar 09, 2017 9:38 pm
Posts: 6
I am trying to run the basic examples that come with openvibe like Signal Average.py etc codes within Python Scripting boxes, It gives a error no module named Numpy even though numpy is installed, I installed canopy, also installed numpy using pip, and in the command prompt it all works as importing numpy.

Here are the specs :Windows 7 32 bit, Python 2.7.( i had to downgrade to a all this to even get hello world scripting box work)

Any help is greatly appreciated.

Thanks
DJ


Top
 Profile  
Reply with quote  
PostPosted: Mon Apr 03, 2017 7:08 am 
Offline

Joined: Tue Dec 04, 2012 3:53 pm
Posts: 599
Location: INRIA Rennes, FRANCE
Hi DJ,

hard to say for sure what could be the problem. Have you checked that everything is set up according to the OpenViBE python tutorial?

I jush tried the box with ov 1.3.0, Python 2.7.11 32bit, numpy 1.12.1, Windows10 64bit, and it works ok (sinus oscillator tutorial relies on numpy). I don't have Anaconda or any other such distro, just vanilla python with numpy put in by pip.

Speculation: perhaps you have a problem from multiple python installations on the same machine. You should make sure all python related stuff (in registry, and env variables PATH, PYTHONHOME, PYTHONPATH) point to the 2.7 series of python.


Cheers,
Jussi


Top
 Profile  
Reply with quote  
PostPosted: Tue Apr 04, 2017 4:49 am 
Offline

Joined: Thu Mar 09, 2017 9:38 pm
Posts: 6
Thanks for your response Jussi !

Now I uninstalled Python 2.7.3 and installed 2.7.11 and everything exactly as your settings on win 10 64bit etc. Also installed numpy using pip.
Now the python box also dissapeaerd from scripting.

Could you help how would I go about changing/cleaning the registries/ PATH ( I have added Python27 to the Env variables).

Thanks.


Top
 Profile  
Reply with quote  
PostPosted: Tue Apr 04, 2017 8:50 am 
Offline

Joined: Tue Dec 04, 2012 3:53 pm
Posts: 599
Location: INRIA Rennes, FRANCE
If the python box disappears, you should have some printout in the console (the black window, not the graphical user interface one). What does it say? I assume you're not building openvibe yourself.

Unfortunately if its really about conflicting versions of python, cleaning up python installations is unfortunately outside my competence and more a question to the python community. I'd google for it if I were you. :)


Cheers,
Jussi


Top
 Profile  
Reply with quote  
PostPosted: Wed Apr 05, 2017 2:44 am 
Offline

Joined: Thu Mar 09, 2017 9:38 pm
Posts: 6
Thank you so much. I got it to work using older computer with Windows 7.


Top
 Profile  
Reply with quote  
PostPosted: Wed Apr 05, 2017 7:43 am 
Offline

Joined: Tue Dec 04, 2012 3:53 pm
Posts: 599
Location: INRIA Rennes, FRANCE
Hi Deejay, good to hear. Was there anything particular to do? The solution might help others if they run into the same problem.

Thanks,
Jussi


Top
 Profile  
Reply with quote  
PostPosted: Thu Apr 06, 2017 4:57 pm 
Offline

Joined: Thu Mar 09, 2017 9:38 pm
Posts: 6
I think I deleted registry and reinstalled python 2.7.11 instead of what I had 2.7.3.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Americanized by Maƫl Soucaze.