아나콘다 주피터 노트북을 사용 시 아래와 같이 해당 패키지 라이브러리를 찾을 수 없다는 메세지가 출력될 경우

1
2
3
4
5
6
7
8
9
10
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-1-a4dce0c7ec11> in <module>()
      1 import dask.array as da
----> 2 import bcolz as bc
      3 import numpy as np
      4 import dask
      5 
 
ModuleNotFoundError: No module named 'bcolz'
 
cs


아나콘다 프롬프트를 실행시킨 후 다음과 같이 해당 모듈을 찾아서 설치를 진행합니다.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
(base) C:\Users\Admin>conda install -c anaconda bcolz
Solving environment: done
 
## Package Plan ##
 
  environment location: C:\Users\Admin\Anaconda3
 
  added / updated specs:
    - bcolz
 
 
The following packages will be downloaded:
 
    package                    |            build
    ---------------------------|-----------------
    bcolz-1.2.1                |   py36h830ac7b_0         516 KB  anaconda
    openssl-1.0.2o             |       h8ea7d77_0         5.4 MB  anaconda
    certifi-2018.4.16          |           py36_0         143 KB  anaconda
    conda-4.5.4                |           py36_0         1.0 MB  anaconda
    ca-certificates-2018.03.07 |                0         155 KB  anaconda
    ------------------------------------------------------------
                                           Total:         7.2 MB
 
The following NEW packages will be INSTALLED:
 
    bcolz:           1.2.1-py36h830ac7b_0 anaconda
 
The following packages will be UPDATED:
 
    ca-certificates: 2018.03.07-0                  --> 2018.03.07-0      anaconda
    certifi:         2018.4.16-py36_0              --> 2018.4.16-py36_0  anaconda
    conda:           4.5.4-py36_0                  --> 4.5.4-py36_0      anaconda
    openssl:         1.0.2o-h8ea7d77_0             --> 1.0.2o-h8ea7d77_0 anaconda
 
Proceed ([y]/n)? y
 
 
Downloading and Extracting Packages
bcolz-1.2.1          |  516 KB | ############################################################################## | 100%
openssl-1.0.2o       |  5.4 MB | ############################################################################## | 100%
certifi-2018.4.16    |  143 KB | ############################################################################## | 100%
conda-4.5.4          |  1.0 MB | ############################################################################## | 100%
ca-certificates-2018 |  155 KB | ############################################################################## | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
 
(base) C:\Users\Admin>
 
cs


'Tools > Anaconda' 카테고리의 다른 글

tensorflow 설치  (0) 2018.07.19
[에러] ModuleNotFoundError: No module named 'pymysql'  (4) 2018.07.03

+ Recent posts