Bonjour a tous,
j'ai migre de F26 a F27 sans probleme.
Je souhaite utiliser la bibliotheque astropy sous python3:
python3 -V --> Python 3.6.3
J'installe la bibliotheque avec pip3 (voir ci-dessous, mais je n'arrive pas a comprendre les messages d'erreur... pourtant, astropy semble compatible avec python 3.6...
Si vous avez des idees je suis preneur.
Merci de votre aide, Philippe.
Philippe@localhost ~ $ pip3 install astropy
Collecting astropy
Using cached astropy-2.0.2-cp36-cp36m-manylinux1_x86_64.whl
Collecting pytest>=2.8 (from astropy)
Using cached pytest-3.2.5-py2.py3-none-any.whl
Requirement already satisfied: numpy>=1.9.0 in /usr/lib64/python3.6/site-packages (from astropy)
Collecting py>=1.4.33 (from pytest>=2.8->astropy)
Using cached py-1.5.2-py2.py3-none-any.whl
Requirement already satisfied: setuptools in /usr/lib/python3.6/site-packages (from pytest>=2.8->astropy)
Installing collected packages: py, pytest, astropy
Exception:
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/usr/lib/python3.6/site-packages/pip/commands/install.py", line 365, in run
strip_file_prefix=options.strip_file_prefix,
File "/usr/lib/python3.6/site-packages/pip/req/req_set.py", line 784, in install
**kwargs
File "/usr/lib/python3.6/site-packages/pip/req/req_install.py", line 854, in install
strip_file_prefix=strip_file_prefix
File "/usr/lib/python3.6/site-packages/pip/req/req_install.py", line 1069, in move_wheel_files
strip_file_prefix=strip_file_prefix,
File "/usr/lib/python3.6/site-packages/pip/wheel.py", line 345, in move_wheel_files
clobber(source, lib_dir, True)
File "/usr/lib/python3.6/site-packages/pip/wheel.py", line 287, in clobber
ensure_dir(dest) # common for the 'include' path
File "/usr/lib/python3.6/site-packages/pip/utils/__init__.py", line 83, in ensure_dir
os.makedirs(path)
File "/usr/lib64/python3.6/os.py", line 210, in makedirs
makedirs(head, mode, exist_ok)
File "/usr/lib64/python3.6/os.py", line 220, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.6'