Fastai v1 install issues thread


(Jeremy Howard (Admin)) #1

[note: this is a wiki post so you can edit it to improve it]

Please use this thread for any fastai v1 installation related issues. For fastai-v0 issues please use this thread instead.

Before posting in this thread please read the troubleshooting instructions.

Platform specific notes:

Platform specific threads

GCE:

AWS:

Salamander:

Paperspace:


Unable to import fastai in jupyterlab
Fastai v0.7 install issues thread
Developer chat
(Jeremy Howard (Admin)) #2

(Sudarshan) #3

I used the developer install instructions to install the latest version of the library and it doesn’t take long to import the modules. However, during installation of the library through conda I got the following error:

SafetyError: The package for fastai located at <location>
appears to be corrupted. The path ‘site-packages/fastai/tta.py’
has a sha256 mismatch.
reported sha256: 25c8ecc31d5ef6811bc3a86e2e8250be5edf51fe910cd228e0d54d26621d8316
actual sha256: 33e986c37efdca867f147d28dfa64efb66132e468e79c6d29ce557f566dbb723

I don’t think it affects my use of the library (yet), but I wanted to put this out there.


Fastai v1 launched
(Stas Bekman) #4

Most likely a glitch in file transmission? Try to reinstall?

And to continue debugging this issue please follow the instructions in the first post. Thank you.


(Jeremy Howard (Admin)) #5

My fault - I moved this over from another thread, so @shaun1 probably hadn’t seen those instructions.


(Fred Guth) #7

I am trying dev install here.

Yesterday, I reported a github issue about dev install not working properly after pip install.

Today, I created a new environment and installed with conda and the same problem happens.

When I uninstall fastai and then pip install -e .[dev] it installs fastai with torch 0.4.1.

(base) fredguth@aperol:~/Code/fastai$ pip install -e .[dev]
Obtaining file:///home/fredguth/Code/fastai
Collecting Pillow (from fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/62/94/5430ebaa83f91cc7a9f687ff5238e26164a779cca2ef9903232268b0a318/Pillow-5.3.0-cp36-cp36m-manylinux1_x86_64.whl
Collecting dataclasses (from fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/26/2f/1095cdc2868052dd1e64520f7c0d5c8c550ad297e944e641dbf1ffbb9a5d/dataclasses-0.6-py3-none-any.whl
Collecting fastprogress>=0.1.9 (from fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/ff/26/489ef5d95de3983edf89a646ceb32d9746ad56f074194349e1d1a974c17d/fastprogress-0.1.9-py3-none-any.whl
Collecting ipython (from fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/a0/27/29d66ed395a5c2c3a912332d446a54e2bc3277c36b0bbd22bc71623e0193/ipython-7.0.1-py3-none-any.whl
Collecting jupyter (from fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/83/df/0f5dd132200728a86190397e1ea87cd76244e42d39ec5e88efd25b2abd7e/jupyter-1.0.0-py2.py3-none-any.whl
Collecting matplotlib (from fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/ed/89/dd823436a5f8d5ca9304b51b554863bfd366ca84708d5812f5ee87c923bc/matplotlib-3.0.0-cp36-cp36m-manylinux1_x86_64.whl
Collecting numpy>=1.12 (from fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/22/02/bae88c4aaea4256d890adbf3f7cf33e59a443f9985cf91cd08a35656676a/numpy-1.15.2-cp36-cp36m-manylinux1_x86_64.whl
Collecting pandas (from fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/e1/d8/feeb346d41f181e83fba45224ab14a8d8af019b48af742e047f3845d8cff/pandas-0.23.4-cp36-cp36m-manylinux1_x86_64.whl
Collecting requests (from fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/65/47/7e02164a2a3db50ed6d8a6ab1d6d60b69c4c3fdf57a284257925dfc12bda/requests-2.19.1-py2.py3-none-any.whl
Collecting scipy (from fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/a8/0b/f163da98d3a01b3e0ef1cab8dd2123c34aee2bafbb1c5bffa354cc8a1730/scipy-1.1.0-cp36-cp36m-manylinux1_x86_64.whl
Collecting spacy (from fastai==1.0.3)
Collecting torchvision>=0.2.1 (from fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/ca/0d/f00b2885711e08bd71242ebe7b96561e6f6d01fdb4b9dcf4d37e2e13c5e1/torchvision-0.2.1-py2.py3-none-any.whl
Collecting typing (from fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/4a/bd/eee1157fc2d8514970b345d69cb9975dcd1e42cd7e61146ed841f6e68309/typing-3.6.6-py3-none-any.whl
Collecting bumpversion==0.5.3 (from fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/ad/34/49c914829066558ebd405a56647d3ee26856282b8b8c4cd2c0c8de40ff8e/bumpversion-0.5.3-py2.py3-none-any.whl
Collecting jupyter_contrib_nbextensions (from fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/d2/f1/57cd4d05d7f070e662844a925d6f6d726ecaf93d8cc2d7b56a66c765fb42/jupyter_contrib_nbextensions-0.5.0-py2.py3-none-any.whl
Collecting nbconvert (from fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/b5/bb/94c493051d60e5b9c0f7f9a368b324201818c1b1c4cae85d1e49a41846c7/nbconvert-5.4.0-py2.py3-none-any.whl
Collecting nbformat (from fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/da/27/9a654d2b6cc1eaa517d1c5a4405166c7f6d72f04f6e7eea41855fe808a46/nbformat-4.4.0-py2.py3-none-any.whl
Collecting pip>=9.0.1 (from fastai==1.0.3)
  Cache entry deserialization failed, entry ignored
  Using cached https://files.pythonhosted.org/packages/5f/25/e52d3f31441505a5f3af41213346e5b6c221c9e086a166f3703d2ddaf940/pip-18.0-py2.py3-none-any.whl
Collecting pipreqs>=0.4.9 (from fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/f8/8d/2e7c15bc5fcab54f9c5b404b5668fdac65f5e3224b2116097fae1299fc98/pipreqs-0.4.9-py2.py3-none-any.whl
Collecting traitlets (from fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/93/d6/abcb22de61d78e2fc3959c964628a5771e47e7cc60d53e9342e21ed6cc9a/traitlets-4.3.2-py2.py3-none-any.whl
Collecting wheel>=0.30.0 (from fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/fc/e9/05316a1eec70c2bfc1c823a259546475bd7636ba6d27ec80575da523bc34/wheel-0.32.1-py2.py3-none-any.whl
Collecting backcall (from ipython->fastai==1.0.3)
Collecting pexpect; sys_platform != "win32" (from ipython->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/89/e6/b5a1de8b0cc4e07ca1b305a4fcc3f9806025c1b651ea302646341222f88b/pexpect-4.6.0-py2.py3-none-any.whl
Collecting pickleshare (from ipython->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/9a/41/220f49aaea88bc6fa6cba8d05ecf24676326156c23b991e80b3f2fc24c77/pickleshare-0.7.5-py2.py3-none-any.whl
Collecting setuptools>=18.5 (from ipython->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/96/06/c8ee69628191285ddddffb277bd5abdf769166e7a14b867c2a172f0175b1/setuptools-40.4.3-py2.py3-none-any.whl
Collecting decorator (from ipython->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/bc/bb/a24838832ba35baf52f32ab1a49b906b5f82fb7c76b2f6a7e35e140bac30/decorator-4.3.0-py2.py3-none-any.whl
Collecting pygments (from ipython->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/02/ee/b6e02dc6529e82b75bb06823ff7d005b141037cb1416b10c6f00fc419dca/Pygments-2.2.0-py2.py3-none-any.whl
Collecting prompt-toolkit<2.1.0,>=2.0.0 (from ipython->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/e5/c5/f1ee6698bdcf615f171a77e81ca70293b16a6d82285f1760b388b4348263/prompt_toolkit-2.0.5-py3-none-any.whl
Collecting simplegeneric>0.8 (from ipython->fastai==1.0.3)
Collecting jedi>=0.10 (from ipython->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/7a/1a/9bd24a185873b998611c2d8d4fb15cd5e8a879ead36355df7ee53e9111bf/jedi-0.13.1-py2.py3-none-any.whl
Collecting qtconsole (from jupyter->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/ff/1f/b340d52dee46fbbe8a097dce76d1197258bb599692159d94c80921fef9eb/qtconsole-4.4.1-py2.py3-none-any.whl
Collecting ipywidgets (from jupyter->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/30/9a/a008c7b1183fac9e52066d80a379b3c64eab535bd9d86cdc29a0b766fd82/ipywidgets-7.4.2-py2.py3-none-any.whl
Collecting ipykernel (from jupyter->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/ec/19/b18f4c48ea6043921fe1b689ff0a912e066927b25bb0c17a58f7274f4880/ipykernel-5.0.0-py3-none-any.whl
Collecting jupyter-console (from jupyter->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/cb/ee/6374ae8c21b7d0847f9c3722dcdfac986b8e54fa9ad9ea66e1eb6320d2b8/jupyter_console-6.0.0-py2.py3-none-any.whl
Collecting notebook (from jupyter->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/44/16/9f108b675828c4117cfe72d8d0f97094163c40584e40c46ec48a1e862693/notebook-5.7.0-py2.py3-none-any.whl
Collecting python-dateutil>=2.1 (from matplotlib->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/cf/f5/af2b09c957ace60dcfac112b669c45c8c97e32f94aa8b56da4c6d1682825/python_dateutil-2.7.3-py2.py3-none-any.whl
Collecting cycler>=0.10 (from matplotlib->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/f7/d2/e07d3ebb2bd7af696440ce7e754c59dd546ffe1bbe732c8ab68b9c834e61/cycler-0.10.0-py2.py3-none-any.whl
Collecting kiwisolver>=1.0.1 (from matplotlib->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/69/a7/88719d132b18300b4369fbffa741841cfd36d1e637e1990f27929945b538/kiwisolver-1.0.1-cp36-cp36m-manylinux1_x86_64.whl
Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 (from matplotlib->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/2b/4a/f06b45ab9690d4c37641ec776f7ad691974f4cf6943a73267475b05cbfca/pyparsing-2.2.2-py2.py3-none-any.whl
Collecting pytz>=2011k (from pandas->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/30/4e/27c34b62430286c6d59177a0842ed90dc789ce5d1ed740887653b898779a/pytz-2018.5-py2.py3-none-any.whl
Collecting chardet<3.1.0,>=3.0.2 (from requests->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting idna<2.8,>=2.5 (from requests->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355746a97fab05a372e4a2c6a6b876165/idna-2.7-py2.py3-none-any.whl
Collecting certifi>=2017.4.17 (from requests->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/df/f7/04fee6ac349e915b82171f8e23cee63644d83663b34c539f7a09aed18f9e/certifi-2018.8.24-py2.py3-none-any.whl
Collecting urllib3<1.24,>=1.21.1 (from requests->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/bd/c9/6fdd990019071a4a32a5e7cb78a1d92c53851ef4f56f62a3486e6a7d8ffb/urllib3-1.23-py2.py3-none-any.whl
Collecting cymem<1.32,>=1.30 (from spacy->fastai==1.0.3)
Collecting dill<0.3,>=0.2 (from spacy->fastai==1.0.3)
Collecting ujson>=1.35 (from spacy->fastai==1.0.3)
Collecting regex==2017.4.5 (from spacy->fastai==1.0.3)
Collecting plac<1.0.0,>=0.9.6 (from spacy->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/9e/9b/62c60d2f5bc135d2aa1d8c8a86aaf84edb719a59c7f11a4316259e61a298/plac-0.9.6-py2.py3-none-any.whl
Collecting thinc<6.11.0,>=6.10.3 (from spacy->fastai==1.0.3)
Collecting murmurhash<0.29,>=0.28 (from spacy->fastai==1.0.3)
Collecting preshed<2.0.0,>=1.0.0 (from spacy->fastai==1.0.3)
Collecting six (from torchvision>=0.2.1->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
Collecting torch (from torchvision>=0.2.1->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/49/0e/e382bcf1a6ae8225f50b99cc26effa2d4cc6d66975ccf3fa9590efcbedce/torch-0.4.1-cp36-cp36m-manylinux1_x86_64.whl
Collecting jupyter-nbextensions-configurator>=0.4.0 (from jupyter_contrib_nbextensions->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/d1/d8/6bf103e0eafd17caef39c37ff70b8d61bfb21cc8cd91c81ba51755421a34/jupyter_nbextensions_configurator-0.4.0-py2.py3-none-any.whl
Collecting jupyter-core (from jupyter_contrib_nbextensions->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/1d/44/065d2d7bae7bebc06f1dd70d23c36da8c50c0f08b4236716743d706762a8/jupyter_core-4.4.0-py2.py3-none-any.whl
Collecting pyyaml (from jupyter_contrib_nbextensions->fastai==1.0.3)
Collecting jupyter-highlight-selected-word>=0.1.1 (from jupyter_contrib_nbextensions->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/50/d7/19ab7cfd60bf268d2abbacc52d4295a40f52d74dfc0d938e4761ee5e598b/jupyter_highlight_selected_word-0.2.0-py2.py3-none-any.whl
Collecting tornado (from jupyter_contrib_nbextensions->fastai==1.0.3)
Collecting lxml (from jupyter_contrib_nbextensions->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/03/a4/9eea8035fc7c7670e5eab97f34ff2ef0ddd78a491bf96df5accedb0e63f5/lxml-4.2.5-cp36-cp36m-manylinux1_x86_64.whl
Collecting jupyter-contrib-core>=0.3.3 (from jupyter_contrib_nbextensions->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/e6/8f/04a752a8b66a66e7092c035e5d87d2502ac7ec07f9fb6059059b6c0dc272/jupyter_contrib_core-0.3.3-py2.py3-none-any.whl
Collecting ipython-genutils (from jupyter_contrib_nbextensions->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/fa/bc/9bd3b5c2b4774d5f33b2d544f1460be9df7df2fe42f352135381c347c69a/ipython_genutils-0.2.0-py2.py3-none-any.whl
Collecting jupyter-latex-envs>=1.3.8 (from jupyter_contrib_nbextensions->fastai==1.0.3)
Collecting jinja2 (from nbconvert->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/7f/ff/ae64bacdfc95f27a016a7bed8e8686763ba4d277a78ca76f32659220a731/Jinja2-2.10-py2.py3-none-any.whl
Collecting bleach (from nbconvert->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/dc/c3/e5390ba91caf85350abedefdb11bc5fee00d7081b61909122c2d408cd6e4/bleach-3.0.0-py2.py3-none-any.whl
Collecting defusedxml (from nbconvert->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/87/1c/17f3e3935a913dfe2a5ca85fa5ccbef366bfd82eb318b1f75dadbf0affca/defusedxml-0.5.0-py2.py3-none-any.whl
Collecting mistune>=0.8.1 (from nbconvert->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/c8/8c/87f4d359438ba0321a2ae91936030110bfcc62fef752656321a72b8c1af9/mistune-0.8.3-py2.py3-none-any.whl
Collecting entrypoints>=0.2.2 (from nbconvert->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/cc/8b/4eefa9b47f1910b3d2081da67726b066e379b04ca897acfe9f92bac56147/entrypoints-0.2.3-py2.py3-none-any.whl
Collecting pandocfilters>=1.4.1 (from nbconvert->fastai==1.0.3)
Collecting testpath (from nbconvert->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/be/a4/162f9ebb6489421fe46dcca2ae420369edfee4b563c668d93cb4605d12ba/testpath-0.4.2-py2.py3-none-any.whl
Collecting jsonschema!=2.5.0,>=2.4 (from nbformat->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/77/de/47e35a97b2b05c2fadbec67d44cfcdcd09b8086951b331d82de90d2912da/jsonschema-2.6.0-py2.py3-none-any.whl
Collecting yarg (from pipreqs>=0.4.9->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/8b/90/89a2ff242ccab6a24fbab18dbbabc67c51a6f0ed01f9a0f41689dc177419/yarg-0.1.9-py2.py3-none-any.whl
Collecting docopt (from pipreqs>=0.4.9->fastai==1.0.3)
Collecting ptyprocess>=0.5 (from pexpect; sys_platform != "win32"->ipython->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/d1/29/605c2cc68a9992d18dada28206eeada56ea4bd07a239669da41674648b6f/ptyprocess-0.6.0-py2.py3-none-any.whl
Collecting wcwidth (from prompt-toolkit<2.1.0,>=2.0.0->ipython->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/7e/9f/526a6947247599b084ee5232e4f9190a38f398d7300d866af3ab571a5bfe/wcwidth-0.1.7-py2.py3-none-any.whl
Collecting parso>=0.3.0 (from jedi>=0.10->ipython->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/09/51/9c48a46334be50c13d25a3afe55fa05c445699304c5ad32619de953a2305/parso-0.3.1-py2.py3-none-any.whl
Collecting jupyter-client>=4.1 (from qtconsole->jupyter->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/94/dd/fe6c4d683b09eb05342bd2816b7779663f71762b4fa9c2d5203d35d17354/jupyter_client-5.2.3-py2.py3-none-any.whl
Collecting widgetsnbextension~=3.4.0 (from ipywidgets->jupyter->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/8a/81/35789a3952afb48238289171728072d26d6e76649ddc8b3588657a2d78c1/widgetsnbextension-3.4.2-py2.py3-none-any.whl
Collecting Send2Trash (from notebook->jupyter->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/49/46/c3dc27481d1cc57b9385aff41c474ceb7714f7935b1247194adae45db714/Send2Trash-1.5.0-py3-none-any.whl
Collecting prometheus-client (from notebook->jupyter->fastai==1.0.3)
Collecting terminado>=0.8.1 (from notebook->jupyter->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/2e/20/a26211a24425923d46e1213b376a6ee60dc30bcdf1b0c345e2c3769deb1c/terminado-0.8.1-py2.py3-none-any.whl
Collecting pyzmq>=17 (from notebook->jupyter->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/48/93/59592cb294761aaa40589b544eaa5175446d687ff95beeeb666de60f3274/pyzmq-17.1.2-cp36-cp36m-manylinux1_x86_64.whl
Collecting cytoolz<0.10,>=0.9.0 (from thinc<6.11.0,>=6.10.3->spacy->fastai==1.0.3)
Collecting wrapt<1.11.0,>=1.10.0 (from thinc<6.11.0,>=6.10.3->spacy->fastai==1.0.3)
Collecting tqdm<5.0.0,>=4.10.0 (from thinc<6.11.0,>=6.10.3->spacy->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/79/43/19c9fee28110cd47f73e6bc596394337fe9f3e5825b4de402bbf30b3beb5/tqdm-4.26.0-py2.py3-none-any.whl
Collecting msgpack<1.0.0,>=0.5.6 (from thinc<6.11.0,>=6.10.3->spacy->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/22/4e/dcf124fd97e5f5611123d6ad9f40ffd6eb979d1efdc1049e28a795672fcd/msgpack-0.5.6-cp36-cp36m-manylinux1_x86_64.whl
Collecting msgpack-numpy<1.0.0,>=0.4.1 (from thinc<6.11.0,>=6.10.3->spacy->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/bb/a9/2a28ef55c9b2c197d8531bb9c05adce2ba454d37ca8d26c1d421c4945b0d/msgpack_numpy-0.4.4.1-py2.py3-none-any.whl
Collecting MarkupSafe>=0.23 (from jinja2->nbconvert->fastai==1.0.3)
Collecting webencodings (from bleach->nbconvert->fastai==1.0.3)
  Using cached https://files.pythonhosted.org/packages/f4/24/2a3e3df732393fed8b3ebf2ec078f05546de641fe1b667ee316ec1dcf3b7/webencodings-0.5.1-py2.py3-none-any.whl
Collecting toolz>=0.8.0 (from cytoolz<0.10,>=0.9.0->thinc<6.11.0,>=6.10.3->spacy->fastai==1.0.3)
Installing collected packages: Pillow, dataclasses, fastprogress, backcall, ptyprocess, pexpect, pickleshare, setuptools, ipython-genutils, six, decorator, traitlets, pygments, wcwidth, prompt-toolkit, simplegeneric, parso, jedi, ipython, pyzmq, python-dateutil, tornado, jupyter-core, jupyter-client, ipykernel, qtconsole, MarkupSafe, jinja2, jsonschema, nbformat, Send2Trash, prometheus-client, terminado, webencodings, bleach, defusedxml, mistune, entrypoints, pandocfilters, testpath, nbconvert, notebook, widgetsnbextension, ipywidgets, jupyter-console, jupyter, cycler, kiwisolver, pyparsing, numpy, matplotlib, pytz, pandas, chardet, idna, certifi, urllib3, requests, scipy, cymem, dill, ujson, regex, plac, toolz, cytoolz, wrapt, tqdm, msgpack, msgpack-numpy, murmurhash, preshed, thinc, spacy, torch, torchvision, typing, bumpversion, jupyter-contrib-core, pyyaml, jupyter-nbextensions-configurator, jupyter-highlight-selected-word, lxml, jupyter-latex-envs, jupyter-contrib-nbextensions, pip, yarg, docopt, pipreqs, wheel, fastai
  Running setup.py develop for fastai
Successfully installed MarkupSafe-1.0 Pillow-5.3.0 Send2Trash-1.5.0 backcall-0.1.0 bleach-3.0.0 bumpversion-0.5.3 certifi-2018.8.24 chardet-3.0.4 cycler-0.10.0 cymem-1.31.2 cytoolz-0.9.0.1 dataclasses-0.6 decorator-4.3.0 defusedxml-0.5.0 dill-0.2.8.2 docopt-0.6.2 entrypoints-0.2.3 fastai fastprogress-0.1.9 idna-2.7 ipykernel-5.0.0 ipython-7.0.1 ipython-genutils-0.2.0 ipywidgets-7.4.2 jedi-0.13.1 jinja2-2.10 jsonschema-2.6.0 jupyter-1.0.0 jupyter-client-5.2.3 jupyter-console-6.0.0 jupyter-contrib-core-0.3.3 jupyter-contrib-nbextensions-0.5.0 jupyter-core-4.4.0 jupyter-highlight-selected-word-0.2.0 jupyter-latex-envs-1.4.4 jupyter-nbextensions-configurator-0.4.0 kiwisolver-1.0.1 lxml-4.2.5 matplotlib-3.0.0 mistune-0.8.3 msgpack-0.5.6 msgpack-numpy-0.4.4.1 murmurhash-0.28.0 nbconvert-5.4.0 nbformat-4.4.0 notebook-5.7.0 numpy-1.15.2 pandas-0.23.4 pandocfilters-1.4.2 parso-0.3.1 pexpect-4.6.0 pickleshare-0.7.5 pip-18.0 pipreqs-0.4.9 plac-0.9.6 preshed-1.0.1 prometheus-client-0.4.0 prompt-toolkit-2.0.5 ptyprocess-0.6.0 pygments-2.2.0 pyparsing-2.2.2 python-dateutil-2.7.3 pytz-2018.5 pyyaml-3.13 pyzmq-17.1.2 qtconsole-4.4.1 regex-2017.4.5 requests-2.19.1 scipy-1.1.0 setuptools-40.4.3 simplegeneric-0.8.1 six-1.11.0 spacy-2.0.12 terminado-0.8.1 testpath-0.4.2 thinc-6.10.3 toolz-0.9.0 torch-0.4.1 torchvision-0.2.1 tornado-5.1.1 tqdm-4.26.0 traitlets-4.3.2 typing-3.6.6 ujson-1.35 urllib3-1.23 wcwidth-0.1.7 webencodings-0.5.1 wheel-0.32.1 widgetsnbextension-3.4.2 wrapt-1.10.11 yarg-0.1.9

(Stas Bekman) #8

Thank you for moving the report here, @fredguth.

Repeating your steps I don’t get this problem.

Let’s start with identifying your setup specifics. I have just added a new diagnostics function. if you could run it please and send the output here that would be helpful.

Inside checked out fastai git repo:

git pull
python -c 'import fastai; fastai.show_install(1)'

It’s not well tested yet, so it may have some quirks still.

Thanks.

update: see my next post first, and if everything works, that’s great, but I’d still appreciate a test run of the above - perhaps pm it to me. Thank you.


(Stas Bekman) #9

Jeremy had a brilliant idea to repackage torchvision as torchvision-nightly and make fastai depend on that.

Please read the updated installation instructions for conda and pip.

Please let me know if you encounter any problems.

Hopefully it resolves your dev install issue as well, @fredguth.


(Sudarshan) #10

This is fresh developer install as per the instructions. Both my pip and conda packages are up to date.

Here you can find the output of the diagnostics script. I used Anaconda to install everything. As per the instructions I installed pytorch-nightly first and installed fastai after that. Following this, I uninstalled fastai through conda uninstall and cloned the fastai repo, ran run-after-git-clone and ran pip install -e.[dev]. This through up an exception and did not install fastai. Here is the full pip output. And here is just the exception part:

Exception:
Traceback (most recent call last):
 File “/net/vaosl01/opt/NFS/sw/anaconda3/envs/mer-fai1/lib/python3.7/site-packages/pip/_vendor/pkg_resources/init.py”, line 2883, in _dep_map
   return self.__dep_map
 File “/net/vaosl01/opt/NFS/sw/anaconda3/envs/mer-fai1/lib/python3.7/site-packages/pip/_vendor/pkg_resources/init.py”, line 2677, in getattr
   raise AttributeError(attr)
AttributeError: _DistInfoDistribution__dep_map

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
 File “/net/vaosl01/opt/NFS/sw/anaconda3/envs/mer-fai1/lib/python3.7/site-packages/pip/_vendor/packaging/requirements.py”, line 93, in init
   req = REQUIREMENT.parseString(requirement_string)
 File “/net/vaosl01/opt/NFS/sw/anaconda3/envs/mer-fai1/lib/python3.7/site-packages/pip/_vendor/pyparsing.py”, line 1654, in parseString
   raise exc
 File “/net/vaosl01/opt/NFS/sw/anaconda3/envs/mer-fai1/lib/python3.7/site-packages/pip/_vendor/pyparsing.py”, line 1644, in parseString
   loc, tokens = self._parse( instring, 0 )
 File “/net/vaosl01/opt/NFS/sw/anaconda3/envs/mer-fai1/lib/python3.7/site-packages/pip/_vendor/pyparsing.py”, line 1402, in _parseNoCache
   loc,tokens = self.parseImpl( instring, preloc, doActions )
 File “/net/vaosl01/opt/NFS/sw/anaconda3/envs/mer-fai1/lib/python3.7/site-packages/pip/_vendor/pyparsing.py”, line 3417, in parseImpl
   loc, exprtokens = e._parse( instring, loc, doActions )
 File “/net/vaosl01/opt/NFS/sw/anaconda3/envs/mer-fai1/lib/python3.7/site-packages/pip/_vendor/pyparsing.py”, line 1406, in _parseNoCache
   loc,tokens = self.parseImpl( instring, preloc, doActions )
 File “/net/vaosl01/opt/NFS/sw/anaconda3/envs/mer-fai1/lib/python3.7/site-packages/pip/_vendor/pyparsing.py”, line 3205, in parseImpl
   raise ParseException(instring, loc, self.errmsg, self)
pip._vendor.pyparsing.ParseException: Expected stringEnd (at char 33), (line:1, col:34)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
 File “/net/vaosl01/opt/NFS/sw/anaconda3/envs/mer-fai1/lib/python3.7/site-packages/pip/_vendor/pkg_resources/init.py”, line 2963, in init
   super(Requirement, self).init(requirement_string)
 File “/net/vaosl01/opt/NFS/sw/anaconda3/envs/mer-fai1/lib/python3.7/site-packages/pip/_vendor/packaging/requirements.py”, line 96, in init
   requirement_string[e.loc:e.loc + 8], e.msg
pip._vendor.packaging.requirements.InvalidRequirement: Parse error at “’; extra '”: Expected stringEnd

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
 File “/net/vaosl01/opt/NFS/sw/anaconda3/envs/mer-fai1/lib/python3.7/site-packages/pip/_internal/cli/base_command.py”, line 143, in main
   status = self.run(options, args)
 File “/net/vaosl01/opt/NFS/sw/anaconda3/envs/mer-fai1/lib/python3.7/site-packages/pip/_internal/commands/install.py”, line 318, in run
   resolver.resolve(requirement_set)
 File “/net/vaosl01/opt/NFS/sw/anaconda3/envs/mer-fai1/lib/python3.7/site-packages/pip/_internal/resolve.py”, line 102, in resolve
   self._resolve_one(requirement_set, req)
 File “/net/vaosl01/opt/NFS/sw/anaconda3/envs/mer-fai1/lib/python3.7/site-packages/pip/_internal/resolve.py”, line 306, in _resolve_one
   set(req_to_install.extras) - set(dist.extras)
 File “/net/vaosl01/opt/NFS/sw/anaconda3/envs/mer-fai1/lib/python3.7/site-packages/pip/_vendor/pkg_resources/init.py”, line 2840, in extras
   return [dep for dep in self._dep_map if dep]
 File “/net/vaosl01/opt/NFS/sw/anaconda3/envs/mer-fai1/lib/python3.7/site-packages/pip/_vendor/pkg_resources/init.py”, line 2885, in _dep_map
   self.__dep_map = self._compute_dependencies()
 File “/net/vaosl01/opt/NFS/sw/anaconda3/envs/mer-fai1/lib/python3.7/site-packages/pip/_vendor/pkg_resources/init.py”, line 2895, in _compute_depe
ndencies
   reqs.extend(parse_requirements(req))
 File “/net/vaosl01/opt/NFS/sw/anaconda3/envs/mer-fai1/lib/python3.7/site-packages/pip/_vendor/pkg_resources/init.py”, line 2956, in parse_require
ments
   yield Requirement(line)
 File “/net/vaosl01/opt/NFS/sw/anaconda3/envs/mer-fai1/lib/python3.7/site-packages/pip/_vendor/pkg_resources/init.py”, line 2965, in init
   raise RequirementParseError(str(e))
pip._vendor.pkg_resources.RequirementParseError: Parse error at “’; extra '”: Expected stringEnd

Here is my environment.yml FYI.

Thanks for the help.


(Jeremy Howard (Admin)) #11

That’s a pip/jupyter bug that’s killing everyone - not just fastai users. Many threads with workarounds and fixes:

http://forums.fast.ai/search?q=RequirementParseError


(Stas Bekman) #12

@fredguth still gets the old torchvision/torch on pip install -e .[dev]

Successfully installed MarkupSafe-1.0 Pillow-5.3.0 … spacy-2.0.12 terminado-0.8.1 testpath-0.4.2 thinc-6.10.3 toolz-0.9.0 **torch-0.4.1** torchvision-0.2.1 tornado-5.1.1 tqdm-4.26.0 traitlets-4.3.2 typing-3.6.6 …

Could you please re-run the install and post the full logs via pastebin or similar.

The current setup.py no longer even mentions torchvision. It’s torchvision-nightly, so we are yet to figure out where it gets torchvision from. It’s a mystery to be resolved.

I wonder whether your pip somehow dips into fastai-0.7.x environment files? what happens if you move them away?

git clone https://github.com/fastai/fastai
cd fastai
mv environment* /tmp/
tools/run-after-git-clone
pip install -e .[dev]

(Sudarshan) #13

I was able to fix that issue. As Jeremy mentioned it is indeed a bug. I was able to fix it based on the instructions here. The issue seems to be something to do with the testpath package. In case others run into this issue, try downgrading the package:

conda install 'testpath<0.4'

And then install fastai developer package as instructed.

Thank you.


(Stas Bekman) #14

it appears to have been fixed in testpath-0.4.2

pip install testpath>=0.4.2

conda still has the broken version.


(Fred Guth) #15

Before showing the results of the test without environment files, let me say that previously it installed torch-0.4.1, but it was using torch 1.0.0 as shown by running:
python -c 'import fastai; fastai.show_install(1)'

By removing environment* from folder, it worked (no torch installation).

Successfully installed bumpversion-0.5.3 docopt-0.6.2 fastai jupyter-contrib-core-0.3.3 jupyter-contrib-nbextensions-0.5.0 jupyter-highlight-selected-word-0.2.0 jupyter-latex-envs-1.4.4 jupyter-nbextensions-configurator-0.4.0 pipreqs-0.4.9 regex-2017.4.5 torchvision-nightly-0.2.1 yarg-0.1.9
You are using pip version 10.0.1, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

(Stas Bekman) #16

fabulous! I think we may have found the culprit - thank you!

Now to fixing it.

  1. Can you restore the environment* files and first see that you still get torch-0.4.1 fetched when you pip install -e .[dev] (just so that we know for sure that one or both of these files are part of the culprit).

  2. Let’s see whether this is some bug in older pip versions, we now know yours is 10.0.1.

    pip install pip -U
    pip uninstall -y torchvision torchvision-nightly torch torch-nightly
    pip install -e .[dev]
    

    and if now it doesn’t fetch torch-0.4.1 then it’s the old pip version - if that’s the case pip>=18.0 in deps should fix it for everybody.

  3. if updating pip doesn’t help, then we need to trace where environment*.yml (one of the two or both) get picked up by pip. Perhaps you can see it in your logs:

    pip install -vvv -e .[dev] | grep environment

Before showing the results of the test without environment files, let me say that previously it installed torch-0.4.1, but it was using torch 1.0.0 as shown by running:
python -c 'import fastai; fastai.show_install(1)'

It just had them both installed.


(Fred Guth) #17

:frowning: I moved then back and toch 0.4.1 was not fetched.

fredguth@aperol:~/Code/fastai$ sudo -H pip install -e .[dev]
Obtaining file:///home/fredguth/Code/fastai
Requirement already satisfied: fastprogress>=0.1.9 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from fastai==1.0.5.dev0) (0.1.9)
Requirement already satisfied: ipython in /home/fredguth/anaconda3/lib/python3.7/site-packages (from fastai==1.0.5.dev0) (6.5.0)
Requirement already satisfied: jupyter in /home/fredguth/anaconda3/lib/python3.7/site-packages (from fastai==1.0.5.dev0) (1.0.0)
Requirement already satisfied: matplotlib in /home/fredguth/anaconda3/lib/python3.7/site-packages (from fastai==1.0.5.dev0) (2.2.3)
Requirement already satisfied: numpy>=1.12 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from fastai==1.0.5.dev0) (1.15.1)
Requirement already satisfied: pandas in /home/fredguth/anaconda3/lib/python3.7/site-packages (from fastai==1.0.5.dev0) (0.23.4)
Requirement already satisfied: Pillow in /home/fredguth/anaconda3/lib/python3.7/site-packages (from fastai==1.0.5.dev0) (5.2.0)
Requirement already satisfied: requests in /home/fredguth/anaconda3/lib/python3.7/site-packages (from fastai==1.0.5.dev0) (2.19.1)
Requirement already satisfied: scipy in /home/fredguth/anaconda3/lib/python3.7/site-packages (from fastai==1.0.5.dev0) (1.1.0)
Requirement already satisfied: spacy in /home/fredguth/anaconda3/lib/python3.7/site-packages (from fastai==1.0.5.dev0) (2.0.12)
Requirement already satisfied: torchvision-nightly in /home/fredguth/anaconda3/lib/python3.7/site-packages (from fastai==1.0.5.dev0) (0.2.1)
Requirement already satisfied: typing in /home/fredguth/anaconda3/lib/python3.7/site-packages (from fastai==1.0.5.dev0) (3.6.4)
Requirement already satisfied: bumpversion==0.5.3 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from fastai==1.0.5.dev0) (0.5.3)
Requirement already satisfied: jupyter_contrib_nbextensions in /home/fredguth/anaconda3/lib/python3.7/site-packages (from fastai==1.0.5.dev0) (0.5.0)
Requirement already satisfied: nbconvert in /home/fredguth/anaconda3/lib/python3.7/site-packages (from fastai==1.0.5.dev0) (5.4.0)
Requirement already satisfied: nbformat in /home/fredguth/anaconda3/lib/python3.7/site-packages (from fastai==1.0.5.dev0) (4.4.0)
Requirement already satisfied: pip>=9.0.1 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from fastai==1.0.5.dev0) (10.0.1)
Requirement already satisfied: pipreqs>=0.4.9 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from fastai==1.0.5.dev0) (0.4.9)
Requirement already satisfied: traitlets in /home/fredguth/anaconda3/lib/python3.7/site-packages (from fastai==1.0.5.dev0) (4.3.2)
Requirement already satisfied: wheel>=0.30.0 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from fastai==1.0.5.dev0) (0.31.1)
Requirement already satisfied: decorator in /home/fredguth/anaconda3/lib/python3.7/site-packages (from ipython->fastai==1.0.5.dev0) (4.3.0)
Requirement already satisfied: prompt-toolkit<2.0.0,>=1.0.15 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from ipython->fastai==1.0.5.dev0) (1.0.15)
Requirement already satisfied: backcall in /home/fredguth/anaconda3/lib/python3.7/site-packages (from ipython->fastai==1.0.5.dev0) (0.1.0)
Requirement already satisfied: simplegeneric>0.8 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from ipython->fastai==1.0.5.dev0) (0.8.1)
Requirement already satisfied: pickleshare in /home/fredguth/anaconda3/lib/python3.7/site-packages (from ipython->fastai==1.0.5.dev0) (0.7.4)
Requirement already satisfied: pexpect; sys_platform != "win32" in /home/fredguth/anaconda3/lib/python3.7/site-packages (from ipython->fastai==1.0.5.dev0) (4.6.0)
Requirement already satisfied: jedi>=0.10 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from ipython->fastai==1.0.5.dev0) (0.12.1)
Requirement already satisfied: setuptools>=18.5 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from ipython->fastai==1.0.5.dev0) (40.2.0)
Requirement already satisfied: pygments in /home/fredguth/anaconda3/lib/python3.7/site-packages (from ipython->fastai==1.0.5.dev0) (2.2.0)
Requirement already satisfied: qtconsole in /home/fredguth/anaconda3/lib/python3.7/site-packages (from jupyter->fastai==1.0.5.dev0) (4.4.1)
Requirement already satisfied: ipykernel in /home/fredguth/anaconda3/lib/python3.7/site-packages (from jupyter->fastai==1.0.5.dev0) (4.9.0)
Requirement already satisfied: ipywidgets in /home/fredguth/anaconda3/lib/python3.7/site-packages (from jupyter->fastai==1.0.5.dev0) (7.4.1)
Requirement already satisfied: jupyter-console in /home/fredguth/anaconda3/lib/python3.7/site-packages (from jupyter->fastai==1.0.5.dev0) (5.2.0)
Requirement already satisfied: notebook in /home/fredguth/anaconda3/lib/python3.7/site-packages (from jupyter->fastai==1.0.5.dev0) (5.6.0)
Requirement already satisfied: cycler>=0.10 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from matplotlib->fastai==1.0.5.dev0) (0.10.0)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from matplotlib->fastai==1.0.5.dev0) (2.2.0)
Requirement already satisfied: python-dateutil>=2.1 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from matplotlib->fastai==1.0.5.dev0) (2.7.3)
Requirement already satisfied: pytz in /home/fredguth/anaconda3/lib/python3.7/site-packages (from matplotlib->fastai==1.0.5.dev0) (2018.5)
Requirement already satisfied: six>=1.10 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from matplotlib->fastai==1.0.5.dev0) (1.11.0)
Requirement already satisfied: kiwisolver>=1.0.1 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from matplotlib->fastai==1.0.5.dev0) (1.0.1)
Requirement already satisfied: idna<2.8,>=2.5 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from requests->fastai==1.0.5.dev0) (2.7)
Requirement already satisfied: urllib3<1.24,>=1.21.1 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from requests->fastai==1.0.5.dev0) (1.23)
Requirement already satisfied: certifi>=2017.4.17 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from requests->fastai==1.0.5.dev0) (2018.8.24)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from requests->fastai==1.0.5.dev0) (3.0.4)
Requirement already satisfied: murmurhash<0.29,>=0.28 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from spacy->fastai==1.0.5.dev0) (0.28.0)
Requirement already satisfied: cymem<1.32,>=1.30 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from spacy->fastai==1.0.5.dev0) (1.31.2)
Requirement already satisfied: preshed<2.0.0,>=1.0.0 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from spacy->fastai==1.0.5.dev0) (1.0.1)
Requirement already satisfied: thinc<6.11.0,>=6.10.3 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from spacy->fastai==1.0.5.dev0) (6.10.3)
Requirement already satisfied: plac<1.0.0,>=0.9.6 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from spacy->fastai==1.0.5.dev0) (0.9.6)
Requirement already satisfied: ujson>=1.35 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from spacy->fastai==1.0.5.dev0) (1.35)
Requirement already satisfied: dill<0.3,>=0.2 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from spacy->fastai==1.0.5.dev0) (0.2.8.2)
Requirement already satisfied: regex==2017.4.5 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from spacy->fastai==1.0.5.dev0) (2017.4.5)
Requirement already satisfied: tqdm in /home/fredguth/anaconda3/lib/python3.7/site-packages (from torchvision-nightly->fastai==1.0.5.dev0) (4.26.0)
Requirement already satisfied: jupyter-nbextensions-configurator>=0.4.0 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from jupyter_contrib_nbextensions->fastai==1.0.5.dev0) (0.4.0)
Requirement already satisfied: jupyter-contrib-core>=0.3.3 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from jupyter_contrib_nbextensions->fastai==1.0.5.dev0) (0.3.3)
Requirement already satisfied: jupyter-core in /home/fredguth/anaconda3/lib/python3.7/site-packages (from jupyter_contrib_nbextensions->fastai==1.0.5.dev0) (4.4.0)
Requirement already satisfied: jupyter-latex-envs>=1.3.8 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from jupyter_contrib_nbextensions->fastai==1.0.5.dev0) (1.4.4)
Requirement already satisfied: jupyter-highlight-selected-word>=0.1.1 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from jupyter_contrib_nbextensions->fastai==1.0.5.dev0) (0.2.0)
Requirement already satisfied: tornado in /home/fredguth/anaconda3/lib/python3.7/site-packages (from jupyter_contrib_nbextensions->fastai==1.0.5.dev0) (5.1)
Requirement already satisfied: lxml in /home/fredguth/anaconda3/lib/python3.7/site-packages (from jupyter_contrib_nbextensions->fastai==1.0.5.dev0) (4.2.5)
Requirement already satisfied: pyyaml in /home/fredguth/anaconda3/lib/python3.7/site-packages (from jupyter_contrib_nbextensions->fastai==1.0.5.dev0) (3.13)
Requirement already satisfied: ipython-genutils in /home/fredguth/anaconda3/lib/python3.7/site-packages (from jupyter_contrib_nbextensions->fastai==1.0.5.dev0) (0.2.0)
Requirement already satisfied: mistune>=0.8.1 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from nbconvert->fastai==1.0.5.dev0) (0.8.3)
Requirement already satisfied: jinja2 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from nbconvert->fastai==1.0.5.dev0) (2.10)
Requirement already satisfied: entrypoints>=0.2.2 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from nbconvert->fastai==1.0.5.dev0) (0.2.3)
Requirement already satisfied: bleach in /home/fredguth/anaconda3/lib/python3.7/site-packages (from nbconvert->fastai==1.0.5.dev0) (2.1.4)
Requirement already satisfied: pandocfilters>=1.4.1 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from nbconvert->fastai==1.0.5.dev0) (1.4.2)
Requirement already satisfied: testpath in /home/fredguth/anaconda3/lib/python3.7/site-packages (from nbconvert->fastai==1.0.5.dev0) (0.3.1)
Requirement already satisfied: defusedxml in /home/fredguth/anaconda3/lib/python3.7/site-packages (from nbconvert->fastai==1.0.5.dev0) (0.5.0)
Requirement already satisfied: jsonschema!=2.5.0,>=2.4 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from nbformat->fastai==1.0.5.dev0) (2.6.0)
Requirement already satisfied: docopt in /home/fredguth/anaconda3/lib/python3.7/site-packages (from pipreqs>=0.4.9->fastai==1.0.5.dev0) (0.6.2)
Requirement already satisfied: yarg in /home/fredguth/anaconda3/lib/python3.7/site-packages (from pipreqs>=0.4.9->fastai==1.0.5.dev0) (0.1.9)
Requirement already satisfied: wcwidth in /home/fredguth/anaconda3/lib/python3.7/site-packages (from prompt-toolkit<2.0.0,>=1.0.15->ipython->fastai==1.0.5.dev0) (0.1.7)
Requirement already satisfied: ptyprocess>=0.5 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from pexpect; sys_platform != "win32"->ipython->fastai==1.0.5.dev0) (0.6.0)
Requirement already satisfied: parso>=0.3.0 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from jedi>=0.10->ipython->fastai==1.0.5.dev0) (0.3.1)
Requirement already satisfied: jupyter_client in /home/fredguth/anaconda3/lib/python3.7/site-packages (from ipykernel->jupyter->fastai==1.0.5.dev0) (5.2.3)
Requirement already satisfied: widgetsnbextension~=3.4.0 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from ipywidgets->jupyter->fastai==1.0.5.dev0) (3.4.1)
Requirement already satisfied: prometheus-client in /home/fredguth/anaconda3/lib/python3.7/site-packages (from notebook->jupyter->fastai==1.0.5.dev0) (0.3.1)
Requirement already satisfied: Send2Trash in /home/fredguth/anaconda3/lib/python3.7/site-packages (from notebook->jupyter->fastai==1.0.5.dev0) (1.5.0)
Requirement already satisfied: pyzmq>=17 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from notebook->jupyter->fastai==1.0.5.dev0) (17.1.2)
Requirement already satisfied: terminado>=0.8.1 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from notebook->jupyter->fastai==1.0.5.dev0) (0.8.1)
Requirement already satisfied: msgpack<1.0.0,>=0.5.6 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from thinc<6.11.0,>=6.10.3->spacy->fastai==1.0.5.dev0) (0.5.6)
Requirement already satisfied: msgpack-numpy<1.0.0,>=0.4.1 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from thinc<6.11.0,>=6.10.3->spacy->fastai==1.0.5.dev0) (0.4.3.2)
Requirement already satisfied: cytoolz<0.10,>=0.9.0 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from thinc<6.11.0,>=6.10.3->spacy->fastai==1.0.5.dev0) (0.9.0.1)
Requirement already satisfied: wrapt<1.11.0,>=1.10.0 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from thinc<6.11.0,>=6.10.3->spacy->fastai==1.0.5.dev0) (1.10.11)
Requirement already satisfied: MarkupSafe>=0.23 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from jinja2->nbconvert->fastai==1.0.5.dev0) (1.0)
Requirement already satisfied: html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,>=0.99999999pre in /home/fredguth/anaconda3/lib/python3.7/site-packages (from bleach->nbconvert->fastai==1.0.5.dev0) (1.0.1)
Requirement already satisfied: toolz>=0.8.0 in /home/fredguth/anaconda3/lib/python3.7/site-packages (from cytoolz<0.10,>=0.9.0->thinc<6.11.0,>=6.10.3->spacy->fastai==1.0.5.dev0) (0.9.0)
Requirement already satisfied: webencodings in /home/fredguth/anaconda3/lib/python3.7/site-packages (from html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,>=0.99999999pre->bleach->nbconvert->fastai==1.0.5.dev0) (0.5.1)
twisted 18.7.0 requires PyHamcrest>=1.9.0, which is not installed.
Installing collected packages: fastai
  Running setup.py develop for fastai
Successfully installed fastai
You are using pip version 10.0.1, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

(Stas Bekman) #18

OK, can you:

pip install pip==10.0.1
pip uninstall -y torchvision torchvision-nightly torch torch-nightly
pip install torch_nightly -f https://download.pytorch.org/whl/nightly/cu90/torch_nightly.html
pip install fastai
pip uninstall -y fastai
pip install -e .[dev]

(I think yours is cuda90)

Basically, trying to restore the environment to the problematic one.

And if the problem no longer appears now even with all the files in place - what has changed from when you did have a problem? perhaps you could try to reproduce it in a fresh env.


(Chris Fotache) #19

My issue is I can only get fastai 0.7
If I do pip install fastai==1.0.0 it says:
“Could not find a version that satisfies the requirement fastai==1.0.0 (from versions: 0.6, 0.7.0)
No matching distribution found for fastai==1.0.0”

I tried with both torch 0.3.1 (which was installed originally when I followed instructions), and 0.4.1 (i installed it just in case).

I have cuda 8, is that a problem?


(Jeremy Howard (Admin)) #20

Neither of those will work - please follow the steps in the readme.


(Tyler C Nisonoff) #21

I’m struggling to install fastai on my mac (was hoping to test it out in cpu mode).

I followed the instructions, running conda install -c pytorch pytorch-nightly-cpu and that succeeded.

However installing fastai fails

(python3) [] ~/sandbox/newfast: conda install -c fastai fastai
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - fastai
  - torchvision==0.2.1=py_0
  - pytorch-nightly
  - fastai
  - torchvision-nightly

Current channels:

  - https://conda.anaconda.org/fastai/osx-64
  - https://conda.anaconda.org/fastai/noarch
  - https://repo.anaconda.com/pkgs/main/osx-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/free/osx-64
  - https://repo.anaconda.com/pkgs/free/noarch
  - https://repo.anaconda.com/pkgs/r/osx-64
  - https://repo.anaconda.com/pkgs/r/noarch
  - https://repo.anaconda.com/pkgs/pro/osx-64
  - https://repo.anaconda.com/pkgs/pro/noarch

I also tried upgrading conda. I’ll be continuing to try to find a solution on my own, but figured I’d post here and see if anyone had ideas!