watsonx.ai

Expand all | Collapse all

Install in watson, neuralcoref from sources.

  • 1.  Install in watson, neuralcoref from sources.

    Posted Tue August 04, 2020 11:05 AM
    Code for Install neuralcoref from sources.
    !venv .env
    !source .env/bin/activate
    !git clone https://github.com/huggingface/neuralcoref.git
    !cd neuralcoref
    !pip install -r requirements.txt
    !pip install -e .

    ERROR MESSAGE

    /usr/bin/sh: venv: command not found
    /usr/bin/sh: .env/bin/activate: No such file or directory
    Cloning into 'neuralcoref'...
    remote: Enumerating objects: 744, done.
    remote: Total 744 (delta 0), reused 0 (delta 0), pack-reused 744
    Receiving objects: 100% (744/744), 67.82 MiB | 32.71 MiB/s, done.
    Resolving deltas: 100% (393/393), done.
    ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'
    ERROR: File "setup.py" not found. Directory cannot be installed in editable mode: /home/dsxuser/work
    
    In [ ]:


    ------------------------------
    Stalin Figueroa Alava.
    ------------------------------

    #WatsonStudio


  • 2.  RE: Install in watson, neuralcoref from sources.

    Posted Wed August 05, 2020 01:36 AM

    Atte.

                        MSc. Stalin Figueroa Álava. 

                 Docente de Ingeniería en Sistemas.
                          www.stalinfigueroa.com
                                593-9-6328-9894