Discussion:
Building failed on cloud.sagemath
jip
2014-01-24 17:58:46 UTC
Permalink
Hello
I tried to build mahotas on cloud.sagemath.com as follow:


1. log into a project<https://cloud.sagemath.com/projects/161d4df7-7baf-48a7-8e83-ce06528504c1/files/2014->
2. open a terminal in the project and type:

pip install --user -U mahotas

Build failed with an error :

...
customize UnixCCompiler
Found existing installation: numpy 1.8.0
Uninstalling numpy:
Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 126, inmain
self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 228,
in run
requirement_set.install(install_options, global_options)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1089, in install
requirement.uninstall(auto_confirm=True)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 476, in uninstall
paths_to_remove.remove(auto_confirm)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1391, in remove
renames(path, new_path)
File "/usr/lib/python2.7/dist-packages/pip/util.py", line 248, in renames
shutil.move(old, new)
File "/usr/lib/python2.7/shutil.py", line 300, in move
os.unlink(src)
OSError: [Errno 13] Permission denied: '/usr/local/bin/f2py'

Storing complete log in /projects/161d4df7-7baf-48a7-8e83-ce06528504c1/.pip/
pip.log
~$

I don't know if it the problem comes from mahotas or from cloud.sagemath.

jean-patrick
--
You received this message because you are subscribed to the Google Groups "pythonvision" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pythonvision+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Stéfan van der Walt
2014-01-25 00:11:20 UTC
Permalink
Post by jip
customize UnixCCompiler
Found existing installation: numpy 1.8.0
Why is numpy being uninstalled? This fails because of file permissions. Does
Mahotas require an older version? I can't imagine.

Stéfan
--
You received this message because you are subscribed to the Google Groups "pythonvision" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pythonvision+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Loading...