Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ch11 first cell error in google colab #31

Open
@amscosta

Description

@amscosta

Hello,
Great book.
Unfortunatelly is giving an error in the very first cell in google colab:
You are working on Google Colab.
Files will be downloaded to "/content".
Downloading required files ...
!wget -P /content https://github.com/blueprints-for-text-analytics-python/blueprints-text/raw/master/settings.py
!wget -P /content/data/amazon-product-reviews https://github.com/blueprints-for-text-analytics-python/blueprints-text/raw/master/data/amazon-product-reviews/reviews_5_balanced.json.gz
!wget -P /content/ch11 https://github.com/blueprints-for-text-analytics-python/blueprints-text/raw/master/ch11/requirements.txt
!wget -P /content/packages/blueprints https://github.com/blueprints-for-text-analytics-python/blueprints-text/raw/master/packages/blueprints/preparation.py

Additional setup ...
!pip install torch==1.7.0+cu101 torchvision==0.8.1+cu101 torchaudio==0.7.0 -f https://download.pytorch.org/whl/torch_stable.html
--> ERROR
!pip install -r ch11/requirements.txt
--> ERROR
!python -m nltk.downloader opinion_lexicon punkt stopwords averaged_perceptron_tagger wordnet
!python -m spacy download en

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions