ModuleNotFoundError: No module named 'nnabla'

ModuleNotFoundError: No module named 'nnabla'

(nnabla)

>conda install nnabla
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

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

- nnabla

Current channels:

- https://repo.anaconda.com/pkgs/main/win-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/win-64
- https://repo.anaconda.com/pkgs/r/noarch
- https://repo.anaconda.com/pkgs/msys2/win-64
- https://repo.anaconda.com/pkgs/msys2/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

https://anaconda.org

and use the search bar at the top of the page.

 

 

 

pip install nnabla
Collecting nnabla
Downloading nnabla-1.15.0-cp36-cp36m-win_amd64.whl (12.3 MB)
|████████████████████████████████| 12.3 MB 78 kB/s
Requirement already satisfied: setuptools in c:\users\xxxxx\anaconda3\envs\nnabla\lib\site-packages (from nnabla) (51.0.0.post20201207)
Requirement already satisfied: imageio in c:\users\xxxxx\anaconda3\envs\nnabla\lib\site-packages (from nnabla) (2.9.0)
Requirement already satisfied: numpy in c:\users\xxxxx\anaconda3\envs\nnabla\lib\site-packages (from nnabla) (1.19.2)
Requirement already satisfied: six in c:\users\xxxxx\anaconda3\envs\nnabla\lib\site-packages (from nnabla) (1.15.0)
Requirement already satisfied: tqdm in c:\users\xxxxx\anaconda3\envs\nnabla\lib\site-packages (from nnabla) (4.55.0)
Requirement already satisfied: pillow in c:\users\xxxxx\anaconda3\envs\nnabla\lib\site-packages (from nnabla) (8.0.1)
Collecting protobuf>=3.6
Using cached protobuf-3.14.0-cp36-cp36m-win_amd64.whl (904 kB)
Collecting boto3
Downloading boto3-1.16.45-py2.py3-none-any.whl (130 kB)
|████████████████████████████████| 130 kB 187 kB/s
Collecting botocore<1.20.0,>=1.19.45
Downloading botocore-1.19.45-py2.py3-none-any.whl (7.2 MB)
|████████████████████████████████| 7.2 MB 1.1 MB/s
Collecting jmespath<1.0.0,>=0.7.1
Using cached jmespath-0.10.0-py2.py3-none-any.whl (24 kB)
Collecting python-dateutil<3.0.0,>=2.1
Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting s3transfer<0.4.0,>=0.3.0
Downloading s3transfer-0.3.3-py2.py3-none-any.whl (69 kB)
|████████████████████████████████| 69 kB 918 kB/s
Collecting urllib3<1.27,>=1.25.4
Using cached urllib3-1.26.2-py2.py3-none-any.whl (136 kB)
Collecting configparser
Downloading configparser-5.0.1-py3-none-any.whl (22 kB)
Collecting contextlib2
Downloading contextlib2-0.6.0.post1-py2.py3-none-any.whl (9.8 kB)
Collecting Cython
Downloading Cython-0.29.21-cp36-cp36m-win_amd64.whl (1.6 MB)
|████████████████████████████████| 1.6 MB 939 kB/s
Collecting h5py
Using cached h5py-3.1.0-cp36-cp36m-win_amd64.whl (2.7 MB)
Collecting cached-property
Using cached cached_property-1.5.2-py2.py3-none-any.whl (7.6 kB)
Collecting pywin32
Using cached pywin32-300-cp36-cp36m-win_amd64.whl (9.2 MB)
Collecting pyyaml
Downloading PyYAML-5.3.1-cp36-cp36m-win_amd64.whl (215 kB)
|████████████████████████████████| 215 kB 726 kB/s
Collecting requests
Using cached requests-2.25.1-py2.py3-none-any.whl (61 kB)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\xxxxx\anaconda3\envs\nnabla\lib\site-packages (from requests->nnabla) (2020.12.5)
Collecting chardet<5,>=3.0.2
Using cached chardet-4.0.0-py2.py3-none-any.whl (178 kB)
Collecting idna<3,>=2.5
Using cached idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting scipy
Using cached scipy-1.5.4-cp36-cp36m-win_amd64.whl (31.2 MB)
Installing collected packages: urllib3, python-dateutil, jmespath, botocore, s3transfer, idna, chardet, cached-property, scipy, requests, pyyaml, pywin32, protobuf, h5py, Cython, contextlib2, configparser, boto3, nnabla
Successfully installed Cython-0.29.21 boto3-1.16.45 botocore-1.19.45 cached-property-1.5.2 chardet-4.0.0 configparser-5.0.1 contextlib2-0.6.0.post1 h5py-3.1.0 idna-2.10 jmespath-0.10.0 nnabla-1.15.0 protobuf-3.14.0 python-dateutil-2.8.1 pywin32-300 pyyaml-5.3.1 requests-2.25.1 s3transfer-0.3.3 scipy-1.5.4 urllib3-1.26.2

 

 

ModuleNotFoundError: No module named 'numpy'
>conda install numpy
Collecting package metadata (current_repodata.json): done
Solving environment: done

## Package Plan ##

environment location: C:\Users\xxxxx\anaconda3\envs\nnabla

added / updated specs:
- numpy


The following packages will be downloaded:

package | build
---------------------------|-----------------
mkl-service-2.3.0 | py36h196d8e1_0 45 KB
mkl_fft-1.2.0 | py36h45dec08_0 118 KB
mkl_random-1.1.1 | py36h47e9c7a_0 235 KB
numpy-1.19.2 | py36hadc3359_0 22 KB
numpy-base-1.19.2 | py36ha3acd2a_0 3.8 MB
six-1.15.0 | py36haa95532_0 27 KB
------------------------------------------------------------
Total: 4.3 MB

The following NEW packages will be INSTALLED:

blas pkgs/main/win-64::blas-1.0-mkl
intel-openmp pkgs/main/win-64::intel-openmp-2020.2-254
mkl pkgs/main/win-64::mkl-2020.2-256
mkl-service pkgs/main/win-64::mkl-service-2.3.0-py36h196d8e1_0
mkl_fft pkgs/main/win-64::mkl_fft-1.2.0-py36h45dec08_0
mkl_random pkgs/main/win-64::mkl_random-1.1.1-py36h47e9c7a_0
numpy pkgs/main/win-64::numpy-1.19.2-py36hadc3359_0
numpy-base pkgs/main/win-64::numpy-base-1.19.2-py36ha3acd2a_0
six pkgs/main/win-64::six-1.15.0-py36haa95532_0


Proceed ([y]/n)? y


Downloading and Extracting Packages
six-1.15.0 | 27 KB | ############################################################################ | 100%
mkl-service-2.3.0 | 45 KB | ############################################################################ | 100%
numpy-base-1.19.2 | 3.8 MB | ############################################################################ | 100%
mkl_random-1.1.1 | 235 KB | ############################################################################ | 100%
mkl_fft-1.2.0 | 118 KB | ############################################################################ | 100%
numpy-1.19.2 | 22 KB | ############################################################################ | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done

 

 

 

 

 

conda install scrapy

 

(scrapy) C:\Users\xxxxx>conda install scrapy
Collecting package metadata (current_repodata.json): done
Solving environment: done

## Package Plan ##

environment location: C:\Users\xxxxx\anaconda3\envs\scrapy

added / updated specs:
- scrapy


The following packages will be downloaded:

package | build
---------------------------|-----------------
automat-20.2.0 | py_0 31 KB
constantly-15.1.0 | py_0 10 KB
cryptography-3.3.1 | py38hcd4344a_0 610 KB
cssselect-1.1.0 | py_0 19 KB
hyperlink-20.0.1 | py_0 44 KB
incremental-17.5.0 | py38_0 26 KB
itemadapter-0.2.0 | pyhd3eb1b0_0 12 KB
lxml-4.6.2 | py38h9b66d53_0 979 KB
parsel-1.5.2 | py38_0 31 KB
py-1.10.0 | pyhd3eb1b0_0 76 KB
pyasn1-0.4.8 | py_0 57 KB
pyasn1-modules-0.2.8 | py_0 72 KB
pydispatcher-2.0.5 | py38_1 20 KB
pyhamcrest-2.0.2 | py_0 30 KB
pyopenssl-20.0.1 | pyhd3eb1b0_1 49 KB
pytest-6.2.1 | py38haa95532_0 450 KB
pytest-runner-5.2 | py_0 13 KB
queuelib-1.5.0 | py38_0 22 KB
scrapy-2.4.1 | py38haa95532_0 372 KB
service_identity-18.1.0 | py_0 14 KB
twisted-20.3.0 | py38he774522_0 4.2 MB
w3lib-1.21.0 | py_0 182 KB
zope.interface-5.2.0 | py38h2bbff1b_0 307 KB
------------------------------------------------------------
Total: 7.5 MB

