C:\Users\me>py -3 -m pip install pylint
Collecting pylint
Downloading http://192.168.123.210:7000/packages/pylint-1.9.1-py2.py3-none-any.whl (687kB)
100% |████████████████████████████████| 696kB ...
Collecting astroid<2.0,>=1.6 (from pylint)
Downloading http://192.168.123.210:7000/packages/astroid-1.6.4-py2.py3-none-any.whl (290kB)
100% |████████████████████████████████| 296kB 6.6MB/s
Requirement already satisfied: mccabe in c:\python3664\lib\site-packages (from pylint)
Requirement already satisfied: isort>=4.2.5 in c:\python3664\lib\site-packages (from pylint)
Requirement already satisfied: six in c:\python3664\lib\site-packages (from pylint)
Requirement already satisfied: colorama; sys_platform == "win32" in c:\python3664\lib\site-packages (from pylint)
Requirement already satisfied: lazy-object-proxy in c:\python3664\lib\site-packages (from astroid<2.0,>=1.6->pylint)
Collecting wrapt (from astroid<2.0,>=1.6->pylint)
Downloading http://192.168.123.210:7000/packages/wrapt-1.10.11.tar.gz
Installing collected packages: wrapt, astroid, pylint
Running setup.py install for wrapt ... error
Exception:
Traceback (most recent call last):
File "C:\Python3664\lib\site-packages\pip\compat\__init__.py", line 73, in console_to_str
return s.decode(sys.__stdout__.encoding)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbf in position 64: invalid start byte
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Python3664\lib\site-packages\pip\basecommand.py", line 215, in main
status = self.run(options, args)
File "C:\Python3664\lib\site-packages\pip\commands\install.py", line 342, in run
prefix=options.prefix_path,
File "C:\Python3664\lib\site-packages\pip\req\req_set.py", line 784, in install
**kwargs
File "C:\Python3664\lib\site-packages\pip\req\req_install.py", line 878, in install
spinner=spinner,
File "C:\Python3664\lib\site-packages\pip\utils\__init__.py", line 676, in call_subprocess
line = console_to_str(proc.stdout.readline())
File "C:\Python3664\lib\site-packages\pip\compat\__init__.py", line 75, in console_to_str
return s.decode('utf_8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbf in position 64: invalid start byte
python3.6, pip 9.0.1, cp949 콘솔에서 위와 같이 UnicodeDecodeError 가 발생.
pip 를 최신버전으로 업그레이드 하고 다시 시도하여 성공.
C:\Users\me>py -3 -m pip install -U pip
Collecting pip
Downloading http://192.168.123.210:7000/packages/pip-10.0.1-py2.py3-none-any.whl (1.3MB)
100% |████████████████████████████████| 1.3MB 6.6MB/s
Installing collected packages: pip
Found existing installation: pip 9.0.1
Uninstalling pip-9.0.1:
Successfully uninstalled pip-9.0.1
Successfully installed pip-10.0.1
C:\Users\me>py -3 -m pip install -U wrapt
Looking in indexes: http://192.168.123.210:7000/simple
Collecting wrapt
Downloading http://192.168.123.210:7000/packages/wrapt-1.10.11.tar.gz
Installing collected packages: wrapt
Running setup.py install for wrapt ... done
Successfully installed wrapt-1.10.11
C:\Users\me>py -3 -m pip install pylint
Looking in indexes: http://192.168.123.210:7000/simple
Collecting pylint
Downloading http://192.168.123.210:7000/packages/pylint-1.9.1-py2.py3-none-any.whl (687kB)
100% |████████████████████████████████| 696kB ...
Requirement already satisfied: isort>=4.2.5 in c:\python3664\lib\site-packages (from pylint) (4.3.4)
Requirement already satisfied: six in c:\python3664\lib\site-packages (from pylint) (1.11.0)
Requirement already satisfied: mccabe in c:\python3664\lib\site-packages (from pylint) (0.6.1)
Collecting astroid<2.0,>=1.6 (from pylint)
Downloading http://192.168.123.210:7000/packages/astroid-1.6.4-py2.py3-none-any.whl (290kB)
100% |████████████████████████████████| 296kB 6.6MB/s
Requirement already satisfied: colorama; sys_platform == "win32" in c:\python3664\lib\site-packages (from pylint) (0.3.9)
Requirement already satisfied: wrapt in c:\python3664\lib\site-packages (from astroid<2.0,>=1.6->pylint) (1.10.11)
Requirement already satisfied: lazy-object-proxy in c:\python3664\lib\site-packages (from astroid<2.0,>=1.6->pylint) (1.3.1)
Installing collected packages: astroid, pylint
The scripts epylint.exe, pylint.exe, pyreverse.exe and symilar.exe are installed in 'C:\Python3664\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed astroid-1.6.4 pylint-1.9.1
C:\Users\me>
'프로그래밍 > Python' 카테고리의 다른 글
[Python] 실수값 연분수로 근사값 분수 찾기, approx real value using continued fraction (0) | 2018.06.20 |
---|---|
[Anaconda] 아나콘다 파이썬의 로컬 업데이트 서버를 어떻게 만들 수 있나? (0) | 2018.06.08 |
[VS2013|PTVS] Python Tool for Visual Studio 가 동작하지 않았다. (0) | 2018.04.19 |
offline virtualenv 시 문제. (0) | 2018.03.16 |
[Django] Django import LOCAL settings 문제. (0) | 2018.03.05 |