fastbook icon indicating copy to clipboard operation
fastbook copied to clipboard

Missing dependencies and pip upgrade required

Open Bec-k opened this issue 4 years ago • 2 comments

This is the list of missing dependencies:

numpy
Cython
cymem
murmurhash
preshed
blis

When i tried to install blis, it started complaining on my outdated pip, so i had to upgrade it.

Only after installing all above deps manually, i could finally successfully install pip install -Uqq fastbook

pip install --upgrade pip should be added to installation requirements

Bec-k avatar May 06 '21 11:05 Bec-k

had to install graphviz as well pip install graphviz

Bec-k avatar May 06 '21 11:05 Bec-k

How did you install the repository? I did the following and had no trouble at all:

  1. Create virtual environment with python -m venv venv
  2. Activate virtual environment with source venv/bin/activate
  3. Upgrade pip with pip install --upgrade pip
  4. Install all dependencies specified in requirements.txt with pip install -r requirements.txt

The requirements.txt file lists the following dependencies:

fastai>=2.0.0
graphviz
ipywidgets
matplotlib
nbdev>=0.2.12
pandas
scikit_learn
azure-cognitiveservices-search-imagesearch
sentencepiece

I assume the ones you mention get installed as transitive dependencies (e.g., pandas will install numpy)

zxul767 avatar Sep 29 '21 16:09 zxul767