Open rljacobson opened 1 year ago
It looks like this is needed for pymathics.natlang which pulls in nltk, and spacy. So if you remove that you may get further. But...
This weekend will be a major upgrade from version 5 to version 6. See https://hub.docker.com/r/mathicsorg/mathics for a preview of what we have so far.
And while we still have 3 or 4 major gaps in the code to fill (pattern matching one of them, so I'll looking at you and loris), a great deal has been improved in the areas of image processing, nltk, networkx graphs.
So after the 6.0.0 release is when we should check into this. Lots of rot, lots to do.
A couple of things.
First, I was able to build everything with the current 6.0.0 sources on miniconda3.
I looked at setup.py and it looks to me that pymathics.natlang should not be included in the base configuration. How exactly did you run the pip install?
What is seems to fail here is the installer of mysqlclient
. It is looking for a mysql_config
, which is not being installed. What uses a (sqllite) database is mathics-django. Maybe what is missing is to explicitly add that dependency.
@mmatera I thought that too, until I tried removing in docker mariadb
and mysqlclient
from the OS and tried to build the docker image without . The thing to note that is the very first line in the screen output which in about installing PyPI package future.
Although Robert doesn't give the full log or the input he typed - shame on you Robert - this matches a section involved in installing pymathics.natlang.
If Robert doesn't want to remove pymathic.natlang, then he needs to have on the OS side, some sort of mysql around (we use mariadb, but there are others) and a way to connect that which is what mysqlclient needs.
The command I used is pip install Mathics-omnibus
.
I will investigate this issue more this evening and report back.
@rocky I'll open another issue to discuss possible directions for Mathics post v6.0. I'm glad you got involved!
In a miniconda3 environment I ran
pip install Mathics-omnibus
. Lots of things appear to install without issue, and then it fails during installation ofmysqlclient-2.1.1.tar.gz
with the following:It's not clear to me if this issue belongs to mathics-omnibus or to one of the sub components. In any case, I'm surprised to see
mysqlclient
as a dependency.