• Установка библиотеки ujson для Python3.7 на Ubuntu 18.04?

    @ValdemarTXT Автор вопроса
    Collecting ujson
    Using cached https://files.pythonhosted.org/packages/16/c4/79f3...
    Installing collected packages: ujson
    Running setup.py install for ujson: started
    Running setup.py install for ujson: finished with status 'error'
    Complete output from command /home/user/projectname/venv/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pycharm-packaging/ujson/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-x3gilh7h/install-record.txt --single-version-externally-managed --compile --install-headers /home/user/projectname/venv/include/site/python3.7/ujson:
    Warning: 'classifiers' should be a list, got type 'filter'
    running install
    running build
    running build_ext
    building 'ujson' extension
    creating build
    creating build/temp.linux-x86_64-3.7
    creating build/temp.linux-x86_64-3.7/python
    creating build/temp.linux-x86_64-3.7/lib
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fdebug-prefix-map=/build/python3.7-1t2gIN/python3.7-3.7.0~b3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./python -I./lib -I/home/user/projectname/venv/include -I/usr/include/python3.7m -c ./python/ujson.c -o build/temp.linux-x86_64-3.7/./python/ujson.o -D_GNU_SOURCE
    In file included from ./python/ujson.c:39:0:
    ./python/py_defines.h:39:10: fatal error: Python.h: No such file or directory
    #include
    ^~~~~~~~~~
    compilation terminated.
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

    ----------------------------------------

    Command "/home/user/projectname/venv/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pycharm-packaging/ujson/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-x3gilh7h/install-record.txt --single-version-externally-managed --compile --install-headers /home/user/projectname/venv/include/site/python3.7/ujson" failed with error code 1 in /tmp/pycharm-packaging/ujson/
  • Установка библиотеки ujson для Python3.7 на Ubuntu 18.04?

    @ValdemarTXT Автор вопроса
    При попытке
    pip3 install ujson:
    Collecting json
    Could not find a version that satisfies the requirement json (from versions: )
    No matching distribution found for json
    При попытке:
    pip install ujson
    Command "/home/user/projectname/venv/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-p_wjk8ks/ujson/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-5bqhlrz8/install-record.txt --single-version-externally-managed --compile --install-headers /home/user/projectname/venv/include/site/python3.7/ujson" failed with error code 1 in /tmp/pip-install-p_wjk8ks/ujson/
    Что-то другое