Skip to content

Installation Failed on Google Collab and Kaggle Notebook #242

@thariq-nugrohotomo

Description

@thariq-nugrohotomo

I'm trying to run !pip install pystruct from both colab.research.google.com and Kaggle notebook, but all of them are failing.

Log from colab.research.google.com

ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-c4ve8qgd/pystruct_138dcfb6a2f64973905f1e91dac787e6/setup.py'"'"'; __file__='"'"'/tmp/pip-install-c4ve8qgd/pystruct_138dcfb6a2f64973905f1e91dac787e6/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-wnpk8rg0/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.7/pystruct Check the logs for full command output.

Log from Kaggle notebook

It's very long, hence I put it on pastebin instead.

Cheers,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions