pip๋ฅผ ์ค์นํ๊ณ ์๋ํ ํ ๋ค์ ์ค๋ฅ๊ฐ ๋ฐ์ํ์ต๋๋ค.
ํ ๋ชฉ๋ก-์ค๋๋
C:\Python33\Scripts\pip-script.py run on 07/27/13 15:32:54
Exception:
Traceback (most recent call last):
File "C:\Python33\lib\site-packages\pip\basecommand.py", line 134, in main
status = self.run(options, args)
File "C:\Python33\lib\site-packages\pip\commands\list.py", line 74, in run
self.run_outdated(options)
File "C:\Python33\lib\site-packages\pip\commands\list.py", line 83, in run_outdated
for dist, remote_version_raw, remote_version_parsed in self.find_packages_latests_versions(options):
File "C:\Python33\lib\site-packages\pip\commands\list.py", line 104, in find_packages_latests_versions
installed_packages = get_installed_distributions(local_only=options.local, include_editables=False, skip=self.skip)
File "C:\Python33\lib\site-packages\pip\util.py", line 384, in get_installed_distributions
return [d for d in pkg_resources.working_set
File "C:\Python33\lib\site-packages\pip\util.py", line 387, in <listcomp>
and editable_test(d)
File "C:\Python33\lib\site-packages\pip\util.py", line 377, in <lambda>
editable_test = lambda d: not dist_is_editable(d)
File "C:\Python33\lib\site-packages\pip\util.py", line 347, in dist_is_editable
req = FrozenRequirement.from_dist(dist, [])
File "C:\Python33\lib\site-packages\pip\__init__.py", line 194, in from_dist
assert len(specs) == 1 and specs[0][0] == '=='
AssertionError
http://python-distribute.org/distribute_setup.py
์คํฌ๋ฆฝํธ๋ฅผ ์ฌ์ฉํ์ฌ ๋ฐฐํฌ๋ฅผ ์ค์นํ ๋ ๋ฐ์ํฉ๋๋ค. pip install -U distribute
์คํํ๋ฉด ๋ฌธ์ ๊ฐ ํด๊ฒฐ๋ฉ๋๋ค. ๋ฒ๊ทธ๋ pip==1.4
์์๋ง ์ฌํ๋ฉ๋๋ค. ์ด ์ค์ด ์คํจํ๋ ์ด์ ๋ ๋ค์๊ณผ ๊ฐ์ต๋๋ค.
ipdb> specs
[]
๊ทธ๋๋ ๋ฌธ์ ๊ฐ ํด๊ฒฐ๋์์ง๋ง ์ด์ ํจํค์ง๋ฅผ ์ค์นํ๊ฑฐ๋ ์ค๋๋ ํจํค์ง๋ฅผ ์ ๊ทธ๋ ์ด๋ํ๋ ค๊ณ ํ ๋๋ง๋ค ๋ฌธ์ ๊ฐ ๋ฐ์ํฉ๋๋ค.
๋ฐฐํฌํ์ ์ ๊ทธ๋ ์ด๋ํ์ผ๋ฉฐ setuptools๋ ์ ๊ทธ๋ ์ด๋ํ์ต๋๋ค.
C:\Python33\Scripts\pip-script.py run on 07/30/13 10:55:56
Downloading/unpacking openpyxl
Getting page https://pypi.python.org/simple/openpyxl/
URLs to search for versions for openpyxl:
* https://pypi.python.org/simple/openpyxl/
Analyzing links from page https://pypi.python.org/simple/openpyxl/
Found link https://pypi.python.org/packages/source/o/openpyxl/openpyxl-1.5.4.tar.gz#md5=1c7c750dc2a2fdb8fbdff06d626b0de6 (from https://pypi.python.org/simple/openpyxl/), version: 1.5.4
Found link https://pypi.python.org/packages/source/o/openpyxl/openpyxl-1.5.3.tar.gz#md5=dc0ab019f3d3b815c7b811df7b5ea64d (from https://pypi.python.org/simple/openpyxl/), version: 1.5.3
Found link https://pypi.python.org/packages/source/o/openpyxl/openpyxl-1.5.5.tar.gz#md5=b74d128eb8bd0df5cb66f0bf4ff581c8 (from https://pypi.python.org/simple/openpyxl/), version: 1.5.5
Found link https://pypi.python.org/packages/source/o/openpyxl/openpyxl-1.1.0.zip#md5=46eb03d68c15e29b0d7337c0c350f441 (from https://pypi.python.org/simple/openpyxl/), version: 1.1.0
Found link https://pypi.python.org/packages/source/o/openpyxl/openpyxl-1.5.2.tar.gz#md5=b9b733405607312c736811d1dac01119 (from https://pypi.python.org/simple/openpyxl/), version: 1.5.2
Found link https://pypi.python.org/packages/source/o/openpyxl/openpyxl-1.2.3.zip#md5=fd9104954b9b016d92ba5300cbd8a8a7 (from https://pypi.python.org/simple/openpyxl/), version: 1.2.3
Found link https://pypi.python.org/packages/source/o/openpyxl/openpyxl-1.1.7.zip#md5=37cd161925e34379a0a69a3732325f8b (from https://pypi.python.org/simple/openpyxl/), version: 1.1.7
Found link https://pypi.python.org/packages/source/o/openpyxl/openpyxl-1.1.5.tar.gz#md5=7da06c60291d888671c2b65be9978ca4 (from https://pypi.python.org/simple/openpyxl/), version: 1.1.5
Found link https://pypi.python.org/packages/source/o/openpyxl/openpyxl-1.1.6.zip#md5=a71d9715d102ae03b953a7c5005fabed (from https://pypi.python.org/simple/openpyxl/), version: 1.1.6
Found link https://pypi.python.org/packages/source/o/openpyxl/openpyxl-1.6.1.tar.gz#md5=d0d92b3b8128609be93a044ce3dac3f8 (from https://pypi.python.org/simple/openpyxl/), version: 1.6.1
Found link https://pypi.python.org/packages/source/o/openpyxl/openpyxl-1.5.0.tar.gz#md5=5d1a4a6c6747b9d4985211d4738f738d (from https://pypi.python.org/simple/openpyxl/), version: 1.5.0
Found link https://pypi.python.org/packages/source/o/openpyxl/openpyxl-1.5.1.tar.gz#md5=acc3c52c9f7340c71f226f840d11b0e7 (from https://pypi.python.org/simple/openpyxl/), version: 1.5.1
Found link https://pypi.python.org/packages/source/o/openpyxl/openpyxl-1.1.4.zip#md5=e56cfbffddf58fb7a97f43f02e0c931a (from https://pypi.python.org/simple/openpyxl/), version: 1.1.4
Skipping link https://pypi.python.org/packages/2.6/o/openpyxl/openpyxl-1.1.0-py2.6.egg#md5=6e5740380a9829879b67816c71fc145e (from https://pypi.python.org/simple/openpyxl/); unknown archive format: .egg
Found link https://pypi.python.org/packages/source/o/openpyxl/openpyxl-1.5.8.tar.gz#md5=a267dd0dd0d4eb49908d7e9cd7a9ee30 (from https://pypi.python.org/simple/openpyxl/), version: 1.5.8
Found link https://pypi.python.org/packages/source/o/openpyxl/openpyxl-1.5.6.tar.gz#md5=6b080e13593e57b2e3241b5c242c0bdf (from https://pypi.python.org/simple/openpyxl/), version: 1.5.6
Found link https://pypi.python.org/packages/source/o/openpyxl/openpyxl-1.5.7.tar.gz#md5=ed1dbbb80878efb8e39e6cefba07bd17 (from https://pypi.python.org/simple/openpyxl/), version: 1.5.7
Found link https://pypi.python.org/packages/source/o/openpyxl/openpyxl-1.6.2.tar.gz#md5=9f24ed772c98f24ae693f8ab6c7b7016 (from https://pypi.python.org/simple/openpyxl/), version: 1.6.2
Using version 1.6.2 (newest of versions: 1.6.2, 1.6.1, 1.5.8, 1.5.7, 1.5.6, 1.5.5, 1.5.4, 1.5.3, 1.5.2, 1.5.1, 1.5.0, 1.2.3, 1.1.7, 1.1.6, 1.1.5, 1.1.4, 1.1.0)
Downloading from URL https://pypi.python.org/packages/source/o/openpyxl/openpyxl-1.6.2.tar.gz#md5=9f24ed772c98f24ae693f8ab6c7b7016 (from https://pypi.python.org/simple/openpyxl/)
Running setup.py egg_info for package openpyxl
C:\Python33\lib\distutils\dist.py:257: UserWarning: Unknown distribution option: 'tests_require'
warnings.warn(msg)
C:\Python33\lib\distutils\dist.py:257: UserWarning: Unknown distribution option: 'test_suite'
warnings.warn(msg)
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help
error: invalid command 'egg_info'
Complete output from command python setup.py egg_info:
C:\Python33\lib\distutils\dist.py:257: UserWarning: Unknown distribution option: 'tests_require'
warnings.warn(msg)
C:\Python33\lib\distutils\dist.py:257: UserWarning: Unknown distribution option: 'test_suite'
warnings.warn(msg)
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help
error: invalid command 'egg_info'
----------------------------------------
Cleaning up...
Removing temporary dir c:\users\odhinn\appdata\local\temp\pip-build-Odhinn...
Command python setup.py egg_info failed with error code 1 in c:\users\odhinn\appdata\local\temp\pip-build-Odhinn\openpyxl
Exception information:
Traceback (most recent call last):
File "C:\Python33\lib\site-packages\pip\basecommand.py", line 134, in main
status = self.run(options, args)
File "C:\Python33\lib\site-packages\pip\commands\install.py", line 236, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "C:\Python33\lib\site-packages\pip\req.py", line 1124, in prepare_files
req_to_install.run_egg_info()
File "C:\Python33\lib\site-packages\pip\req.py", line 257, in run_egg_info
command_desc='python setup.py egg_info')
File "C:\Python33\lib\site-packages\pip\util.py", line 670, in call_subprocess
% (command_desc, proc.returncode, cwd))
pip.exceptions.InstallationError: Command python setup.py egg_info failed with error code 1 in
ํ์ด์ฌ 2.6.5
/usr/local/lib/python2.6/dist-packages(python 2.6)์ pip 1.4.1
๋ฐฐํฌ == 0.7.3
์๋ฌ ๋ฉ์์ง:
์์ธ:
์ญ ์ถ์ (๊ฐ์ฅ ์ต๊ทผ ํธ์ถ ๋ง์ง๋ง) :
์ฃผ ํ์ผ "/usr/local/lib/python2.6/dist-packages/pip/basecommand.py", 134 ํ
์ํ = self.run (์ต์
, ์ธ์)
์คํ์ค์ธ "/usr/local/lib/python2.6/dist-packages/pip/commands/list.py"ํ์ผ, 80 ํ
self.run_listing (์ต์
)
run_listing์ "/usr/local/lib/python2.6/dist-packages/pip/commands/list.py", 127 ํ ํ์ผ
self.output_package_listing (์ค์น _ ํจํค์ง)
output_package_listing์์๋ "/usr/local/lib/python2.6/dist-packages/pip/commands/list.py"ํ์ผ, 136 ํ
dist_is_editable (dist) ์ธ ๊ฒฝ์ฐ :
dist_is_editable์ "/usr/local/lib/python2.6/dist-packages/pip/util.py", 347 ํ ํ์ผ
req = FrozenRequirement.from_dist (dist, [])
ํ์ผ "/usr/local/lib/python2.6/dist-packages/pip/ init .py", 194 ํ, from_dist
assert len โโ(specs) == 1 ๋ฐ specs [0] [0] == '=='
AssertionError
ํ์ง๋ง pip == 1.3.1์ ๊ด์ฐฎ์ต๋๋ค
๊ฐ์ ์ค๋ฅ๊ฐ ๋ฐ์ํ์ต๋๋ค.
root<strong i="6">@server</strong> ~ # pip list
distribute (0.6.14)
Fabric (1.7.0)
iotop (0.4)
MySQL-python (1.2.2)
paramiko (1.11.0)
PIL (1.1.7)
pip (1.4.1)
pycrypto (2.6)
python-memcached (1.45)
Exception:
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/pip/basecommand.py", line 134, in main
status = self.run(options, args)
File "/usr/local/lib/python2.6/dist-packages/pip/commands/list.py", line 80, in run
self.run_listing(options)
File "/usr/local/lib/python2.6/dist-packages/pip/commands/list.py", line 127, in run_listing
self.output_package_listing(installed_packages)
File "/usr/local/lib/python2.6/dist-packages/pip/commands/list.py", line 136, in output_package_listing
if dist_is_editable(dist):
File "/usr/local/lib/python2.6/dist-packages/pip/util.py", line 347, in dist_is_editable
req = FrozenRequirement.from_dist(dist, [])
File "/usr/local/lib/python2.6/dist-packages/pip/__init__.py", line 194, in from_dist
assert len(specs) == 1 and specs[0][0] == '=='
AssertionError
๋ฐฐํฌ๋ฅผ ์ ๊ทธ๋ ์ด๋ํ๋ ์ค์ ๋๋ค. ๊ฐ์ฌํฉ๋๋ค!
๊ฐ์ ๋ฌธ์ ๊ฐ ๋ฐ์ํ์ฌ ๋ฐฐํฌ ์ ๊ทธ๋ ์ด๋๋ ์ ์๊ฒ ํจ๊ณผ์ ์ด์์ต๋๋ค.
pip ์ค์น -U ๋ฐฐํฌ์ ๋ํ ๋ ๋ง์ thx
๊ฒฝํ ํ AssertionError
๊ฐ์ง pip list
, ์ ์ ๋ ์์ pip install -U distribute
๋ฉ์์ง์์ ์ค๋ฅ "setuptools์ DIST-์ ๋ณด ์ง์> = 0.8์ด ํ์ํฉ๋๋ค." ์๋ ์ฌ์ฉ ๋ฐ ๋ก๊ทธ. pip install -U setuptools
๊ฐ ์ ์ ํ ๊น์? ๋๋ pip์ ์์กด์ฑ ๊ด๋ฆฌ์ ๋ํ ๊ฒฝํ์ด ๋ง์ง ์๊ธฐ ๋๋ฌธ์ ์ง์ ์๋ํด ๋ณด๋ ๊ฒ์ด ๋๋ ต์ต๋๋ค. ๊ฐ์ฌ!
timrdf<strong i="10">@opendap</strong>:~/projects/opendap$ pip list
BeautifulSoup (3.2.1)
ckanclient (0.10)
distribute (0.6.10)
faqt (0.0.2)
html5lib (1.0b3)
isodate (0.4.9)
mod-python (3.3.1)
ordereddict (1.1)
pip (1.5)
pyparsing (1.5.7)
python-apt (0.7.94.2ubuntu6.4)
rdfextras (0.4)
rdflib (3.2.1)
sadi (0.1.5)
Exception:
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/pip-1.5-py2.6.egg/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/local/lib/python2.6/dist-packages/pip-1.5-py2.6.egg/pip/commands/list.py", line 80, in run
self.run_listing(options)
File "/usr/local/lib/python2.6/dist-packages/pip-1.5-py2.6.egg/pip/commands/list.py", line 142, in run_listing
self.output_package_listing(installed_packages)
File "/usr/local/lib/python2.6/dist-packages/pip-1.5-py2.6.egg/pip/commands/list.py", line 151, in output_package_listing
if dist_is_editable(dist):
File "/usr/local/lib/python2.6/dist-packages/pip-1.5-py2.6.egg/pip/util.py", line 347, in dist_is_editable
req = FrozenRequirement.from_dist(dist, [])
File "/usr/local/lib/python2.6/dist-packages/pip-1.5-py2.6.egg/pip/__init__.py", line 231, in from_dist
assert len(specs) == 1 and specs[0][0] == '=='
AssertionError
Storing debug log for failure in /home/timrdf/.pip/pip.log
timrdf<strong i="11">@opendap</strong>:~/projects/opendap$ sudo pip install -U distribute
Wheel installs require setuptools >= 0.8 for dist-info support.
pip's wheel support requires setuptools >= 0.8 for dist-info support.
Storing debug log for failure in /home/timrdf/.pip/pip.log
timrdf<strong i="12">@opendap</strong>:~/projects/opendap$ cat /home/timrdf/.pip/pip.log
------------------------------------------------------------
/usr/local/bin/pip run on Tue Jan 21 17:10:05 2014
Wheel installs require setuptools >= 0.8 for dist-info support.
pip's wheel support requires setuptools >= 0.8 for dist-info support.
Exception information:
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/pip-1.5-py2.6.egg/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/local/lib/python2.6/dist-packages/pip-1.5-py2.6.egg/pip/commands/install.py", line 230, in run
finder = self._build_package_finder(options, index_urls, session)
File "/usr/local/lib/python2.6/dist-packages/pip-1.5-py2.6.egg/pip/commands/install.py", line 185, in _build_package_finder
session=session,
File "/usr/local/lib/python2.6/dist-packages/pip-1.5-py2.6.egg/pip/index.py", line 50, in __init__
self.use_wheel = use_wheel
File "/usr/local/lib/python2.6/dist-packages/pip-1.5-py2.6.egg/pip/index.py", line 89, in use_wheel
raise InstallationError("pip's wheel support requires setuptools >= 0.8 for dist-info support.")
InstallationError: pip's wheel support requires setuptools >= 0.8 for dist-info support.
pip list
๋ฅผ ์คํํ์ฌ pip (1.4.1) ํจํค์ง ๋ฒ์ ์ผ๋ก ์ต์ Linux Mint (16)์์์ด ๋ฌธ์ ๋ฅผ ํด๊ฒฐํ์ญ์์ค. ์ด ๋ฌธ์ ๋ ์๋นํ ์ค๋๋ ๊ฒ์ผ๋ก ๋ณด์ด๋ฉฐ ํด๊ฒฐํ๋ ค๋ ์๋๊ฐ์๋ ๊ฒ ๊ฐ์ต๋๋ค. ์ด ์ฌ๋ฐ๋ฅธ์ง? ๊ทธ๋ ๋ค๋ฉด ์ฌ์ ์๊ฐ์ด ์์ผ๋ฉด ๊ท ์ด์ด ์๊ธธ ์ ์์ต๋๋ค.
๋๋ ๋ํ pip == 1.5.4๋ฅผ ์ฌ์ฉํ์ฌ Lubuntu (14.04 LTS)์์ ์ด๊ฒ์ ์คํํ์ต๋๋ค. ๊ทธ๋ฌ๋ ๋ฐฐํฌ ์ ๊ทธ๋ ์ด๋๋ ๋๋ฅผ ์ํด ์ผํ์ต๋๋ค!
@jetheurer ๋ฒ๊ทธ๊ฐ ๋ฐ์ํ์ ๋ ์ฌ์ฉํ๊ณ ์๋ ๋ฐฐํฌ ๋ฒ์ ์
์ด๊ฒ์ http://packages.ubuntu.com/trusty/python-setuptools ๋ฅผ ์ฌ์ฉํด์ผํ๋ ์ต์ setuptools ํจํค์ง ์ฌ์ผํ๋ฉฐ, ์ค์ค๋ก ๋ถ๋ฐฐ๋ฅผ ํธ์ถํ๋ ๊ฒ์ ์๋ฌด๊ฒ๋ ์์ต๋๋ค (distribute๋ ์ด์ setuptools๋ก ๋์ฒด๋์์ต๋๋ค).
@Ivoz ์ ๋ ํ์ฌ Python 2.7.6์ ์ฌ์ฉํ์ฌ distribution == 0.7.3์ ์ฌ์ฉํ๊ณ ์์ต๋๋ค. setuptools == 0.6c11๋ ์ค์น๋ ๊ฒ ๊ฐ์ต๋๋ค.
@jetheurer 14.04๋ฅผ ์ฌ์ฉํ๋ ๋์ ์ด๋ป๊ฒ ๊ทธ๋ฐ ์ค๋๋ ๋ฒ์ ์ ์ป์๋์ง ์ ๋ชจ๋ฅด๊ฒ ์ต๋๋ค. ์ด์ ๋ฒ์ ์ผ๋ก ์ธํด ์ค๋ฅ๊ฐ ๋ฐ์ํ ์ ์์ต๋๋ค. Trusty๋ ์ผ๋ฐ์ ์ผ๋ก setuptools 3.3 ์ด์ด์ผํฉ๋๋ค.
Distribute๋ ์ผ๋ง ์ ์ setuptools์ ๋ณํฉ๋์์ต๋๋ค. ๋ฐ๋ผ์ ์ผ๋ฐ์ ์ผ๋ก ์ต์ ๋ฒ์ ์ setuptools๋ฅผ ์ฌ์ฉํ๊ธฐ๋ฅผ ์ํฉ๋๋ค (๋ฒ์ 1.0 ์ด์์ ๊ฑฐ์ ๋ชจ๋ ๊ฒ์ด ์๋ํฉ๋๋ค!). ์ต์ ๋ฒ์ ์ ์ฌ๊ธฐ์์ ๋ณผ ์
๋ชจ๋ ๋ฐฐํฌ / ์ค์น ๋๊ตฌ๋ฅผ ์ ๊ฑฐ (๋ค์ ํ์ธ!) ํ ๋ค์ ์ ๋ฒ์ ์ ๋ค์ ์ค์นํ๋ ๊ฒ์ด ์ ๊ฐ ์ ์ํ๋ ์กฐ์น์ ๋๋ค.
๋ด๊ฐ ์ค์น ํ pip
์ sudo apt-get install python-pip
๊ทธ๋ฌ๋ ์ฌ์ง์ด ์ต๊ทผ์ pip
, distribute
๋ฐ setuptools
๋๋ ์์ง๋ํ๋ค AssertionError
Ubuntu 14.10์์ pip list
๋๋ pip freeze
์ฌ์ฉ์ pip list
. sudo apt-get install python-pip
๋ช
๋ น python-colorama
, python-distlib
, python-html5lib
, python-requests
๋ฐ python-wheel
. ์ด ๋ชจ๋ ์ค ์ผ๋ถ๊ฐ AssertionError
์ ๊ณตํ๋ค๊ณ ์๊ฐํ๋ฏ๋ก pip
์ผ๋ก ๋ชจ๋ ์ข
์์ฑ์ด์๋ sudo apt-get remove --auto-remove python-pip
๋ฅผ ์ ๊ฑฐํ ๋ค์ pip
sudo easy_install pip
์ด ๋ฐฉ๋ฒ ๋ง์ด ์ ์๊ฒ ํจ๊ณผ์ ์
๋๋ค.
@arktrin ์ ์๊ฒฌ์ ๋ฐ๋ฅด๊ณ ์ด๊ฒ์ ํด๊ฒฐ๋์์ต๋๋ค.
์๋๋ ๋ก๊ทธ์
๋๋ค.
~@cherry-com(7875)$ pip list
adium-theme-ubuntu (0.3.4)
apt-xapian-index (0.45)
argparse (1.2.1)
boto (2.38.0)
bz2file (0.98)
chardet (2.3.0)
colorama (0.2.5)
command-not-found (0.3)
....................................
pyserial (2.6)
pysmbc (1.0.14.1)
Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/list.py", line 80, in run
self.run_listing(options)
File "/usr/lib/python2.7/dist-packages/pip/commands/list.py", line 142, in run_listing
self.output_package_listing(installed_packages)
File "/usr/lib/python2.7/dist-packages/pip/commands/list.py", line 151, in output_package_listing
if dist_is_editable(dist):
File "/usr/lib/python2.7/dist-packages/pip/util.py", line 348, in dist_is_editable
req = FrozenRequirement.from_dist(dist, [])
File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 236, in from_dist
assert len(specs) == 1 and specs[0][0] == '=='
AssertionError
Storing debug log for failure in /home/cherry/.pip/pip.log
~@cherry-com(7878)$ sudo apt-get remove --auto-remove python-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
python-colorama python-distlib python-html5lib python-pip
0 upgraded, 0 newly installed, 4 to remove and 207 not upgraded.
After this operation, 1,682 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 223180 files and directories currently installed.)
Removing python-pip (1.5.4-1) ...
Removing python-colorama (0.2.5-0.1ubuntu1) ...
Removing python-distlib (0.1.8-1) ...
Removing python-html5lib (0.999-2) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
~@cherry-com(7879)$ sudo easy_install pip
Searching for pip
Reading https://pypi.python.org/simple/pip/
Best match: pip 6.1.1
Downloading https://pypi.python.org/packages/source/p/pip/pip-6.1.1.tar.gz#md5=6b19e0a934d982a5a4b798e957cb6d45
Processing pip-6.1.1.tar.gz
Writing /tmp/easy_install-MTjyCd/pip-6.1.1/setup.cfg
Running pip-6.1.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-MTjyCd/pip-6.1.1/egg-dist-tmp-1x05jK
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching '.mailmap'
warning: no previously-included files found matching '.travis.yml'
warning: no previously-included files found matching 'pip/_vendor/Makefile'
warning: no previously-included files found matching 'tox.ini'
warning: no previously-included files found matching 'dev-requirements.txt'
no previously-included directories found matching '.travis'
no previously-included directories found matching 'docs/_build'
no previously-included directories found matching 'contrib'
no previously-included directories found matching 'tasks'
no previously-included directories found matching 'tests'
creating /usr/local/lib/python2.7/dist-packages/pip-6.1.1-py2.7.egg
Extracting pip-6.1.1-py2.7.egg to /usr/local/lib/python2.7/dist-packages
Adding pip 6.1.1 to easy-install.pth file
Installing pip script to /usr/local/bin
Installing pip2.7 script to /usr/local/bin
Installing pip2 script to /usr/local/bin
Installed /usr/local/lib/python2.7/dist-packages/pip-6.1.1-py2.7.egg
Processing dependencies for pip
Finished processing dependencies for pip
~@cherry-com(7880)$ pip freeze
-bash: /usr/bin/pip: No such file or directory
~@cherry-com(7884)$ /usr/local/bin/pip freeze
/usr/local/lib/python2.7/dist-packages/pip-6.1.1-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:79: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
adium-theme-ubuntu==0.3.4
apt-xapian-index==0.45
boto==2.38.0
bz2file==0.98
chardet==2.3.0
..............................
Twisted-Web==13.2.0
unity-lens-photos==1.0
urllib3==1.7.1
Werkzeug==0.10.4
xdiagnose===3.6.3build2
zope.interface==4.0.5
~@cherry-com(7885)$
๋ฌธ์ ๋ ์ฌ์ ํ _Ubuntu 15.04, pip 1.5.6, distribution-0.7.3_์ ์์ต๋๋ค ( 'pip'๋๋ 'distribute'์ pip ์ ๊ทธ๋ ์ด๋๋ Ubuntu์ ํ์ ๋ ๊ฒ์ผ๋ก ๋ณด์ด๋ฏ๋ก ์๋ํ์ง ์์ต๋๋ค. ์๋ ์ฐธ์กฐ)
sudo apt-get remove --auto-remove python-pip
wget https://bootstrap.pypa.io/get-pip.py
sudo python get-pip.py
sudo ln -s /usr/local/bin/pip /usr/bin/pip
๋๋!
๋ฌธ์ ๋ก๊ทธ :
$ sudo pip install -U pip
Downloading/unpacking pip from https://pypi.python.org/packages/py2.py3/p/pip/pip-6.1.1-py2.py3-none-any.whl#md5=172eb5abab25a5e0f7a7b63c7a49378d
Downloading pip-6.1.1-py2.py3-none-any.whl (1.1MB): 1.1MB downloaded
Installing collected packages: pip
Found existing installation: pip 1.5.6
Not uninstalling pip at /usr/lib/python2.7/dist-packages, owned by OS
Successfully installed pip
Cleaning up...
$ pip install --upgrade distribute
Downloading/unpacking distribute
Downloading distribute-0.7.3.zip (145kB): 145kB downloaded
Running setup.py (path:/tmp/pip-build-ZpdlMd/distribute/setup.py) egg_info for package distribute
Downloading/unpacking setuptools>=0.7 (from distribute)
Downloading setuptools-16.0-py2.py3-none-any.whl (461kB): 461kB downloaded
Installing collected packages: setuptools, distribute
Running setup.py install for distribute
Successfully installed setuptools distribute
Cleaning up...
$ pip list
aniso8601 (0.92)
...
Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/list.py", line 80, in run
self.run_listing(options)
File "/usr/lib/python2.7/dist-packages/pip/commands/list.py", line 142, in run_listing
self.output_package_listing(installed_packages)
File "/usr/lib/python2.7/dist-packages/pip/commands/list.py", line 151, in output_package_listing
if dist_is_editable(dist):
File "/usr/lib/python2.7/dist-packages/pip/util.py", line 367, in dist_is_editable
req = FrozenRequirement.from_dist(dist, [])
File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 299, in from_dist
assert len(specs) == 1 and specs[0][0] == '=='
AssertionError
Storing debug log for failure in /home/user/.pip/pip.log
@UzLA ๊ฐ์ฌํฉ๋๋ค! ์ด๊ฒ์ Kubuntu 15.04์์๋ ์ ์๊ฒ ํจ๊ณผ์ ์ ๋๋ค. ๋๋ ์ด๊ฒ์ ์ํด ์๊ธ ์ํ ๋ฅผ ๋ง๋ค์์ต๋๋ค.
@UzLA +1. ์ฐ๋ถํฌ ํจํค์ง๋ฅผ ์ ๊ฑฐํ ํ ๊ณต์ ์ค์น ํ๋ก๊ทธ๋จ์ ๋ค์ด๋ก๋ํ๋ ๋์ easy_install์ ์ฌ์ฉํ์ง๋ง ๋์ผํ ํจ๊ณผ๋ฅผ ์ป์์ต๋๋ค. :)
@UzLA ๊ฐ์ฌํฉ๋๋ค. Lubuntu 15.04 / pip 7.1.0 / python 2.7.9์์๋ ์ ์๊ฒ ํธ๋ฆญ์ ์ ๊ณตํ์ต๋๋ค.
@UzLA , ์ด๊ฒ์ด ๋๋ฅผ ์ํด ์ผํ๋์ง ํ์ธํ๊ณ ์ถ์ต๋๋ค. ๊ฐ์ฌํฉ๋๋ค.
์ด ๋ฌธ์ ๋ ์ค๋๋ pip ๋ฒ์ ๊ณผ ๊ฒฐํฉ ๋ ๊ตฌ์ ๋ฐฐํฌ์์ ๋น๋กฏ๋ ๊ฒ ๊ฐ์ต๋๋ค.
ํ์คํ ๋ซ์ ์ ์์ต๋๋ค.
๋ํ AssertionError๋ ์ด์ ๋ฌธ์ ๋ฅผ ์ผ์ผํค๋ dist (https://github.com/pypa/pip/blob/develop/pip/__init__.py#L262-L264)๋ฅผ ์ธ์ํ๋ฏ๋ก ์ต์ ๋ฒ์ ์์ ๋ ๋ช
ํ ํด์ก์ต๋๋ค.
# 1346๊ณผ ๊ด๋ จ์ด ์์ต๋๋ค.
FWIW : ๋ก์ปฌ์ ์ค์น๋ pip pip 1.5.6 from /usr/lib/python2.7/dist-packages (python 2.7)
๋ฅผ ํจ์นํ์ฌ ๋ฌธ์ ๊ฐ๋๋ dist๋ฅผ ๋ณด์ฌ์ฃผ์์ต๋๋ค.
Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/list.py", line 80, in run
self.run_listing(options)
File "/usr/lib/python2.7/dist-packages/pip/commands/list.py", line 142, in run_listing
self.output_package_listing(installed_packages)
File "/usr/lib/python2.7/dist-packages/pip/commands/list.py", line 151, in output_package_listing
if dist_is_editable(dist):
File "/usr/lib/python2.7/dist-packages/pip/util.py", line 367, in dist_is_editable
req = FrozenRequirement.from_dist(dist, [])
File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 299, in from_dist
assert len(specs) == 1 and specs[0][0] == '==', (dist, req, specs)
AssertionError: (python-apt 0.9.3.11build1 (/usr/lib/python2.7/dist-packages), Requirement.parse('python-apt===0.9.3.11build1'), [('===', '0.9.3.11build1')])
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1489443
@arktrin ์ ๋ฐฉ๋ฒ์ Ubuntu 15.04์์ ๋๋ฅผ ์ํด ์๋ํฉ๋๋ค.
@arktrin ์ ๋ฐฉ๋ฒ์ ์ ์๊ฒ๋ ํจ๊ณผ์ ์ ๋๋ค.
apt-get์ ํตํ pip install์ ์์ฃผ ์ค๋๋ ๋ฒ์ ์ ์ค์นํฉ๋๋ค. easy_install์ ์ฌ์ฉํ์ฌ ์ต์ ๋ฒ์ ์ pip๋ฅผ ์ค์นํ๋ฉด์ด ์ค๋ฅ๊ฐ ๋ฐ์ํ์ง ์์ต๋๋ค.
sudo easy_install pip
๋ด pip ๋ฒ์ ์ 1.5.4์์ 7.1.2๋ก ์
๋ฐ์ดํธํ์ผ๋ฉฐ ์ด์ pip๊ฐ ์ ์๋ํฉ๋๋ค ..
setuptools sudo pip install setuptools==7.0
๋ ์
๋ฐ์ดํธ ํ ์ ์์ต๋๋ค.
์ด๊ฒ์ ๋๋ฅผ ์ํด ์ผํ๋ค
@kumardadi๋ ์ ๋ฅผ ์ํด ์ผํ์ต๋๋ค.
pip ํจํค์ง ๊ด๋ฆฌ์๋ ์ค์ ๋ก Ubuntu ๋ฐ Debian ํจํค์ง ์ ์ฅ์์ ์ต์ ๋ฒ์ ์ ๊ฐ์ ธ์์ผํฉ๋๋ค.
์ฐ๋ฆฌ๋ ์ฐ๋ถํฌ์ ๋ฐ๋น์์ pip ๋ฒ์ ์ ํต์ ํ ์ ์์ต๋๋ค. ํด๋น ๋ฆฌํฌ์งํ ๋ฆฌ์์ ์ต์ ๋ฒ์ ์ ์ํ๋ฉด Ubuntu ๋ฐ Debian์ ์ฐ๋ฝํ์ฌ ์์ฒญํด์ผํฉ๋๋ค.
@dstufft ์ฐ๋ฝํ๋ ๋ฐ ์ฌ์ฉํ ์์๋ ๋งํฌ ๋ ๋ฉ์ผ ๋ง๋ฆฌ์คํธ๊ฐ ์์ต๋๊น?
https://lists.debian.org/debian-python/ ๋ฉ์ผ ๋ง๋ฆฌ์คํธ์ด์ง๋ง ์ค์ ๋ก ์ด๋ฏธ ์ถ์ ๋ Debian / Ubuntu ๋ฒ์ ์ ์ ๊ทธ๋ ์ด๋ ํ ๊ฒ์ด๋ผ๊ณ ์๊ฐํ์ง๋ ์์ต๋๋ค. ๋ถํํ๋ ์ฐ๋ฆฌ๊ฐ ํ ์์๋ ์ผ์ ๋ง์ง ์์ต๋๋ค.
pip ์ ๊ทธ๋ ์ด๋์ ๋ํ ์ค๊ฐ ์ฐ์ ์์ ๋ฒ๊ทธ ๋ณด๊ณ ์๊ฐ Ubuntu์ ๋ฐ์น ํจ๋ ( https://bugs.launchpad.net/pip/+bug/1445947)์ ์ ์ถ๋์์ต๋๋ค.
๋ฒ๊ทธ๋ 2015-04-19์ ๊ฒ์๋์์ง๋ง ์์ง ํ ๋น๋์ง ์์์ต๋๋ค. ์ด์ด ์ข์ผ๋ฉด Ubuntu 16.04์์ ์ป์ ์ ์์ต๋๋ค.
๋ค์๊ณผ ๊ฐ์ ์ค๋ฅ๊ฐ ๋ฐ์ํ์ต๋๋ค.
Exception:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/pip-7.1.2-py2.7.egg/pip/basecommand.py", line 211, in main
status = self.run(options, args)
File "/usr/local/lib/python2.7/dist-packages/pip-7.1.2-py2.7.egg/pip/commands/install.py", line 311, in run
root=options.root_path,
File "/usr/local/lib/python2.7/dist-packages/pip-7.1.2-py2.7.egg/pip/req/req_set.py", line 646, in install
**kwargs
File "/usr/local/lib/python2.7/dist-packages/pip-7.1.2-py2.7.egg/pip/req/req_install.py", line 803, in install
self.move_wheel_files(self.source_dir, root=root)
File "/usr/local/lib/python2.7/dist-packages/pip-7.1.2-py2.7.egg/pip/req/req_install.py", line 998, in move_wheel_files
isolated=self.isolated,
File "/usr/local/lib/python2.7/dist-packages/pip-7.1.2-py2.7.egg/pip/wheel.py", line 339, in move_wheel_files
clobber(source, lib_dir, True)
File "/usr/local/lib/python2.7/dist-packages/pip-7.1.2-py2.7.egg/pip/wheel.py", line 310, in clobber
ensure_dir(destdir)
File "/usr/local/lib/python2.7/dist-packages/pip-7.1.2-py2.7.egg/pip/utils/__init__.py", line 71, in ensure_dir
os.makedirs(path)
File "/usr/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/urllib3-1.12.dist-info'
๋ค์์ ๋ฌด์์ํ ์ง?
ํํ
๋ค์๊ณผ ๊ฐ์ ์ค๋ฅ๊ฐ ๋ฐ์ํ์ต๋๋ค.
๋ฌด์์ํ๊ณ ์์ต๋๊น?
์ด ๋ฌธ์ ์ ์ ํ ๊ด๋ จ์ด์๋ ๊ฒ ๊ฐ์ต๋๋ค. ์ ๋ฌธ์ ๋ฅผ์ฌ์๊ฒ ์ต๋๊น?
๊ทธ๋ฌ๋ ์ด๊ฒ์ ๋จ์ํ ๊ถํ ๋ฌธ์ ์ฒ๋ผ ๋ณด์
๋๋ค. --user
๋๋ sudo
๋ฅผ ์ฌ์ฉํด์ผํ ๊น์?
'sudo pip list'์คํ
๋ฃจํธ ์ฌ์ฉ์๋ก ๋ช
๋ น์ ์คํํ์ง ์์์ผ๋ฏ๋ก ๊ถํ์ด ๊ฑฐ๋ถ๋์์ต๋๋ค.
๋ณด๋ธ ์ฌ๋ : shruti927mailto : [email protected]
๋ณด๋ธ ๋ ์ง : 03- 12- 2015 01:49
๋ฐ๋ ์ฌ๋ : pypa / pipmailto : [email protected]
์ฐธ์กฐ : kumardadimailto : [email protected]
์ ๋ชฉ : Re : [pip] pip ๋ชฉ๋ก์ด์๋ ์ด์ค ์
์ค๋ฅ (# 1093)
๋ค์๊ณผ ๊ฐ์ ์ค๋ฅ๊ฐ ๋ฐ์ํ์ต๋๋ค.
์ญ ์ถ์ (๊ฐ์ฅ ์ต๊ทผ ํธ์ถ ๋ง์ง๋ง) :
์ฃผ ํ์ผ "/usr/local/lib/python2.7/dist-packages/pip-7.1.2-py2.7.egg/pip/basecommand.py", 211 ํ
์ํ = self.run (์ต์
, ์ธ์)
์คํ์ค์ธ ํ์ผ "/usr/local/lib/python2.7/dist-packages/pip-7.1.2-py2.7.egg/pip/commands/install.py", 311 ํ
root = options.root_path,
ํ์ผ "/usr/local/lib/python2.7/dist-packages/pip-7.1.2-py2.7.egg/pip/req/req_set.py", 646 ํ, ์ค์น์
Kwargsํ์ผ "/usr/local/lib/python2.7/dist-packages/pip-7.1.2-py2.7.egg/pip/req/req_install.py", 803 ํ, ์ค์น์self.move_wheel_files (self.source_dir, root = root)move_wheel_files์ "/usr/local/lib/python2.7/dist-packages/pip-7.1.2-py2.7.egg/pip/req/req_install.py", 998 ํ ํ์ผisolated = self.isolated,move_wheel_files์ "/usr/local/lib/python2.7/dist-packages/pip-7.1.2-py2.7.egg/pip/wheel.py", 339 ํ ํ์ผclobber (์์ค, lib_dir, True)ํ์ผ "/usr/local/lib/python2.7/dist-packages/pip-7.1.2-py2.7.egg/pip/wheel.py", 310 ํ, clobberensure_dir (destdir)"/usr/local/lib/python2.7/dist-packages/pip-7.1.2-py2.7.egg/pip/utils/init**.py"ํ์ผ
os.makedirs (๊ฒฝ๋ก)
makedirs์ ํ์ผ "/usr/lib/python2.7/os.py", 157 ํ
mkdir (์ด๋ฆ, ๋ชจ๋)
OSError : [Errno 13] ๊ถํ ๊ฑฐ๋ถ : '/usr/local/lib/python2.7/dist-packages/urllib3-1.12.dist-info'
๋ค์์ ๋ฌด์์ํ ์ง?
์ด ์ด๋ฉ์ผ์ ์ง์ ๋ต์ฅํ๊ฑฐ๋ GitHub์์ ํ์ธํ์ธ์.
https://github.com/pypa/pip/issues/1093#issuecomment -161421612
@kumardadi ๋น์ ์ด ๋งํ ๋ช ๋ น์ ์คํํ๋ ค๊ณ ์๋ํ ๋ค์์ด ์ค๋ฅ๊ฐ ๋ฐ์ํ์ต๋๋ค.
'/home/shrutika/.cache/pip/http'๋๋ ํ ๋ฆฌ ๋๋ ์์ ๋๋ ํ ๋ฆฌ๋ ํ์ฌ ์ฌ์ฉ์๊ฐ ์์ ํ์ง ์์ผ๋ฉฐ ์บ์๊ฐ ๋นํ์ฑํ๋์์ต๋๋ค. ํด๋น ๋๋ ํ ๋ฆฌ์ ๊ถํ ๋ฐ ์์ ์๋ฅผ ํ์ธํ์ญ์์ค. sudo๋ก pip๋ฅผ ์คํํ๋ ๊ฒฝ์ฐ sudo์ -H ํ๋๊ทธ๊ฐ ํ์ํ ์ ์์ต๋๋ค.
sudo์ -H ํ๋๊ทธ๋ ๋ฌด์์ด๋ฉฐ ๋ค์์ ๋ฌด์์ํด์ผํฉ๋๊น?
'sudo -H pip list'๋ฅผ ์คํํ๋ฉด ํด๊ฒฐ๋ฉ๋๋ค.
-H๋ ์บ์ ๊ถํ์ ์ฌ์ ์ํ๊ธฐ์ํ ๊ฒ์
๋๋ค.
๋ณด๋ธ ์ฌ๋ : shruti927mailto : [email protected]
๋ณด๋ธ ๋ ์ง : 03- 12- 2015 10:16
๋ฐ๋ ์ฌ๋ : pypa / pipmailto : [email protected]
์ฐธ์กฐ : kumardadimailto : [email protected]
์ ๋ชฉ : Re : [pip] pip ๋ชฉ๋ก์ด์๋ ์ด์ค ์
์ค๋ฅ (# 1093)
@kumardadi ๋น์ ์ด ๋งํ ๋ช ๋ น์ ์คํํ๋ ค๊ณ ์๋ํ ๋ค์์ด ์ค๋ฅ๊ฐ ๋ฐ์ํ์ต๋๋ค.
'/home/shrutika/.cache/pip/http'๋๋ ํ ๋ฆฌ ๋๋ ์์ ๋๋ ํ ๋ฆฌ๋ ํ์ฌ ์ฌ์ฉ์๊ฐ ์์ ํ์ง ์์ผ๋ฉฐ ์บ์๊ฐ ๋นํ์ฑํ๋์์ต๋๋ค. ํด๋น ๋๋ ํ ๋ฆฌ์ ๊ถํ ๋ฐ ์์ ์๋ฅผ ํ์ธํ์ญ์์ค. sudo๋ก pip๋ฅผ ์คํํ๋ ๊ฒฝ์ฐ sudo์ -H ํ๋๊ทธ๊ฐ ํ์ํ ์ ์์ต๋๋ค.
sudo์ -H ํ๋๊ทธ๋ ๋ฌด์์ด๋ฉฐ ๋ค์์ ๋ฌด์์ํด์ผํฉ๋๊น?
์ด ์ด๋ฉ์ผ์ ์ง์ ๋ต์ฅํ๊ฑฐ๋ GitHub์์ ํ์ธํ์ธ์.
https://github.com/pypa/pip/issues/1093#issuecomment -161513113
@kumardadi ๋๋ ์ฌ์ ํ ์ด๊ฒ์ ์ป๊ณ ์๋ค :
/usr/local/lib/python2.7/dist-packages/pip-7.1.2-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90 : InsecurePlatformWarning : ์ง์ ํ SSLContext ๊ฐ์ฒด๋ฅผ ์ฌ์ฉํ ์ ์์ต๋๋ค. ์ด๋ ๊ฒํ๋ฉด urllib3์ด SSL์ ์ ์ ํ๊ฒ ๊ตฌ์ฑํ์ง ๋ชปํ๋ฉฐ ํน์ SSL ์ฐ๊ฒฐ์ด ์คํจ ํ ์ ์์ต๋๋ค. ์์ธํ ๋ด์ฉ์ https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning์ ์ฐธ์กฐ
InsecurePlatformWarning
@ shruti927 ์ด๋ค ๋ฒ์ ์ pip๋ฅผ ์ฌ์ฉํ๊ณ ์์ต๋๊น?
pip-7.1.2 ๋ฐ python 2.7.6
๊ฐ์ฌํฉ๋๋ค, @UzLA , ๊ทํ์ ์๋ฃจ์ ์ด ์ ์๊ฒ ํจ๊ณผ์ ์ ๋๋ค!
@UzLA ๊ฐ์ฌํฉ๋๋ค.
์ข์.
freebsd์์์ด ๋ฌธ์ ๋ฅผ ํด๊ฒฐํ๋ ๋ฐ ์ด๋ป๊ฒ ๋์์ด ๋ ์ ์์ต๋๊น? ๋ด๊ฐ ๋ญ ์๋ชปํ๊ณ ์์ต๋๊น?
๋น์ ์ด ๋๋ฅผ ๋์ธ ์ ์๊ธฐ๋ฅผ ๋ฐ๋๋๋ค. ๋์์ฃผ์ธ์
root<strong i="7">@SickRage</strong>:~ # service sickrage start
sickrage_user: _sabnzbd -> _sabnzbd
sickrage_group: _sabnzbd -> _sabnzbd
sickrage_enable: YES -> YES
sickrage_user: _sabnzbd -> _sabnzbd
sickrage_group: _sabnzbd -> _sabnzbd
sickrage_enable: YES -> YES
Starting sickrage.
Traceback (most recent call last):
File "/usr/local/sickrage/sickrage/__init__.py", line 208, in main
from sickrage import core
File "/usr/local/sickrage/sickrage/core/__init__.py", line 34, in <module>
from apscheduler.schedulers.tornado import TornadoScheduler
ImportError: No module named apscheduler.schedulers.tornado
Failed to import required libs, please run 'pip install -r /usr/local/sickrage/requirements.txt' from console
@gillymoreno ๋ฌธ์ ๋ฅผ ์ ๊ณ ํ๊ธฐ์ ์๋ชป๋ ์ฅ์ ์ธ ๊ฒ ๊ฐ์ต๋๋ค. sickrage
๊ฐ๋ฐ์์๊ฒ ์ง์ ํ์ธํด์ผํฉ๋๋ค.
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
๋ฌธ์ ๋ ์ฌ์ ํ _Ubuntu 15.04, pip 1.5.6, distribution-0.7.3_์ ์์ต๋๋ค ( 'pip'๋๋ 'distribute'์ pip ์ ๊ทธ๋ ์ด๋๋ Ubuntu์ ํ์ ๋ ๊ฒ์ผ๋ก ๋ณด์ด๋ฏ๋ก ์๋ํ์ง ์์ต๋๋ค. ์๋ ์ฐธ์กฐ)
์์ :
sudo apt-get remove --auto-remove python-pip
wget https://bootstrap.pypa.io/get-pip.py
sudo python get-pip.py
sudo ln -s /usr/local/bin/pip /usr/bin/pip
๋๋!
๋ฌธ์ ๋ก๊ทธ :