visionegg / visionegg Goto Github PK
View Code? Open in Web Editor NEW2D/3D visual stimulus generation
Home Page: http://visionegg.org
License: Other
2D/3D visual stimulus generation
Home Page: http://visionegg.org
License: Other
Welcome to the Vision Egg! INSTALLATION To install from source, type this from a command line (as root, if necessary) from the Vision Egg base directory: python setup.py install However, the above assumes all of the prerequisites are working. For blow-by-blow accounts of how I got the prerequisites for the Vision Egg installed on all the supported platforms, check out the website at http://www.visionegg.org/ RUN THE CONFIGURATION CHECK (BEFORE AND/OR AFTER INSTALLATION) Check for pre-requisites on your system by running check-config.py. This can be run before or after installation of the Vision Egg, and also displays useful information about the Vision Egg, if already installed. DEMOS, DOCUMENTATION, ETC. The demos are no longer installed, but they are included with the source code and the demo packages. See the README-DEMOS.txt file in those packages. The documentation start page is doc/index.html LICENSE The Vision Egg is Copyright (c) 2001-2008 by the Vision Egg Authors. It is distributed under the terms of the GNU LGPL (Lesser General Public License.) See LICENSE.txt for more information. This software is provided "as is" without any warranty of any kind, either expressed or implied. CREDITS (SOURCE CODE INCLUDED WITH THE VISION EGG DISTRIBUTION) See http://visionegg.org/Miscellaneous/CreditsAndThanks for more. MAILING LIST Sign up for the mailing list at http://visionegg.org/Miscellaneous
The following lines in VisionEgg/Textures.py
break the module.
# These modules are part of PIL and get loaded as needed by Image.
# They are listed here so that Gordon McMillan's Installer properly
# locates them. You will not hurt anything other than your ability to
# make executables using Intaller if you remove these lines.
import _imaging
import ImageFile, ImageFileIO, BmpImagePlugin, JpegImagePlugin, PngImagePlugin
Trying to import Textures
fails.
In [1]: from VisionEgg import Text
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-1-f6e5f71d5fce> in <module>()
----> 1 from VisionEgg import Text
/usr/lib/python2.7/dist-packages/VisionEgg/Text.py in <module>()
24
25 import VisionEgg.Core
---> 26 import VisionEgg.Textures
27 import VisionEgg.ParameterTypes as ve_types
28
/usr/lib/python2.7/dist-packages/VisionEgg/Textures.py in <module>()
39 # locates them. You will not hurt anything other than your ability to
40 # make executables using Intaller if you remove these lines.
---> 41 import _imaging
42 import ImageFile, ImageFileIO, BmpImagePlugin, JpegImagePlugin, PngImagePlugin
43
ImportError: No module named _imaging
I have python-imaging and PIL installed.
Project attempts to import the oldnumeric module from numpy, but numpy has dropped that module. So users either have to use old version of numpy, or not use visionegg.
There is no VE binary available for download for Python 2.6 on Windows.
This is because PyOpenGL 3.0.0 has bug on Windows. Specifically, multitexturing is broken, as reported (SourceForge bug 2817196). This is evident when trying to use the Gabor stimuli, which will fail and an exception will be raised. The workaround is to continue using PyOpenGL 2.x, which unfortunately not available for Python 2.6.
Hello!
I am having a real hard time installing in my Mac, Bigsur 11.6.4.
I am trying to set up a conda environment with older version of python, but even installing the recommended versions of pygame, PIL, etc.. has been a bit challenging.
Could you please help me?
Thank you so much.
Best,
Guilherme
On my desktop running 14.04, when I run the following script:
https://github.com/florisvb/flydra_trigger/blob/master/nodes/simple_grating_test.py
A window opens, and more often than not, simply shows a transparent window frame. Occasionally, however, it does work and the stimulus (a moving sine grating) does play. The print out to the screen is identical whether or not the stimulus gets played:
$ python ./simple_grating_test.py
2015-05-29 11:29:18,342 (11822) INFO: Script ./simple_grating_test.py started Vision Egg 1.2.1+git with process id 11822.
2015-05-29 11:29:18,617 (11822) INFO: Requesting window 1280 x 720 24 bpp (8 8 8 0 RGBA).
2015-05-29 11:29:18,870 (11822) INFO: OpenGL 4.4.0 NVIDIA 331.113, GeForce GT 740/PCIe/SSE2, NVIDIA Corporation (PyOpenGL 3.0.2)
2015-05-29 11:29:18,870 (11822) INFO: Video system reports 32 bpp (8 8 8 0 RGBA).
I have not experienced this problem running the same script on ubuntu 12.04 (but on a different computer).
Any suggestions?
When trying to build the VE with Python 2.6.3, we get the following traceback. This is known to the Python developers as Python bug 7064. This was fixed in Python r75256 and should hopefully be released as Python 2.6.4 in a couple of weeks.
running build_ext
Traceback (most recent call last):
File "setup.py", line 309, in <module>
main()
File "setup.py", line 297, in main
**extras_kws
File "/home/astraw/PY263/lib/python2.6/distutils/core.py", line 152, in setup
dist.run_commands()
File "/home/astraw/PY263/lib/python2.6/distutils/dist.py", line 975, in run_commands
self.run_command(cmd)
File "/home/astraw/PY263/lib/python2.6/distutils/dist.py", line 995, in run_command
cmd_obj.run()
File "/home/astraw/PY263/lib/python2.6/distutils/command/build.py", line 134, in run
self.run_command(cmd_name)
File "/home/astraw/PY263/lib/python2.6/distutils/cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "/home/astraw/PY263/lib/python2.6/distutils/dist.py", line 995, in run_command
cmd_obj.run()
File "build/bdist.linux-x86_64/egg/setuptools/command/build_ext.py", line 46, in run
File "/home/astraw/PY263/lib/python2.6/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/home/astraw/PY263/lib/python2.6/distutils/command/build_ext.py", line 449, in build_extensions
self.build_extension(ext)
File "setup.py", line 247, in build_extension
build_ext.build_extension(self, ext)
File "build/bdist.linux-x86_64/egg/setuptools/command/build_ext.py", line 175, in build_extension
File "/home/astraw/PY263/lib/python2.6/distutils/command/build_ext.py", line 460, in build_extension
ext_path = self.get_ext_fullpath(ext.name)
File "/home/astraw/PY263/lib/python2.6/distutils/command/build_ext.py", line 633, in get_ext_fullpath
filename = self.get_ext_filename(modpath[-1])
File "build/bdist.linux-x86_64/egg/setuptools/command/build_ext.py", line 85, in get_ext_filename
KeyError: '_posix_maxpriority'
Drawing the FixationCross stimulus causes problems when drawing other stimuli types. In particular, the other stimuli fail to be drawn.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.