pyFoamClearCase.py "ImportError: cannot import name FatalErrorPyFoamException"
Oh where oh where art thou Bernhard ...
Having some trouble with pyFoam since upgrading from v0.5.4 to 0.5.7. When I run a pyFoam command, for example pyFoamClearCase.py, I get the following: Code:
[user@computer case]$ pyFoamClearCase.py |
Quote:
Quote:
import PyFoam.Error print PyFoam.Error that should be in /usr/lib/python2.6/site-packages/ otherwise the "two-libraries"-theory applies. Otherwise the cleanest way would be to remove the whole directory /usr/lib/python2.6/site-packages/PyFoam/ and reinstall (also removing /usr/bin/pyFoam* can't be a bad idea ... before reinstalling of course) One way to avoid such problems in the future is to use the package manager of your distro to install and upgrade pyFoam. "make rpm" and "make dpkg" make packages for the two most popular package managers. For the rpm-variant you don't need additional software. dpkg needs a buch of Debian packaging tools but I don't know which (I don't have a Ubuntu/Debian system) |
Quote:
Quote:
Quote:
Code:
$>python setup.py bdist_rpm |
Quote:
|
All times are GMT -4. The time now is 19:36. |