The following NEW packages will be INSTALLED:

atomicwrites pkgs/main/noarch::atomicwrites-1.4.0-py_0
attrs pkgs/main/noarch::attrs-20.3.0-pyhd3eb1b0_0
automat pkgs/main/noarch::automat-20.2.0-py_0
bcrypt pkgs/main/win-64::bcrypt-3.2.0-py38he774522_0
cffi pkgs/main/win-64::cffi-1.14.4-py38hcd4344a_0
colorama pkgs/main/noarch::colorama-0.4.4-pyhd3eb1b0_0
constantly pkgs/main/noarch::constantly-15.1.0-py_0
cryptography pkgs/main/win-64::cryptography-3.3.1-py38hcd4344a_0
cssselect pkgs/main/noarch::cssselect-1.1.0-py_0
hyperlink pkgs/main/noarch::hyperlink-20.0.1-py_0
idna pkgs/main/noarch::idna-2.10-py_0
incremental pkgs/main/win-64::incremental-17.5.0-py38_0
iniconfig pkgs/main/noarch::iniconfig-1.1.1-py_0
itemadapter pkgs/main/noarch::itemadapter-0.2.0-pyhd3eb1b0_0
libiconv pkgs/main/win-64::libiconv-1.15-h1df5818_7
libxml2 pkgs/main/win-64::libxml2-2.9.10-hb89e7f3_3
libxslt pkgs/main/win-64::libxslt-1.1.34-he774522_0
lxml pkgs/main/win-64::lxml-4.6.2-py38h9b66d53_0
more-itertools pkgs/main/noarch::more-itertools-8.6.0-pyhd3eb1b0_0
packaging pkgs/main/noarch::packaging-20.8-pyhd3eb1b0_0
parsel pkgs/main/win-64::parsel-1.5.2-py38_0
pluggy pkgs/main/win-64::pluggy-0.13.1-py38_0
py pkgs/main/noarch::py-1.10.0-pyhd3eb1b0_0
pyasn1 pkgs/main/noarch::pyasn1-0.4.8-py_0
pyasn1-modules pkgs/main/noarch::pyasn1-modules-0.2.8-py_0
pycparser pkgs/main/noarch::pycparser-2.20-py_2
pydispatcher pkgs/main/win-64::pydispatcher-2.0.5-py38_1
pyhamcrest pkgs/main/noarch::pyhamcrest-2.0.2-py_0
pyopenssl pkgs/main/noarch::pyopenssl-20.0.1-pyhd3eb1b0_1
pyparsing pkgs/main/noarch::pyparsing-2.4.7-py_0
pytest pkgs/main/win-64::pytest-6.2.1-py38haa95532_0
pytest-runner pkgs/main/noarch::pytest-runner-5.2-py_0
pywin32 pkgs/main/win-64::pywin32-227-py38he774522_1
queuelib pkgs/main/win-64::queuelib-1.5.0-py38_0
scrapy pkgs/main/win-64::scrapy-2.4.1-py38haa95532_0
service_identity pkgs/main/noarch::service_identity-18.1.0-py_0
six pkgs/main/win-64::six-1.15.0-py38haa95532_0
toml pkgs/main/noarch::toml-0.10.1-py_0
twisted pkgs/main/win-64::twisted-20.3.0-py38he774522_0
w3lib pkgs/main/noarch::w3lib-1.21.0-py_0
zope pkgs/main/win-64::zope-1.0-py38_1
zope.interface pkgs/main/win-64::zope.interface-5.2.0-py38h2bbff1b_0


Proceed ([y]/n)? y


Downloading and Extracting Packages
pytest-6.2.1 | 450 KB | ############################################################################ | 100%
cssselect-1.1.0 | 19 KB | ############################################################################ | 100%
scrapy-2.4.1 | 372 KB | ############################################################################ | 100%
lxml-4.6.2 | 979 KB | ############################################################################ | 100%
pyhamcrest-2.0.2 | 30 KB | ############################################################################ | 100%
queuelib-1.5.0 | 22 KB | ############################################################################ | 100%
itemadapter-0.2.0 | 12 KB | ############################################################################ | 100%
zope.interface-5.2.0 | 307 KB | ############################################################################ | 100%
pyasn1-modules-0.2.8 | 72 KB | ############################################################################ | 100%
incremental-17.5.0 | 26 KB | ############################################################################ | 100%
w3lib-1.21.0 | 182 KB | ############################################################################ | 100%
pytest-runner-5.2 | 13 KB | ############################################################################ | 100%
hyperlink-20.0.1 | 44 KB | ############################################################################ | 100%
twisted-20.3.0 | 4.2 MB | ############################################################################ | 100%
parsel-1.5.2 | 31 KB | ############################################################################ | 100%
cryptography-3.3.1 | 610 KB | ############################################################################ | 100%
pyasn1-0.4.8 | 57 KB | ############################################################################ | 100%
service_identity-18. | 14 KB | ############################################################################ | 100%
py-1.10.0 | 76 KB | ############################################################################ | 100%
constantly-15.1.0 | 10 KB | ############################################################################ | 100%
pyopenssl-20.0.1 | 49 KB | ############################################################################ | 100%
pydispatcher-2.0.5 | 20 KB | ############################################################################ | 100%
automat-20.2.0 | 31 KB | ############################################################################ | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: |

 

 

tensorboard & tensorboardX


