vagrantのCentOS7でpandasをインストールできないので、解決方法を教えていただきたいです。
python3インストール済みです。
■エラー
[vagrant@localhost ~]$ pip3 install pandas Collecting pandas Using cached pandas-0.17.1.tar.gz Collecting python-dateutil>=2 (from pandas) Downloading python_dateutil-2.4.2-py2.py3-none-any.whl (188kB) 100% |████████████████████████████████| 192kB 994kB/s Collecting pytz>=2011k (from pandas) Downloading pytz-2015.7-py2.py3-none-any.whl (476kB) 100% |████████████████████████████████| 479kB 553kB/s Collecting numpy>=1.7.0 (from pandas) Downloading numpy-1.10.4.tar.gz (4.1MB) 100% |████████████████████████████████| 4.1MB 97kB/s Collecting six>=1.5 (from python-dateutil>=2->pandas) Downloading six-1.10.0-py2.py3-none-any.whl Installing collected packages: six, python-dateutil, pytz, numpy, pandas Exception: Traceback (most recent call last): File "/usr/local/lib/python-3.4.3/lib/python3.4/site-packages/pip/basecommand.py", line 211, in main status = self.run(options, args) File "/usr/local/lib/python-3.4.3/lib/python3.4/site-packages/pip/commands/install.py", line 311, in run root=options.root_path, File "/usr/local/lib/python-3.4.3/lib/python3.4/site-packages/pip/req/req_set.py", line 646, in install **kwargs File "/usr/local/lib/python-3.4.3/lib/python3.4/site-packages/pip/req/req_install.py", line 803, in install self.move_wheel_files(self.source_dir, root=root) File "/usr/local/lib/python-3.4.3/lib/python3.4/site-packages/pip/req/req_install.py", line 998, in move_wheel_files isolated=self.isolated, File "/usr/local/lib/python-3.4.3/lib/python3.4/site-packages/pip/wheel.py", line 339, in move_wheel_files clobber(source, lib_dir, True) File "/usr/local/lib/python-3.4.3/lib/python3.4/site-packages/pip/wheel.py", line 317, in clobber shutil.copyfile(srcfile, destfile) File "/usr/local/lib/python-3.4.3/lib/python3.4/shutil.py", line 109, in copyfile with open(dst, 'wb') as fdst: PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python-3.4.3/lib/python3.4/site-packages/six.py' You are using pip version 7.1.2, however version 8.0.2 is available. You should consider upgrading via the 'pip install --upgrade pip' command.
回答1件
あなたの回答
tips
プレビュー