1
我使用的是虛擬環境中的蟒蛇內project.I可以很容易地安裝Django在it.Initially當我輸入「點子凍結」命令,則這是結果 -我無法在Django項目的虛擬環境中安裝django-allauth?
Django==1.8
wheel==0.24.0
現在,當我安裝的Django allauth使用PIP那麼這些錯誤扔了 -
File "/home/user/project/env/local/lib/python2.7/site-packages/pip/req/req_install.py", line 256, in link
self._link = self._wheel_cache.cached_wheel(link, self.name)
File "/home/user/project/env/local/lib/python2.7/site-packages/pip/wheel.py", line 63, in cached_wheel
self._cache_dir, link, self._format_control, package_name)
File "/home/user/project/env/local/lib/python2.7/site-packages/pip/wheel.py", line 124, in cached_wheel
wheel_names = os.listdir(root)
OSError: [Errno 13] Permission denied: '/home/user/.cache/pip/wheels/8e/2c/02/5f7eb1a476cd75481801f52a0770262ed00573f48d830a4713'
我猜它是與我創建的虛擬環境,但我不知道如何解決它裏面傳來預裝輪包。
您是否有效激活了您的環境? – Filly
@Filly - 是的,我激活了環境。事實上我也安裝了Django。 – akg