-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
numpy.dtype size changed runtime warning on XP #22
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
That pandas binary was built against NumPy 1.3.0 which is not ABI-compatible with the latest NumPy-- are you equipped to compile from source? I should probably post a 0.3 beta anyway on PyPI. |
I'm rather a nubi at all of this so I'm not sure I should try compiling from source. It took me about 3 days to get registry, env var's etc. set up to use at all. Should I revert to numpy 1.3 or should I try your 0.3? I'm not doing anything that's production sensitive, so I'd be game to try the 0.3. |
The github HEAD is well-tested but not yet ready for release until I do a few more things. I'll build and post 0.3 beta binaries later today-- stick with NumPy 1.5.1. BTW I'd recommend checking out the Enthought Python Distribution as it comes set up to compile things from source with no hassle. |
Very good. Thanks Wes. I'm just trying to get enough traction learning Python/ now pandas and actually get something done at the same time. |
I posted binaries for Python 2.5-2.7 built against latest NumPy-- let me know if you have any trouble!! http://pypi.python.org/pypi?:action=display&name=pandas&version=0.3.0.beta |
Wes, I'm new enough that I've never moved up a version on anything python-related. Do I need to uninstall my earlier version of pandas before running the new installation .exe? Will this new installer automatically fix up any references in my path variable and my registry? |
If you run the new installer it will override your prior installation-- you can check that the right version is installed by: import pandas |
Wes, I'm not sure what you need me to send you to help you debug. I did install 0.3 and it did load without the warnings. However, it also bombed when I tried to create a DataFrame. I cut and pasted the following, with some notes included: I create a list: headers in row 1, dates in col 1, values in col's[1:] t = gf.get_bmrk_asset_weights()
I split out the dates as my DataFrame index:
I split out cols[1:] as a dictionary
The following line dies with a Microsoft Window saying "pythonw.exe has encountered a problem and needs to close. We are sorry for the inconvenience.": This worked with the pandas 0.2 that I had had installed. |
Can you please try running pandas.test() and copy-paste the output-- you may need to install nose (!) I will take a look shortly and let you know |
I did install nose. This doesn't look very helpful:
I don't get it. It clearly knows about pandas. It loaded. |
sorry: import pandas |
Same error window/message after this:
|
let's discuss offline on gmail, will be easier (i'm wesmckinn at gmail) |
Enhance arctic_create_user
I've installed numpy from numpy-1.5.1-win32-superpack-python2.6.exe
and pandas from pandas-0.2.win32-py2.6.exe.
When I import * from pandas I get the following warnings:
Warning (from warnings module):
File "C:\Program Files\Python26\lib\site-packages\pandas\core\index.py", line 7
from pandas.lib.tseries import map_indices
RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility
Warning (from warnings module):
File "C:\Program Files\Python26\lib\site-packages\pandas\core\index.py", line 7
from pandas.lib.tseries import map_indices
RuntimeWarning: numpy.flatiter size changed, may indicate binary incompatibility
I've had no issues yet using pandas interactively in the window (idle), but if I have embedded the import in a module then I am not able to execute any of the code from the module.
Thoughts?
The text was updated successfully, but these errors were encountered: