phzwart / dlsia

Deep Learning for Scientific Image Analysis
Other
9 stars 2 forks source link

Numpy 2.0.0 incompatibility with other dependencies #6

Open Giselleu opened 2 weeks ago

Giselleu commented 2 weeks ago

Hi,

I recently installed dlsia through pip, the numpy version installed through pip was 2.0.0 which caused incompatibility issues for pandas and pyarrow.

Downgrading to the following version worked for me to fix the version issues: Numpy 2.0.0->1.26.0 Pandas 2.2.2->2.0.3 Pyarrow 16.1.0->14.0.0

Also, my python is 3.10.12, dlsia is 0.3.1, Torch is 2.2.2

Thanks, Giselle

phzwart commented 2 weeks ago

Thanks for the pointer, I'll fix this tomorrow

On Mon, Jul 8, 2024 at 5:23 PM Giselle (Shizhao) Lu < @.***> wrote:

Hi,

I recently installed dlsia through pip, the numpy version installed through pip was 2.0.0 which caused incompatibility issues for pandas and pyarrow.

Downgrading to the following version worked for me to fix the version issues: Numpy 2.0.0->1.26.0 Pandas 2.2.2->2.0.3 Pyarrow 16.1.0->14.0.0

Also, my Torch is 2.2.2

Thanks, Giselle

— Reply to this email directly, view it on GitHub https://github.com/phzwart/dlsia/issues/6, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADWIEE3XP4JIINSJ7HD6W4DZLMUPFAVCNFSM6AAAAABKRZJ6Y2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGM4TMOBSGU4TGMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

--

Peter Zwart Staff Scientist, Molecular Biophysics and Integrated Bioimaging Berkeley Synchrotron Infrared Structural Biology Biosciences Lead, Center for Advanced Mathematics for Energy Research Applications Lawrence Berkeley National Laboratories 1 Cyclotron Road, Berkeley, CA-94703, USA Cell: 510 289 9246