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

Local package install fails when installed to "C:\Program Files\Anaconda2" #1098

Closed
jmfranck opened this issue Sep 26, 2016 · 3 comments
Closed

Comments

@jmfranck
Copy link

I successfully installed to "C:\Program Files\Anaconda2" (due to local security restrictions).

However, when attempting to build extensions (setuptools, using python setup.py develop), it fails once it attempts to invoke gcc, with the message:

Found executable C:\Program Files\Anaconda2\Scripts\gcc.bat
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

(I have installed this same package successfully on a computer where Anaconda is installed to C:\Anaconda)

As in issue #248 , this seems to be due to a lack in proper support for spaces in the path.

@ilanschnell
Copy link
Contributor

This sounds like an (upstream) setuptools issue. Have you tried updating setuptools, using:

conda update setuptools

?

@jmfranck
Copy link
Author

jmfranck commented Oct 3, 2016

Upgrading to setuptools 27.2 doesn't fix the problem.
However, as you say, it does seem like this issue is known,
and might be fixed in the more recent/development version of setuptools.

@goanpeca
Copy link

Tracking on #716

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants