This is very simple to recreate. If my script foo.py is:
import scipy
Then run:
python pyinstaller.py --onefile foo.py
You can hack the spec file to remove the second instance by adding these lines after a=Analysis:
for d in a.datas: if 'pyconfig' in d[0]: a.datas.remove(d) break