Skip to content

Installation failure when upgrading numpy 7 to 9. permission denied upon programmatic deletion #72

@Jwely

Description

@Jwely

Issue addresses the following error.

module compiled against API version 9 but this version of numpy is 7

Numpy does not always seem to uninstall correctly. Gdal and other dependencies require numpy version 1.9.1, and they fail to import properly when numpy 1.7 is still present from arcmap.

This failure seems to be caused by access restrictions to delete all existing numpy files on the system. These files are sometimes in use (typically still by arcmap background processes) and cannot be deleted, so they are left there and the installation is left incomplete.

The only foolproof method discovered so far for correcting this is to manually delete the numpy folder from site-packages. This is definitely on the to-do list.

If you experience a numpy related issue during installation, navigate to your arcmap python site-packages folder and manually delete the numpy folder from site-packages and try dnppy installation again.

You can find the numpy folder in C:\Python27\ArcGIS10.3\Lib\site-packages or similar depending on your system configuration and arcmap version.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions