본문 바로가기
인터넷/모바일/머신러닝

fbprophet 설치할 때에 PermissionError: [WinError 32] pip-sm1260j2-build 해결

by blade. 2018. 6. 22.

대부분의 PC에서는 잡다한 프로그램들을 설치하기 위해서 별로 고생을 안 해도 클릭 몇 번만 하면 다 마무리가 됨.

하지만 또 어떤 PC에서는 별 것도 아닌 프로그램 설치를 위해서 꽤나 오랫동안 고생을 하게됨.

이번에는 facebook fbprophet pip 모듈 설치 에러 


에러가 나는 화면은 아래와 같음. 

OS : 윈도우7 64비트

anaconda 버전 : 3



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
pip install fbprophet-0.3.post2.tar.gz
Processing d:\_c\pip\fbprophet-0.3.post2.tar.gz
Requirement already satisfied: Cython>=0.22 in c:\users\shic\anaconda3\lib\site-packages (from fbprophet==0.3.post2)
Requirement already satisfied: pystan>=2.14 in c:\users\shic\anaconda3\lib\site-packages (from fbprophet==0.3.post2)
Requirement already satisfied: numpy>=1.10.0 in c:\users\shic\anaconda3\lib\site-packages (from fbprophet==0.3.post2)
Requirement already satisfied: pandas>=0.20.1 in c:\users\shic\anaconda3\lib\site-packages (from fbprophet==0.3.post2)
Requirement already satisfied: matplotlib>=2.0.0 in c:\users\shic\anaconda3\lib\site-packages (from fbprophet==0.3.post2)
Requirement already satisfied: python-dateutil>=2 in c:\users\shic\anaconda3\lib\site-packages (from pandas>=0.20.1->fbprophet==0.3.
post2)
Requirement already satisfied: pytz>=2011k in c:\users\shic\anaconda3\lib\site-packages (from pandas>=0.20.1->fbprophet==0.3.post2)
Requirement already satisfied: six>=1.10 in c:\users\shic\anaconda3\lib\site-packages (from matplotlib>=2.0.0->fbprophet==0.3.post2)
 
Requirement already satisfied: cycler>=0.10 in c:\users\shic\anaconda3\lib\site-packages (from matplotlib>=2.0.0->fbprophet==0.3.pos
t2)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=1.5.6 in c:\users\shic\anaconda3\lib\site-packages (from matplotli
b>=2.0.0->fbprophet==0.3.post2)
Building wheels for collected packages: fbprophet
  Running setup.py bdist_wheel for fbprophet ... error
  Failed building wheel for fbprophet
  Running setup.py clean for fbprophet
Failed to build fbprophet
Installing collected packages: fbprophet
  Running setup.py install for fbprophet ... error
Exception:
Traceback (most recent call last):
  File "c:\Users\shic\Anaconda3\lib\site-packages\pip\compat\__init__.py", line 73in console_to_str
    return s.decode(sys.__stdout__.encoding)
 
...
중간 생략
...
PermissionError: [WinError 32]  pip-sm1260j2-build
(한글판에서는 PermissionError: [WinError 32] 다른 프로세스가 파일을 사용 중이기 때문에 프로세스가 액세스 할 수 없습니다:)
cs


해결 방법은 언제나처럼 알고보면 참 간단



1
conda install -c conda-forge fbprophet
cs