File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed
Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -165,13 +165,29 @@ Import error
165165
166166
167167 The problem is caused by the missing of the essential files. Actually,
168- we include almost all the essential files that PyTorch need except VC2017
169- redistributable. You can resolve this by typing the following command.
168+ we include almost all the essential files that PyTorch need for the conda
169+ package except VC2017 redistributable.
170+ You can resolve this by typing the following command.
170171
171172.. code-block :: bat
172173
173174 conda install -c peterjc123 vc vs2017_runtime
174175
176+ As for the wheels package, since we didn't pack the intel-openmp and VS2017
177+ redistributable files in, please make sure you install them manually.
178+ The VS 2017 redistributable installer can be downloaded `here
179+ <https://aka.ms/vs/15/release/VC_redist.x64.exe> `_.
180+ The intel-openmp files can be found at `Anaconda Cloud
181+ <https://anaconda.org/anaconda/intel-openmp/2018.0.0/download/win-64/intel-openmp-2018.0.0-8.tar.bz2> `_.
182+ You will just have to extract this package, put the dll files in `Library\bin `
183+ into a directory and append the path of it to the environment variable `PATH `.
184+ And you should also pay attention to your installation of Numpy. Make sure it
185+ uses MKL instead of OpenBLAS. The offical package of Numpy does the work.
186+
187+ .. code-block :: bat
188+
189+ pip install numpy
190+
175191 Another possible cause may be you are using GPU version without NVIDIA
176192graphics cards. Please replace your GPU package with the CPU one.
177193
You can’t perform that action at this time.
0 commit comments