Hello everyone
I am installing fastai from pyp like this pip install fastai==1.0.51
it installs some dependencies but not all of them I pasting them below and I am facing this issue only on the window but not in Linux.
Please help in this regard.
Collecting fastai==1.0.51
Downloading fastai-1.0.51-py3-none-any.whl (214 kB)
|████████████████████████████████| 214 kB 409 kB/s
Collecting fastprogress>=0.1.19
Using cached fastprogress-1.0.0-py3-none-any.whl (12 kB)
Collecting torchvision
Using cached torchvision-0.10.0-cp36-cp36m-win_amd64.whl (920 kB)
Collecting beautifulsoup4
Using cached beautifulsoup4-4.9.3-py3-none-any.whl (115 kB)
Collecting packaging
Using cached packaging-21.0-py3-none-any.whl (40 kB)
Collecting typing
Downloading typing-3.7.4.3.tar.gz (78 kB)
|████████████████████████████████| 78 kB 655 kB/s
Collecting spacy>=2.0.18
Using cached spacy-3.1.1-cp36-cp36m-win_amd64.whl (11.8 MB)
Collecting bottleneck
Using cached Bottleneck-1.3.2.tar.gz (88 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Collecting nvidia-ml-py3
Using cached nvidia_ml_py3-7.352.0-py3-none-any.whl
Collecting dataclasses
Using cached dataclasses-0.8-py3-none-any.whl (19 kB)
Collecting requests
Using cached requests-2.26.0-py2.py3-none-any.whl (62 kB)
Collecting numexpr
Using cached numexpr-2.7.3-cp36-cp36m-win_amd64.whl (93 kB)
Collecting pandas
Using cached pandas-1.1.5-cp36-cp36m-win_amd64.whl (8.7 MB)
Collecting scipy
Using cached scipy-1.5.4-cp36-cp36m-win_amd64.whl (31.2 MB)
Collecting pyyaml
Using cached PyYAML-5.4.1-cp36-cp36m-win_amd64.whl (209 kB)
Collecting numpy>=1.15
Using cached numpy-1.19.5-cp36-cp36m-win_amd64.whl (13.2 MB)
Collecting matplotlib
Using cached matplotlib-3.3.4-cp36-cp36m-win_amd64.whl (8.5 MB)
Collecting torch>=1.0.0
Using cached torch-1.9.0-cp36-cp36m-win_amd64.whl (222.0 MB)
Collecting Pillow
Using cached Pillow-8.3.1-1-cp36-cp36m-win_amd64.whl (3.2 MB)
Collecting jinja2
Using cached Jinja2-3.0.1-py3-none-any.whl (133 kB)
Collecting pydantic!=1.8,!=1.8.1,<1.9.0,>=1.7.4
Using cached pydantic-1.8.2-cp36-cp36m-win_amd64.whl (1.9 MB)
Collecting tqdm<5.0.0,>=4.38.0
Using cached tqdm-4.61.2-py2.py3-none-any.whl (76 kB)
Collecting murmurhash<1.1.0,>=0.28.0
Using cached murmurhash-1.0.5-cp36-cp36m-win_amd64.whl (20 kB)
Collecting spacy-legacy<3.1.0,>=3.0.7
Using cached spacy_legacy-3.0.8-py2.py3-none-any.whl (14 kB)
Requirement already satisfied: setuptools in c:\users\nawaz\anaconda3\envs\chest-ali\lib\site-packages (from spacy>=2.0.18->fastai==1.0.51) (52.0.0.post20210125)
Collecting blis<0.8.0,>=0.4.0
Using cached blis-0.7.4-cp36-cp36m-win_amd64.whl (6.5 MB)
Collecting preshed<3.1.0,>=3.0.2
Using cached preshed-3.0.5-cp36-cp36m-win_amd64.whl (109 kB)
Collecting srsly<3.0.0,>=2.4.1
Using cached srsly-2.4.1-cp36-cp36m-win_amd64.whl (450 kB)
Collecting typer<0.4.0,>=0.3.0
Using cached typer-0.3.2-py3-none-any.whl (21 kB)
Collecting wasabi<1.1.0,>=0.8.1
Using cached wasabi-0.8.2-py3-none-any.whl (23 kB)
Collecting typing-extensions<4.0.0.0,>=3.7.4
Using cached typing_extensions-3.10.0.0-py3-none-any.whl (26 kB)
Collecting pathy>=0.3.5
Using cached pathy-0.6.0-py3-none-any.whl (42 kB)
Collecting catalogue<2.1.0,>=2.0.4
Using cached catalogue-2.0.4-py3-none-any.whl (16 kB)
Collecting thinc<8.1.0,>=8.0.8
Using cached thinc-8.0.8-cp36-cp36m-win_amd64.whl (1.0 MB)
Collecting cymem<2.1.0,>=2.0.2
Using cached cymem-2.0.5-cp36-cp36m-win_amd64.whl (35 kB)
Collecting zipp>=0.5
Using cached zipp-3.5.0-py3-none-any.whl (5.7 kB)
Collecting pyparsing>=2.0.2
Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Collecting smart-open<6.0.0,>=5.0.0
Using cached smart_open-5.1.0-py3-none-any.whl (57 kB)
Collecting idna<4,>=2.5
Using cached idna-3.2-py3-none-any.whl (59 kB)
Collecting charset-normalizer~=2.0.0
Using cached charset_normalizer-2.0.3-py3-none-any.whl (35 kB)
Collecting urllib3<1.27,>=1.21.1
Using cached urllib3-1.26.6-py2.py3-none-any.whl (138 kB)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\nawaz\anaconda3\envs\chest-ali\lib\site-packages (from requests->fastai==1.0.51) (2021.5.30)
Collecting contextvars<3,>=2.4
Using cached contextvars-2.4-py3-none-any.whl
Collecting immutables>=0.9
Using cached immutables-0.15-cp36-cp36m-win_amd64.whl (56 kB)
Collecting colorama
Using cached colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Collecting click<7.2.0,>=7.1.1
Using cached click-7.1.2-py2.py3-none-any.whl (82 kB)
Collecting soupsieve>1.2
Using cached soupsieve-2.2.1-py3-none-any.whl (33 kB)
Collecting MarkupSafe>=2.0
Using cached MarkupSafe-2.0.1-cp36-cp36m-win_amd64.whl (14 kB)
Collecting kiwisolver>=1.0.1
Using cached kiwisolver-1.3.1-cp36-cp36m-win_amd64.whl (51 kB)
Collecting cycler>=0.10
Using cached cycler-0.10.0-py2.py3-none-any.whl (6.5 kB)
Collecting python-dateutil>=2.1
Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting six
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting pytz>=2017.2
Using cached pytz-2021.1-py2.py3-none-any.whl (510 kB)
Building wheels for collected packages: bottleneck, typing
Building wheel for bottleneck (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\Nawaz\anaconda3\envs\chest-ali\python.exe' 'C:\Users\Nawaz\anaconda3\envs\chest-ali\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' build_wheel 'C:\Users\Nawaz\AppData\Local\Temp\tmpb0aymego'
cwd: C:\Users\Nawaz\AppData\Local\Temp\pip-install-4sqdqe64\bottleneck_edbedfe6bb774d3c92920e79eccabf88
Complete output (51 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.6
creating build\lib.win-amd64-3.6\bottleneck
copying bottleneck\_pytesttester.py -> build\lib.win-amd64-3.6\bottleneck
copying bottleneck\_version.py -> build\lib.win-amd64-3.6\bottleneck
copying bottleneck\__init__.py -> build\lib.win-amd64-3.6\bottleneck
creating build\lib.win-amd64-3.6\bottleneck\benchmark
copying bottleneck\benchmark\autotimeit.py -> build\lib.win-amd64-3.6\bottleneck\benchmark
copying bottleneck\benchmark\bench.py -> build\lib.win-amd64-3.6\bottleneck\benchmark
copying bottleneck\benchmark\bench_detailed.py -> build\lib.win-amd64-3.6\bottleneck\benchmark
copying bottleneck\benchmark\__init__.py -> build\lib.win-amd64-3.6\bottleneck\benchmark
creating build\lib.win-amd64-3.6\bottleneck\slow
copying bottleneck\slow\move.py -> build\lib.win-amd64-3.6\bottleneck\slow
copying bottleneck\slow\nonreduce.py -> build\lib.win-amd64-3.6\bottleneck\slow
copying bottleneck\slow\nonreduce_axis.py -> build\lib.win-amd64-3.6\bottleneck\slow
copying bottleneck\slow\reduce.py -> build\lib.win-amd64-3.6\bottleneck\slow
copying bottleneck\slow\__init__.py -> build\lib.win-amd64-3.6\bottleneck\slow
creating build\lib.win-amd64-3.6\bottleneck\src
copying bottleneck\src\bn_config.py -> build\lib.win-amd64-3.6\bottleneck\src
copying bottleneck\src\bn_template.py -> build\lib.win-amd64-3.6\bottleneck\src
copying bottleneck\src\__init__.py -> build\lib.win-amd64-3.6\bottleneck\src
creating build\lib.win-amd64-3.6\bottleneck\tests
copying bottleneck\tests\input_modification_test.py -> build\lib.win-amd64-3.6\bottleneck\tests
copying bottleneck\tests\list_input_test.py -> build\lib.win-amd64-3.6\bottleneck\tests
copying bottleneck\tests\memory_test.py -> build\lib.win-amd64-3.6\bottleneck\tests
copying bottleneck\tests\move_test.py -> build\lib.win-amd64-3.6\bottleneck\tests
copying bottleneck\tests\nonreduce_axis_test.py -> build\lib.win-amd64-3.6\bottleneck\tests
copying bottleneck\tests\nonreduce_test.py -> build\lib.win-amd64-3.6\bottleneck\tests
copying bottleneck\tests\reduce_test.py -> build\lib.win-amd64-3.6\bottleneck\tests
copying bottleneck\tests\scalar_input_test.py -> build\lib.win-amd64-3.6\bottleneck\tests
copying bottleneck\tests\util.py -> build\lib.win-amd64-3.6\bottleneck\tests
copying bottleneck\tests\__init__.py -> build\lib.win-amd64-3.6\bottleneck\tests
UPDATING build\lib.win-amd64-3.6\bottleneck/_version.py
set build\lib.win-amd64-3.6\bottleneck/_version.py to '1.3.2'
running build_ext
running config
compiling '_configtest.c':
int __attribute__((optimize("O3"))) have_attribute_optimize_opt_3(void*);
int main(void)
{
return 0;
}
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
ERROR: Failed building wheel for bottleneck
Building wheel for typing (setup.py) ... done
Created wheel for typing: filename=typing-3.7.4.3-py3-none-any.whl size=26308 sha256=a55d6e034633182f12fb05525bd23d00918a9fd6a5ee27d09b444c69bc123f4d
Stored in directory: c:\users\nawaz\appdata\local\pip\cache\wheels\5f\63\c2\b85489bbea28cb5d36cfe197244f898428004fa3caa7a23116
Successfully built typing
Failed to build bottleneck
ERROR: Could not build wheels for bottleneck which use PEP 517 and cannot be installed directly
I installed needed libraries like Microsoft Visual C++ 14.0 and many more.
How to install fastai version 1.0.51 on windows.
Thanks