Thanks for this product!
I’m going to run it from MacBook, it was never used for coding.
To begin with I installed python following this instructions https://docs.python-guide.org/starting/install3/osx/
Then I followed steps in main post and got notebook up and running!
Proceeding to dl1 lesson4-imdb notebook, I was going over cells and faced this issue
!pip install spacy && python -m spacy download en
Requirement already satisfied: spacy in /opt/conda/envs/fastai/lib/python3.6/site-packages (2.0.11)
Requirement already satisfied: numpy>=1.7 in /opt/conda/envs/fastai/lib/python3.6/site-packages (from spacy) (1.14.5)
Requirement already satisfied: murmurhash<0.29,>=0.28 in /opt/conda/envs/fastai/lib/python3.6/site-packages (from spacy) (0.28.0)
Requirement already satisfied: cymem<1.32,>=1.30 in /opt/conda/envs/fastai/lib/python3.6/site-packages (from spacy) (1.31.2)
Requirement already satisfied: preshed<2.0.0,>=1.0.0 in /opt/conda/envs/fastai/lib/python3.6/site-packages (from spacy) (1.0.1)
Requirement already satisfied: thinc<6.11.0,>=6.10.1 in /opt/conda/envs/fastai/lib/python3.6/site-packages (from spacy) (6.10.2)
Requirement already satisfied: plac<1.0.0,>=0.9.6 in /opt/conda/envs/fastai/lib/python3.6/site-packages (from spacy) (0.9.6)
Collecting pathlib (from spacy)
Downloading https://files.pythonhosted.org/packages/ac/aa/9b065a76b9af472437a0059f77e8f962fe350438b927cb80184c32f075eb/pathlib-1.0.1.tar.gz (49kB)
100% |################################| 51kB 3.6MB/s ta 0:00:011
Requirement already satisfied: ujson>=1.35 in /opt/conda/envs/fastai/lib/python3.6/site-packages (from spacy) (1.35)
Requirement already satisfied: dill<0.3,>=0.2 in /opt/conda/envs/fastai/lib/python3.6/site-packages (from spacy) (0.2.8.2)
Collecting regex==2017.4.5 (from spacy)
Downloading https://files.pythonhosted.org/packages/36/62/c0c0d762ffd4ffaf39f372eb8561b8d491a11ace5a7884610424a8b40f95/regex-2017.04.05.tar.gz (601kB)
100% |################################| 604kB 7.2MB/s eta 0:00:01
Requirement already satisfied: wrapt in /opt/conda/envs/fastai/lib/python3.6/site-packages (from thinc<6.11.0,>=6.10.1->spacy) (1.10.11)
Requirement already satisfied: tqdm<5.0.0,>=4.10.0 in /opt/conda/envs/fastai/lib/python3.6/site-packages (from thinc<6.11.0,>=6.10.1->spacy) (4.23.4)
Requirement already satisfied: cytoolz<0.9,>=0.8 in /opt/conda/envs/fastai/lib/python3.6/site-packages (from thinc<6.11.0,>=6.10.1->spacy) (0.8.2)
Requirement already satisfied: six<2.0.0,>=1.10.0 in /opt/conda/envs/fastai/lib/python3.6/site-packages (from thinc<6.11.0,>=6.10.1->spacy) (1.11.0)
Requirement already satisfied: termcolor in /opt/conda/envs/fastai/lib/python3.6/site-packages (from thinc<6.11.0,>=6.10.1->spacy) (1.1.0)
Requirement already satisfied: msgpack-python in /opt/conda/envs/fastai/lib/python3.6/site-packages (from thinc<6.11.0,>=6.10.1->spacy) (0.4.8)
Requirement already satisfied: msgpack-numpy==0.4.1 in /opt/conda/envs/fastai/lib/python3.6/site-packages (from thinc<6.11.0,>=6.10.1->spacy) (0.4.1)
Requirement already satisfied: toolz>=0.8.0 in /opt/conda/envs/fastai/lib/python3.6/site-packages (from cytoolz<0.9,>=0.8->thinc<6.11.0,>=6.10.1->spacy) (0.9.0)
Building wheels for collected packages: pathlib, regex
Running setup.py bdist_wheel for pathlib ... done
Stored in directory: /home/kasianenko/.cache/pip/wheels/f9/b2/4a/68efdfe5093638a9918bd1bb734af625526e849487200aa171
Running setup.py bdist_wheel for regex ... done
Stored in directory: /home/kasianenko/.cache/pip/wheels/75/07/38/3c16b529d50cb4e0cd3dbc7b75cece8a09c132692c74450b01
Successfully built pathlib regex
distributed 1.22.0 requires msgpack, which is not installed.
twisted 18.7.0 has requirement Automat>=0.3.0, but you'll have automat 0.0.0 which is incompatible.
Installing collected packages: pathlib, regex
Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/opt/conda/envs/fastai/lib/python3.6/site-packages/pathlib.py'
Consider using the `--user` option or check the permissions.
You are using pip version 10.0.1, however version 18.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
EnvironmentError: [Errno 13] Permission denied: ‘/opt/conda/envs/fastai/lib/python3.6/site-packages/pathlib.py’
Taking in consideration that spacy is package that used in dl1 and dl2 courses, it might be good to have it pre-installed.
I went to dl2 imdb notebook and found out that the only problem is access rights
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
<ipython-input-3-584ff827d0cb> in <module>()
1 CLAS_PATH=Path('data/imdb_clas/')
----> 2 CLAS_PATH.mkdir(exist_ok=True)
3
4 LM_PATH=Path('data/imdb_lm/')
5 LM_PATH.mkdir(exist_ok=True)
/opt/conda/envs/fastai/lib/python3.6/pathlib.py in mkdir(self, mode, parents, exist_ok)
1244 self._raise_closed()
1245 try:
-> 1246 self._accessor.mkdir(self, mode)
1247 except FileNotFoundError:
1248 if not parents or self.parent == self:
/opt/conda/envs/fastai/lib/python3.6/pathlib.py in wrapped(pathobj, *args)
385 @functools.wraps(strfunc)
386 def wrapped(pathobj, *args):
--> 387 return strfunc(str(pathobj), *args)
388 return staticmethod(wrapped)
389
FileNotFoundError: [Errno 2] No such file or directory: 'data/imdb_clas'
Do you have to manually activate every new user?