kompira enterprise 1.6.2.post1 のインストールについて

コメント

4件のコメント

  • 正式なコメント
    服部健太

    pip のバージョンが古くなったため、当該のエラーが発生しているようです。

    回避策として、特権ユーザで

    # /opt/kompira/bin/pip install --upgrade pip

    を実行したのちに改めて、install.shを実行してみて頂けますでしょうか。

    コメントアクション Permalink
  • nakagawa

    回答ありがとうございます。

    sudo /opt/kompira/bin/pip install --upgrade pip のちにバージョンを確認し、

    pip 21.0.1 from /opt/kompira/lib64/python3.8/site-packages/pip (python 3.8)

    と確認したのちもう一度インストールしますと、

    src/kerberos.c:17:10: fatal error: Python.h: No such file or directory
    #include <Python.h>
    ^~~~~~~~~~
    compilation terminated.
    error: command 'gcc' failed with exit status 1
    ----------------------------------------
    ERROR: Command errored out with exit status 1: /opt/kompira/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-joewj93y/pykerberos_707035aca0644c5d9c0283864774e161/setup.py'"'"'; __file__='"'"'/tmp/pip-install-joewj93y/pykerberos_707035aca0644c5d9c0283864774e161/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-n89gwjhy/install-record.txt --single-version-externally-managed --compile --install-headers /opt/kompira/include/site/python3.8/pykerberos Check the logs for full command output.

    となり先ほどとは違ったエラーにより失敗してしまいます。

    0
    コメントアクション Permalink
  • 服部健太

    Python 3.8 の環境が混在しているようで、それが原因かもしれません。

    Python 3.8 を別途インストールされたりしましたでしょうか?

    0
    コメントアクション Permalink
  • nakagawa

    Pythonのバージョンを下げたところ、無事インストールできた模様です。

    ご回答ありがとうございました。

    0
    コメントアクション Permalink

サインインしてコメントを残してください。