はじめまして、python初心者の者なんですが、pythonのpipをインストールした際に、下記のエラーが発生し、インストールできません。よろしければ、解決策わかる方はご教授いただけますと幸いです。
よろしくお願いいたします。
lang
% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 1388k 100 1388k 0 0 327k 0 0:00:04 0:00:04 --:--:-- 583k Collecting pip /var/folders/lc/yxqk0hpx67159xmlkdj27qqh0000gn/T/tmphCYUWX/pip.zip/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: 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. Using cached pip-7.0.1-py2.py3-none-any.whl Collecting wheel Using cached wheel-0.24.0-py2.py3-none-any.whl Installing collected packages: pip, wheel Exception: Traceback (most recent call last): File "/var/folders/lc/yxqk0hpx67159xmlkdj27qqh0000gn/T/tmphCYUWX/pip.zip/pip/basecommand.py", line 223, in main status = self.run(options, args) File "/var/folders/lc/yxqk0hpx67159xmlkdj27qqh0000gn/T/tmphCYUWX/pip.zip/pip/commands/install.py", line 297, in run root=options.root_path, File "/var/folders/lc/yxqk0hpx67159xmlkdj27qqh0000gn/T/tmphCYUWX/pip.zip/pip/req/req_set.py", line 622, in install **kwargs File "/var/folders/lc/yxqk0hpx67159xmlkdj27qqh0000gn/T/tmphCYUWX/pip.zip/pip/req/req_install.py", line 808, in install self.move_wheel_files(self.source_dir, root=root) File "/var/folders/lc/yxqk0hpx67159xmlkdj27qqh0000gn/T/tmphCYUWX/pip.zip/pip/req/req_install.py", line 1003, in move_wheel_files isolated=self.isolated, File "/var/folders/lc/yxqk0hpx67159xmlkdj27qqh0000gn/T/tmphCYUWX/pip.zip/pip/wheel.py", line 338, in move_wheel_files clobber(source, lib_dir, True) File "/var/folders/lc/yxqk0hpx67159xmlkdj27qqh0000gn/T/tmphCYUWX/pip.zip/pip/wheel.py", line 309, in clobber ensure_dir(destdir) File "/var/folders/lc/yxqk0hpx67159xmlkdj27qqh0000gn/T/tmphCYUWX/pip.zip/pip/utils/__init__.py", line 70, in ensure_dir os.makedirs(path) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", line 157, in makedirs mkdir(name, mode) OSError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/pip' コード
まだ回答がついていません
会員登録して回答してみよう