[Python] Error in pip command - directory not installable

Discussão em 'Python' iniciado por Stack, Outubro 2, 2024.

  1. Stack

    Stack Membro Participativo

    I am new to python and trying to setup using this-

    https://github.com/facebookresearch/CodeGen/blob/main/install_env.sh

    in google collab notebook.

    But, it is throwing error in the below line:

    pip install -v --disable-pip-version-check --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" ./


    I tried changing the last parameter to /bin but still doesn't work. Can someone please help.

    Below is the error:

    Using pip 24.1.2 from /usr/local/lib/python3.10/dist-packages/pip (python 3.10)
    ERROR: Directory './' is not installable. Neither 'setup.py' nor 'pyproject.toml' found.
    /bin/bash: line 1: go: command not found

    Continue reading...

Compartilhe esta Página