Problem installing Sage on Kali 2

103 views
Skip to first unread message

alberto uribe

unread,
Mar 27, 2016, 11:45:25 AM3/27/16
to sage-support
i have this error after several hours of compiling sage on my netbook, any ideas?

make[3]: Entering directory '/opt/sage-7.1/src'
python -c "from sage_setup.autogen.pari import rebuild; rebuild()"
sys:1: RuntimeWarning: not adding directory '' to sys.path since everybody can write to it.
Untrusted users could put files in this directory which might then be imported by your Python code. As a general precaution from similar exploits, you should not execute Python code from this directory
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named sage_setup.autogen.pari
Makefile:19: recipe for target 'sage/libs/pari/auto_gen.pxi' failed
make[3]: *** [sage/libs/pari/auto_gen.pxi] Error 1
make[3]: Leaving directory '/opt/sage-7.1/src'

Makefile:767: recipe for target 'sagelib' failed
make[2]: *** [sagelib] Error 2
make[2]: Leaving directory '/opt/sage-7.1/build/make'
Makefile:640: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/opt/sage-7.1/build/make'


jmarcell...@ufpi.edu.br

unread,
Mar 27, 2016, 6:09:26 PM3/27/16
to sage-support
I got this:
in SageMath folder ( uncompressed )

 $ Sudo ./sage

 wait compile and then delete the " .sage " folder in /home/user.

 $ ./sage

or more easy:

$ sudo chmod 777 -R SageMath

$ cd SageMathe

$ ./sage

Reply all
Reply to author
Forward
0 new messages