Hi I'm trying to install Fedora Server x86_64 version 23 from the DVD iso, via PXE and over NFS, and it fails with python errors:
Traceback (most recent call last): file "/sbin/anaconda", line 49, in <modules> import pid File "/usr/lib/python3.4/site-packages/pid/__init__.py", line 8, in <module> import tempfile File "/usr/lib64/python3.4/tempfile.py", line 36, in <module> from random import Random as _Random File "/usr/lib64/python3.4/random.py", line 45, in <module> from hashlib import sha512 as _sha512 ImportError: cannot import name 'sha512'
Pane is dead
Any idea what's going here?
On Sat, 13 Feb 2016 14:49:46 -0700 Yves Dorfsman yves@zioup.com wrote:
Hi I'm trying to install Fedora Server x86_64 version 23 from the DVD iso, via PXE and over NFS, and it fails with python errors:
Traceback (most recent call last): file "/sbin/anaconda", line 49, in <modules> import pid File "/usr/lib/python3.4/site-packages/pid/__init__.py", line
8, in <module> import tempfile File "/usr/lib64/python3.4/tempfile.py", line 36, in <module> from random import Random as _Random File "/usr/lib64/python3.4/random.py", line 45, in <module> from hashlib import sha512 as _sha512 ImportError: cannot import name 'sha512'
Pane is dead
Any idea what's going here?
I just opened both a python2 and python3 interactive session, and was able to run the command from hashlib import sha512 as _sha512 without any problem. That suggests that the import is valid, but not available in your context. Maybe you have to explicitly set the PYTHONPATH to allow for NFS and PXE. Beyond that, I don't have any ideas. Maybe someone who has done this successfully will comment.