Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

BUG: cannot usenp.save andallow_pickle=True with data larger than 4 GB #26224

Closed
@khood5

Description

@khood5

still getting

pickle.dump(array, fp, protocol=3, **pickle_kwargs)                                                             OverflowError: serializing a bytes object larger than 4 GiB requires pickle protocol 4 or higher

with

Python 3.12.2 | packaged by Anaconda, Inc. | (main, Feb 27 2024, 17:35:02) [GCC 11.2.0] on linuxType "help", "copyright", "credits" or "license" for more information.                                              >>> import pickle                                                                                                   >>> print(pickle.format_version)                                                                                    4.0                                                                                                                 >>> exit

and

Python 3.12.2 | packaged by Anaconda, Inc. | (main, Feb 27 2024, 17:35:02) [GCC 11.2.0] on linux                    Type "help", "copyright", "credits" or "license" for more information.                                              >>> import numpy                                                                                                    >>> numpy.version.version                                                                                           '1.26.4'                                                                                                            >>> exit                                                                                                            Use exit() or Ctrl-D (i.e. EOF) to exit

I think this is incorrect still set to 3. Or am I missing something?

pickle.dump(array,fp,protocol=3,**pickle_kwargs)

Originally posted by@khood5 in#18784 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp