Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: limeblack on September 19, 2015, 05:03:14 PM
-
Is it possible to install mathics? It mathematica alternative?
-
I'm now looking to install
libgmp3-dev
could someone add it to the repository? From the list http://www.mathics.org/ here.
-
So install curl tar lzip compiletc tcz then run
curl https://gmplib.org/download/gmp/gmp-6.0.0a.tar.lz > gmp.tar.lz
tar --lzip -xvf gmp-6.0.0.tar.lz
cd gmp
./configure
make
make check
sudo make install
wget "http://limeblack.github.io/Mathics-0.8%20(1).zip"
unzip "Mathics-0.8%20(1).zip"
cd mathics
python setup.py install
"no module named setuptools"
-
Mathics maintainer here.
The installation instructions on mathics.org are out of date (that page is maintained by the previous maintainer of Mathics).
There is a new guide here: https://github.com/mathics/Mathics/wiki/Installing
In particular you no longer need gmp. You do however need python-setuptools (which is why mathics isn't installing for you). Instructions for installing setuptools here https://pypi.python.org/pypi/setuptools
Let me know if you have any more questions
-
I'm now looking to install
libgmp3-dev
It's not obvious what is meant by libgmp3 - the gmp extension contains libgmp.so.10, libgmp.so.3 would be from the year +/- 2000...
-
"no module named setuptools"
use the python-setuptools extension
$ mathics
Mathics 0.8
on CPython 2.7.10 (default, Sep 4 2015, 16:16:17)
using SymPy 0.7.6, mpmath 0.19
-
@sn6uv I'm unable to run mathicsserver. I run
sudo mathicsserver -p 314
and when visiting it with Firefox I get the following error.
http://i.stack.imgur.com/W7dOZ.png
This should fix the error but doesn't http://stackoverflow.com/questions/21129020/how-to-fix-unicodedecodeerror-ascii-codec-cant-decode-byte
-
In tinycorelinux you have to run the following 1st.
rm /usr/local/lib/python2.7/SocketServer.py
cp /tmp/tcloop/python/usr/local/lib/python2.7/SocketServer.py /usr/local/lib/python2.7/SocketSerever.py
Then you remove `import sys` from `/usr/local/lib/python2.7/SocketServer.py` and add the following to the top
import sys
reload(sys)
sys.setdefaultencoding('utf8')
I'm in the process of creating a tinycorelinux iso so people can run it on Windows through VirtualBox.