1
アンは1.10とUbuntu 16.04乾草はDjango 1.10と互換性がありませんか?
を使用しても、なぜそれができない をDjangoのはなぜ馴染みがあるなら、私に通知してください1.10`
Collecting django-haystack
Using cached django_haystack-2.5.0-py2-none-any.whl
Collecting Django<1.10 (from django-haystack)
Using cached Django-1.9.9-py2.py3-none-any.whl
Installing collected packages: Django, django-haystack
Found existing installation: Django 1.10
Uninstalling Django-1.10:
Exception:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/pip-8.1.2-py2.7.egg/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/usr/local/lib/python2.7/dist-packages/pip-8.1.2-py2.7.egg/pip/commands/install.py", line 317, in run
prefix=options.prefix_path,
File "/usr/local/lib/python2.7/dist-packages/pip-8.1.2-py2.7.egg/pip/req/req_set.py", line 736, in install
requirement.uninstall(auto_confirm=True)
File "/usr/local/lib/python2.7/dist-packages/pip-8.1.2-py2.7.egg/pip/req/req_install.py", line 742, in uninstall
paths_to_remove.remove(auto_confirm)
File "/usr/local/lib/python2.7/dist-packages/pip-8.1.2-py2.7.egg/pip/req/req_uninstall.py", line 115, in remove
renames(path, new_path)
File "/usr/local/lib/python2.7/dist-packages/pip-8.1.2-py2.7.egg/pip/utils/__init__.py", line 267, in renames
shutil.move(old, new)
File "/usr/lib/python2.7/shutil.py", line 303, in move
os.unlink(src)
OSError: [Errno 13] Permission denied: '/usr/local/bin/django-admin'
== DjangoのバージョンでPIPを使用してジャンゴ - 干し草のインストール中にそのような問題もここで質問してくださいありがとう
はいをインストールする
sudo
を使用する必要があり、それはジャンゴ1,10をアンインストールし、1.9.9 –'が見つかり既存のインストールインストール:Djangoの1.10 アンジャンゴ-1.10:正常にアンインストールジャンゴ-1.10 が正常にDjangoにインストール を-1.9.9 django-haystack-2.5.0 ' –
はvirtualenvへのインストールを使用していますか? – diek