This command fixed it for me. It reinstall the python 2 and 3 decorator

apt install --reinstall python\*-decorator

# Explanation:

On Debian place or python3 packages (/usr/lib/python3/dist-packages/)
the scipy/_lib/decorator module is a symlink to the decorator module it

/usr/lib/python3/dist-packages/scipy/_lib# ls -l 
lrwxrwxrwx 1 root root 18 Sep 25 06:25 -> ../../

The package python-decorator and python3-decorator is a requirement for
python-scipy and python3-scipy. According to apt, these decorator
packages are installed. I checked the installed files with:

# dpkg -L python3-decorator

But the file /usr/lib/python3/dist-packages/ was missing.
Something in my system should (the user perhaps) should have messed with
it. After I forced the reinstall of this packages, it came back to work
again. But it's really strange this file gone missing.

You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

  package python3-scipy 0.17.0-1 failed to install/upgrade: subprocess
  installed post-installation script returned error exit status 1

To manage notifications about this bug go to:

ubuntu-bugs mailing list

Reply via email to