I am having issues installing on Windows 8.1. I have built pytorch but I cannot install torchvision-nightly. The output from
conda install -c fastai torchvision-nightly
is
Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
- torchvision-nightly
- pytorch-nightly
Current channels:
- https://conda.anaconda.org/fastai/win-64
- https://conda.anaconda.org/fastai/noarch
- https://conda.anaconda.org/willyd/win-64
- https://conda.anaconda.org/willyd/noarch
- https://conda.anaconda.org/conda-forge/win-64
- https://conda.anaconda.org/conda-forge/noarch
- https://conda.anaconda.org/anaconda-fusion/win-64
- https://conda.anaconda.org/anaconda-fusion/noarch
- https://repo.anaconda.com/pkgs/main/win-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/free/win-64
- https://repo.anaconda.com/pkgs/free/noarch
- https://repo.anaconda.com/pkgs/r/win-64
- https://repo.anaconda.com/pkgs/r/noarch
- https://repo.anaconda.com/pkgs/pro/win-64
- https://repo.anaconda.com/pkgs/pro/noarch
- https://repo.anaconda.com/pkgs/msys2/win-64
- https://repo.anaconda.com/pkgs/msys2/noarch
I have therefore downloaded torchvision from
and installed following their instructions with
python setup.py install
I then can install fastai and run the below without any problems.
from fastai import *
however
from fastai.vision import *
is not found and results in the following error
ModuleNotFoundError: No module named ‘fastai.vision’
I am a beginner to python so I am not sure what I am missing?
Additionally I get the following output
=== Software ===
python version : 3.6.6
fastai version : 1.0.6
torch version : 1.0.0a0+7edfe11
torch cuda ver : 9.2
torch cuda is : available
torch cudnn ver : 7301
torch cudnn is : enabled=== Hardware ===
torch available : 1
- gpu0 : GeForce GTX 980M
=== Environment ===
platform : Windows-8.1-6.3.9600-SP0
conda env : test_fastai
python : D:\c_progs\Anaconda3\envs\test_fastai\python.exe
sys.path :
D:\c_progs\Anaconda3\envs\test_fastai\python36.zip
D:\c_progs\Anaconda3\envs\test_fastai\DLLs
D:\c_progs\Anaconda3\envs\test_fastai\lib
D:\c_progs\Anaconda3\envs\test_fastai
C:\Users\b8\AppData\Roaming\Python\Python36\site-packages
D:\c_progs\Anaconda3\envs\test_fastai\lib\site-packages
D:\c_progs\Anaconda3\envs\test_fastai\lib\site-packages\torchvision-0.2.1-py3.6.egg
D:\c_progs\Anaconda3\envs\test_fastai\lib\site-packages\win32
D:\c_progs\Anaconda3\envs\test_fastai\lib\site-packages\win32\lib
D:\c_progs\Anaconda3\envs\test_fastai\lib\site-packages\Pythonwin
D:\c_progs\Anaconda3\envs\test_fastai\lib\site-packages\IPython\extensions
from
python -c “import fastai; fastai.show_install(0)”