pip install tensorboard
Collecting tensorboard
Using cached tensorboard-2.4.0-py3-none-any.whl (10.6 MB)
Requirement already satisfied: wheel>=0.26 in c:\users\xxxxx\anaconda3\envs\pytorch\lib\site-packages (from tensorboard) (0.36.1)
Requirement already satisfied: protobuf>=3.6.0 in c:\users\xxxxx\anaconda3\envs\pytorch\lib\site-packages (from tensorboard) (3.14.0)
Requirement already satisfied: six>=1.10.0 in c:\users\xxxxx\anaconda3\envs\pytorch\lib\site-packages (from tensorboard) (1.15.0)
Requirement already satisfied: setuptools>=41.0.0 in c:\users\xxxxx\anaconda3\envs\pytorch\lib\site-packages (from tensorboard) (51.0.0.post20201207)
Requirement already satisfied: numpy>=1.12.0 in c:\users\xxxxx\anaconda3\envs\pytorch\lib\site-packages (from tensorboard) (1.20.0rc1)
Collecting absl-py>=0.4
Using cached absl_py-0.11.0-py3-none-any.whl (127 kB)
Requirement already satisfied: six>=1.10.0 in c:\users\xxxxx\anaconda3\envs\pytorch\lib\site-packages (from tensorboard) (1.15.0)
Collecting google-auth<2,>=1.6.3
Downloading google_auth-1.24.0-py2.py3-none-any.whl (114 kB)
|████████████████████████████████| 114 kB 139 kB/s
Requirement already satisfied: six>=1.10.0 in c:\users\xxxxx\anaconda3\envs\pytorch\lib\site-packages (from tensorboard) (1.15.0)
Requirement already satisfied: setuptools>=41.0.0 in c:\users\xxxxx\anaconda3\envs\pytorch\lib\site-packages (from tensorboard) (51.0.0.post20201207)
Collecting cachetools<5.0,>=2.0.0
Downloading cachetools-4.2.0-py3-none-any.whl (12 kB)
Collecting google-auth-oauthlib<0.5,>=0.4.1
Downloading google_auth_oauthlib-0.4.2-py2.py3-none-any.whl (18 kB)
Collecting grpcio>=1.24.3
Downloading grpcio-1.34.0-cp38-cp38-win_amd64.whl (2.9 MB)
|████████████████████████████████| 2.9 MB 384 kB/s
Requirement already satisfied: six>=1.10.0 in c:\users\xxxxx\anaconda3\envs\pytorch\lib\site-packages (from tensorboard) (1.15.0)
Collecting markdown>=2.6.8
Using cached Markdown-3.3.3-py3-none-any.whl (96 kB)
Requirement already satisfied: six>=1.10.0 in c:\users\xxxxx\anaconda3\envs\pytorch\lib\site-packages (from tensorboard) (1.15.0)
Collecting pyasn1-modules>=0.2.1
Using cached pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
Collecting pyasn1<0.5.0,>=0.4.6
Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
Collecting requests<3,>=2.21.0
Downloading requests-2.25.1-py2.py3-none-any.whl (61 kB)
|████████████████████████████████| 61 kB 302 kB/s
Requirement already satisfied: certifi>=2017.4.17 in c:\users\xxxxx\anaconda3\envs\pytorch\lib\site-packages (from requests<3,>=2.21.0->tensorboard) (2020.12.5)
Collecting chardet<5,>=3.0.2
Downloading chardet-4.0.0-py2.py3-none-any.whl (178 kB)
|████████████████████████████████| 178 kB 211 kB/s
Collecting idna<3,>=2.5
Using cached idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting requests-oauthlib>=0.7.0
Using cached requests_oauthlib-1.3.0-py2.py3-none-any.whl (23 kB)
Collecting oauthlib>=3.0.0
Using cached oauthlib-3.1.0-py2.py3-none-any.whl (147 kB)
Collecting rsa<5,>=3.1.4
Using cached rsa-4.6-py3-none-any.whl (47 kB)
Collecting tensorboard-plugin-wit>=1.6.0
Using cached tensorboard_plugin_wit-1.7.0-py3-none-any.whl (779 kB)
Collecting urllib3<1.27,>=1.21.1
Using cached urllib3-1.26.2-py2.py3-none-any.whl (136 kB)
Collecting werkzeug>=0.11.15
Using cached Werkzeug-1.0.1-py2.py3-none-any.whl (298 kB)
Installing collected packages: urllib3, pyasn1, idna, chardet, rsa, requests, pyasn1-modules, oauthlib, cachetools, requests-oauthlib, google-auth, werkzeug, tensorboard-plugin-wit, markdown, grpcio, google-auth-oauthlib, absl-py, tensorboard
Successfully installed absl-py-0.11.0 cachetools-4.2.0 chardet-4.0.0 google-auth-1.24.0 google-auth-oauthlib-0.4.2 grpcio-1.34.0 idna-2.10 markdown-3.3.3 oauthlib-3.1.0 pyasn1-0.4.8 pyasn1-modules-0.2.8 requests-2.25.1 requests-oauthlib-1.3.0 rsa-4.6 tensorboard-2.4.0 tensorboard-plugin-wit-1.7.0 urllib3-1.26.2 werkzeug-1.0.1

 


pip install tensorboardX
Collecting tensorboardX
Using cached tensorboardX-2.1-py2.py3-none-any.whl (308 kB)
Requirement already satisfied: numpy in c:\users\xxxxx\anaconda3\envs\pytorch\lib\site-packages (from tensorboardX) (1.20.0rc1)
Requirement already satisfied: six in c:\users\xxxxx\anaconda3\envs\pytorch\lib\site-packages (from tensorboardX) (1.15.0)
Collecting protobuf>=3.8.0
Using cached protobuf-3.14.0-py2.py3-none-any.whl (173 kB)
Requirement already satisfied: six in c:\users\xxxxx\anaconda3\envs\pytorch\lib\site-packages (from tensorboardX) (1.15.0)
Installing collected packages: protobuf, tensorboardX
Successfully installed protobuf-3.14.0 tensorboardX-2.1

「KMP_DUPLICATE_LIB_OK=TRUE」を追加

OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.
OMP: Hint This means that multiple copies of the OpenMP runtime have been linked into the program. That is dangerous, since it can degrade performance or cause incorrect results. The best thing to do is to ensure that only a single OpenMP runtime is linked into the process, e.g. by avoiding static linking of the OpenMP runtime in any library. As an unsafe, unsupported, undocumented workaround you can set the environment variable KMP_DUPLICATE_LIB_OK=TRUE to allow the program to continue to execute, but that may cause crashes or silently produce incorrect results. For more information, please see http://www.intel.com/software/products/support/.