ocesou / hooke

Automatically exported from code.google.com/p/hooke
GNU Lesser General Public License v3.0
0 stars 0 forks source link

installation problem under windows 7 #36

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. I have install all the libraries that are in the installation list
(exactly the same)
2. I tried to launch hooke with: c:\python25\python.exe hooke.py
(I was inside the hooke directory, and yes I did not have the global
environment variable for python)
3. After some messages of error (some deprecations due to the libraries and
not from the hooke code) Hooke doesn't start and does not give any error
message.

Could you try to install Hooke in a windows 7 machine?

Should we start to upgrade our libraries to python 2.6 and more recent
versions of numpy, scipy and the other libraries?

Original issue reported on code.google.com by fabrizio...@gmail.com on 5 May 2010 at 12:04

GoogleCodeExporter commented 8 years ago
This is what I get from my command line:
C:\hooke>python hooke.py
hooke.py:861: SyntaxWarning: name '__version__' is assigned to before global dec
laration
  global __version__
hooke.py:862: SyntaxWarning: name 'events_from_gui' is assigned to before global
 declaration
  global events_from_gui
hooke.py:863: SyntaxWarning: name 'config' is assigned to before global declarat
ion
  global config
hooke.py:864: SyntaxWarning: name 'CLI_PLUGINS' is assigned to before global dec
laration
  global CLI_PLUGINS
hooke.py:865: SyntaxWarning: name 'GUI_PLUGINS' is assigned to before global dec
laration
  global GUI_PLUGINS
hooke.py:866: SyntaxWarning: name 'LOADED_PLUGINS' is assigned to before global
declaration
  global LOADED_PLUGINS
hooke.py:867: SyntaxWarning: name 'PLOTMANIP_PLUGINS' is assigned to before glob
al declaration
  global PLOTMANIP_PLUGINS
hooke.py:868: SyntaxWarning: name 'FILE_DRIVERS' is assigned to before global de
claration
  global FILE_DRIVERS
c:\python25\lib\site-packages\scipy\misc\__init__.py:25: DeprecationWarning: Num
pyTest will be removed in the next release; please update your code to use nose
or unittest
  test = NumpyTest().test
c:\python25\lib\site-packages\scipy\special\__init__.py:23: DeprecationWarning:
NumpyTest will be removed in the next release; please update your code to use no
se or unittest
  test = NumpyTest().test
c:\python25\lib\site-packages\scipy\optimize\__init__.py:19: DeprecationWarning:
 NumpyTest will be removed in the next release; please update your code to use n
ose or unittest
  test = NumpyTest().test
c:\python25\lib\site-packages\scipy\linalg\__init__.py:32: DeprecationWarning: N
umpyTest will be removed in the next release; please update your code to use nos
e or unittest
  test = NumpyTest().test
c:\python25\lib\site-packages\scipy\interpolate\__init__.py:15: DeprecationWarni
ng: NumpyTest will be removed in the next release; please update your code to us
e nose or unittest
  test = NumpyTest().test
c:\python25\lib\site-packages\scipy\integrate\__init__.py:16: DeprecationWarning
: NumpyTest will be removed in the next release; please update your code to use
nose or unittest
  test = NumpyTest().test
c:\python25\lib\site-packages\scipy\fftpack\__init__.py:21: DeprecationWarning:
NumpyTest will be removed in the next release; please update your code to use no
se or unittest
  test = NumpyTest().test
c:\python25\lib\site-packages\scipy\signal\__init__.py:17: DeprecationWarning: N
umpyTest will be removed in the next release; please update your code to use nos
e or unittest
  test = NumpyTest().test
c:\python25\lib\site-packages\scipy\stats\__init__.py:15: DeprecationWarning: Nu
mpyTest will be removed in the next release; please update your code to use nose
 or unittest
  test = NumpyTest().test

These are the installations files that I have used:
python-2.5.4
wxPython2.8-win32-unicode-2.8.10.1-py25   (I tried also with the ansi version)
numpy-1.2.1-win32-superpack-python2.5
scipy-0.6.0.win32-py2.5
matplotlib-0.99.1.win32-py2.5
wxmpl-1.3.1

Original comment by fabrizio...@gmail.com on 5 May 2010 at 2:22

GoogleCodeExporter commented 8 years ago
Actually, I managed to run Hooke on Python 2.6 (however on Win XP). I use the
following libraries:

Python 2.6.4
Numpy 1.3.0 (higher version produced an error)
Scipy 0.7.1
Matplotlib 0.98.5.3 (higher version stops with depracation warning of Numerix)
Wxmpl 1.3.1

Maybe this helps on Windows 7, too. Currently, I am waiting on my new Laptop 
with Win
7. Then I will try it out on my own.

Original comment by albedomanu@googlemail.com on 17 May 2010 at 10:00

GoogleCodeExporter commented 8 years ago
Now I had the chance to try hooke on my new Win7 (64-bit) laptop. Unfortunately,
there is no Scipy distribution yet, supporting 64-bit Python. Therefore all 
packages
have to be installed for Win32 systems. (I put Python into the "Program Files 
(x86)"
folder.)

Using Python 2.6.5, everything works fine. Below are the packages in detail: 

Python-2.6.5.msi
wxPython2.8-win32-unicode-2.8.11.0-py26.exe
numpy-1.3.0-win32-superpack-python2.6.exe
scipy-0.7.1-win32-superpack-python2.6.exe
matplotlib-0.98.5.3.win32-py2.6.exe
wxmpl-1.3.1.zip

I hope this helps in your case, too.

Original comment by albedomanu@googlemail.com on 31 May 2010 at 4:37

GoogleCodeExporter commented 8 years ago
I looked also in a secondary page of the hooke project, it say to use another 
set of libraries and it worked.  Maybe we should only improve the documentation.
I change the priority in Low.

Original comment by fabrizio...@gmail.com on 3 Sep 2010 at 12:22