Skip to content

RuntimeWarning when using pyshp 2.1.1 #203

Closed
@hashstat

Description

@hashstat

We've been using pyshp 2.1.0 successfully in our large project for months now. Today, with the introduction of version 2.1.1, I am now seeing this runtime warning when I run our application:

/home/user/.pyenv/versions/3.7.7/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. Expected 192 from C header, got 216 from PyObject
  return f(*args, **kwds)

It threw me off because pyshp doesn't depend on numpy at all, but downgrading pyshp eliminates the warning. Have you ever seen this before? Any thoughts on how pyshp could be involved in this issue?

I'm able to reproduce this on both Linux and Windows. I haven't tried on Macos, but I'm guessing it will be an issue there as well.
I'm using 64-bit versions of Python 3.7.7. My applications depends on Pandas, numpy, scipy, and a host of other packages. I'll dig into the issue more, but thought you could provide some insight, or at least a starting point.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions