Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Jwely opened this issue Aug 28, 2015 · 0 comments

Comments

@Jwely
Copy link
Member

Jwely commented Aug 28, 2015

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.

@Jwely Jwely added the bug label Aug 28, 2015
@Jwely Jwely changed the title Installation can still sometimes have issues with numpy permission denied when upgrading numpy installation Sep 2, 2015
Jwely added a commit that referenced this issue Sep 9, 2015
might solve #72 for some users.
@Jwely Jwely changed the title permission denied when upgrading numpy installation installation failure when upgrading numpy 7 to 9. permission denied upon programmatic deletion Oct 10, 2015
@Jwely Jwely changed the title installation failure when upgrading numpy 7 to 9. permission denied upon programmatic deletion Installation failure when upgrading numpy 7 to 9. permission denied upon programmatic deletion Oct 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant