inspirehep / magpie

Deep neural network framework for multi-label text classification

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python update & Troubleshootings

antoineGit opened this issue · comments

Hello, few months i was using Magpie without any problems.
Few days ago i made an upgrade from Python3.6 to Python3.7. I had some issues but now i'm stuck with a magpie error when import

Requirement already satisfied: python-dateutil<3.0.0,>=2.1; python_version >= "2.7" in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from botocore<1.13.0,>=1.12.92->boto3->smart_open>=1.2.1->gensim~=0.13->magpie==2.0) (2.8.0)
Installing collected packages: scipy, boto, bz2file, docutils, jmespath, botocore, s3transfer, boto3, smart-open, gensim, scikit-learn, magpie
  Running setup.py install for scipy ... error
    Complete output from command /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c "import setuptools, tokenize;__file__='/private/var/folders/_8/zsjkqzsj289ct8vgnzyyct280000gn/T/pip-install-66eni_zg/scipy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/_8/zsjkqzsj289ct8vgnzyyct280000gn/T/pip-record-ezto73c6/install-record.txt --single-version-externally-managed --compile:
    
    Note: if you need reliable uninstall behavior, then install
    with pip instead of using `setup.py install`:
    
      - `pip install .`       (from a git repo or downloaded source
                               release)
      - `pip install scipy`   (last SciPy release on PyPI)

[A lot more logs ...]
And then this issue

Command "/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c "import setuptools, tokenize;__file__='/private/var/folders/_8/zsjkqzsj289ct8vgnzyyct280000gn/T/pip-install-66eni_zg/scipy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/_8/zsjkqzsj289ct8vgnzyyct280000gn/T/pip-record-ezto73c6/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/_8/zsjkqzsj289ct8vgnzyyct280000gn/T/pip-install-66eni_zg/scipy/

If you have any interesting informations ...

hey @antoineGit . You seem to be getting an error when installing scipy and not magpie. You might be better off asking them about it! :)