EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  <20242025  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  <20242025 
<== Date ==> <== Thread ==>

Subject: Re: p4p and numpy 2.0
From: Florian Feldbauer via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk at aps.anl.gov
Date: Thu, 26 Sep 2024 11:27:00 +0200
Hey Torsten,

if you look e.g. here https://urldefense.us/v3/__https://github.com/epics-base/p4p/issues/145__;!!G_uCfscf7eWS!aDkmc0x5-iSMQd5LEQkoTvYILwIY10lVKq7YSiMyDPGb6EoJ-2Lfn2iK-GOShD9djI8UBllDuf_FK_HlLN1enyQCzT6F55mSM4Q$ or https://urldefense.us/v3/__https://github.com/epics-base/p4p/issues/156__;!!G_uCfscf7eWS!aDkmc0x5-iSMQd5LEQkoTvYILwIY10lVKq7YSiMyDPGb6EoJ-2Lfn2iK-GOShD9djI8UBllDuf_FK_HlLN1enyQCzT6FSaTbaX0$ this issue is known.

The current release on pypi.org (p4p==4.1.12) is still working with setuptools < 60 and thus numpy < 2, but the team is working on a new relase that will work with the new versions.

I guess p4p 4.2 will be released soon.

Cheers,
Florian


Am 26.09.2024 um 11:17 schrieb Torsten Bögershausen via Tech-talk:
Folks,

I just installed a fresh Linux box.
Trying to install p4p did work, but it failed to work :-(
The main reason seems to be that there is now a numpy 2.something,
which seems to be incompatible.

 ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject


Manually un-installing numpy and running
pip install numpy==1.22.0

made a success.

p4p seems to be un-aware about the numpy 2 thing,
it states happily

Requires-Dist: numpy >=1.22.0


--
Ruhr-Universität Bochum
AG der Experimentalphysik I
Dr. Florian Feldbauer
NB 2/131 / Fach 125
Universitätsstr. 150
D-44801 Bochum

Office: NB 2/134
Phone:  (+49)234 / 32-23563
Fax:    (+49)234 / 32-14170
https://urldefense.us/v3/__https://paluma.ruhr-uni-bochum.de__;!!G_uCfscf7eWS!aDkmc0x5-iSMQd5LEQkoTvYILwIY10lVKq7YSiMyDPGb6EoJ-2Lfn2iK-GOShD9djI8UBllDuf_FK_HlLN1enyQCzT6FMYp4l8Y$
Replies:
Re: p4p and numpy 2.0 Ralph Lange via Tech-talk
References:
p4p and numpy 2.0 Torsten Bögershausen via Tech-talk

Navigate by Date:
Prev: p4p and numpy 2.0 Torsten Bögershausen via Tech-talk
Next: Re: p4p and numpy 2.0 Ralph Lange via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  <20242025 
Navigate by Thread:
Prev: p4p and numpy 2.0 Torsten Bögershausen via Tech-talk
Next: Re: p4p and numpy 2.0 Ralph Lange via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  <20242025 
ANJ, 26 Sep 2024 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·