Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

PIP Install Fail 6.5

I download sage-6.5-x86_64-Darwin-OSX_10.7_x86_64-app.dmg. Everything seemed fine, but I tried to using ./sage pip install pandas and got the following error:

error: command 'gcc' failed with exit status 1


Cleaning up... Command /Applications/sage-6.5.app/contents/resources/sage/local/bin/python -c "import setuptools, tokenize;__file__='/private/var/folders/q5/mcrwfjqj7_l3gjlqtx02d2g40000gn/T/pip_build_eh/pandas/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/q5/mcrwfjqj7_l3gjlqtx02d2g40000gn/T/pip-678ua0-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /private/var/folders/q5/mcrwfjqj7_l3gjlqtx02d2g40000gn/T/pip_build_eh/pandas

I also tried ./sage --sh followed by pip install pandas and received the same error.
A somewhat similar question is listed here: http://ask.sagemath.org/question/10978/how-to-upgrade-a-python-package-with-pip/

I used what was listed there, but have been unable to figure out how to solve this issue.

PIP Install Fail 6.5

I download sage-6.5-x86_64-Darwin-OSX_10.7_x86_64-app.dmg. Everything seemed fine, but I tried to using ./sage pip install pandas and got the following error:

error: command 'gcc' failed with exit status 1

1

---------------------------------------- Cleaning up... Command /Applications/sage-6.5.app/contents/resources/sage/local/bin/python -c "import setuptools, tokenize;__file__='/private/var/folders/q5/mcrwfjqj7_l3gjlqtx02d2g40000gn/T/pip_build_eh/pandas/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/q5/mcrwfjqj7_l3gjlqtx02d2g40000gn/T/pip-678ua0-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /private/var/folders/q5/mcrwfjqj7_l3gjlqtx02d2g40000gn/T/pip_build_eh/pandas

/private/var/folders/q5/mcrwfjqj7_l3gjlqtx02d2g40000gn/T/pip_build_eh/pandas

I also tried ./sage --sh followed by pip install pandas and received the same error.
A somewhat similar question is listed here: http://ask.sagemath.org/question/10978/how-to-upgrade-a-python-package-with-pip/

I used what was listed there, but have been unable to figure out how to solve this issue.

click to hide/show revision 3
retagged

PIP Install Fail 6.5

I download sage-6.5-x86_64-Darwin-OSX_10.7_x86_64-app.dmg. Everything seemed fine, but I tried to using ./sage pip install pandas and got the following error:

error: command 'gcc' failed with exit status 1

----------------------------------------
Cleaning up...
Command /Applications/sage-6.5.app/contents/resources/sage/local/bin/python -c "import setuptools, tokenize;__file__='/private/var/folders/q5/mcrwfjqj7_l3gjlqtx02d2g40000gn/T/pip_build_eh/pandas/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/q5/mcrwfjqj7_l3gjlqtx02d2g40000gn/T/pip-678ua0-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /private/var/folders/q5/mcrwfjqj7_l3gjlqtx02d2g40000gn/T/pip_build_eh/pandas

I also tried ./sage --sh followed by pip install pandas and received the same error.
A somewhat similar question is listed here: http://ask.sagemath.org/question/10978/how-to-upgrade-a-python-package-with-pip/

I used what was listed there, but have been unable to figure out how to solve this issue.