phaplt / winpython

Automatically exported from code.google.com/p/winpython
0 stars 0 forks source link

pytables fails to load #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. open ipython from 
2. import tables
3.

What is the expected output? What do you see instead?
I expected access to pytables module. 
Got: 
C:\WinPython-32bit-2.7.3.2\python-2.7.3\lib\site-packages\tables\__init__.py in 
<module>()
     28 
     29 # Necessary imports to get versions stored on the Pyrex extension
---> 30 from tables.utilsExtension import getPyTablesVersion, getHDF5Version
     31 
     32 

ImportError: DLL load failed: The specified procedure could not be found.

What version of the product are you using? On what operating system?
WinPython-32bit-2.7.3.2 on WinXP

Please provide any additional information below.
Tried to upgrade the package with easy_install. Did not help

Original issue reported on code.google.com by mr.peter...@gmail.com on 18 Dec 2012 at 8:35

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I had the same problem. I installed pytables with easy_install. In addition I 
installed HDF5 1.8 prebuild-binary for win32, intel from: 
http://www.hdfgroup.org/ftp/HDF5/current/bin/windows/HDF51810-win32.zip.

Now I get the message:
C:\WinPython-32bit-2.7.3.3\python-2.7.3>easy_install tables
Searching for tables
Best match: tables 2.4.0
Adding tables 2.4.0 to easy-install.pth file

Using c:\winpython-32bit-2.7.3.3\python-2.7.3\lib\site-packages
Processing dependencies for tables
Finished processing dependencies for tables

C:\WinPython-32bit-2.7.3.3\python-2.7.3>python
Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)] on win
32
Type "help", "copyright", "credits" or "license" for more information.
>>> import tables
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\WinPython-32bit-2.7.3.3\python-2.7.3\lib\site-packages\tables\__init_
_.py", line 69, in <module>
    from tables.utilsExtension import getPyTablesVersion, getHDF5Version
  File "numpy.pxd", line 155, in init tables.utilsExtension (tables\utilsExtensi
on.c:14476)
ValueError: numpy.dtype has the wrong size, try recompiling
>>> tables.__version__
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'tables' is not defined
>>>

I guess there is a version mismatch between the numpy that was used for 
building pytables and the numpy version of winpython. This should be fixed 
within winpython.

Original comment by uwe.fech...@gmail.com on 1 Apr 2013 at 10:36

GoogleCodeExporter commented 9 years ago
Actually, tables is part of WinPython 2.7.3.3.

I did a fresh installation of WinPython and it works out of the box (well, 
after installing HDF5 1.8 prebuild-binary for win32, intel from: 
http://www.hdfgroup.org/ftp/HDF5/current/bin/windows/HDF51810-win32.zip. 
and rebooting windows.)

Sorry for the noise!

I don't know why it didn't work in the first place. Probably I looked if 
pytables is part of WinPython, and the correct name is tables. And than I 
installed the wrong pytables/ tables package from that other web-site and than 
it did not work.

But now everything works fine.

Original comment by uwe.fech...@gmail.com on 2 Apr 2013 at 12:41

GoogleCodeExporter commented 9 years ago
Ok, thanks for the update.

Original comment by pierre.raybaut on 21 Apr 2013 at 8:17