PolymerGuy / muDIC

Digital Image Correlation in Python
MIT License
160 stars 69 forks source link

related to the error I encountered during muDIC installation #51

Open SercanBayram opened 1 week ago

SercanBayram commented 1 week ago

I am trying to install the muDIC application, when I follow the instructions in the readme file it gives an error like the one below. I wonder what could be the cause of this?

Thank you for your help.

(env) sercanbayram@B-MacBook-Pro muDIC % nosetests Traceback (most recent call last): File "/opt/homebrew/bin/nosetests", line 8, in <module> sys.exit(run_exit()) ^^^^^^^^^^ File "/opt/homebrew/lib/python3.11/site-packages/nose/core.py", line 118, in __init__ unittest.TestProgram.__init__( File "/opt/homebrew/Cellar/python@3.11/3.11.7_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/main.py", line 101, in __init__ self.parseArgs(argv) File "/opt/homebrew/lib/python3.11/site-packages/nose/core.py", line 179, in parseArgs self.createTests() File "/opt/homebrew/lib/python3.11/site-packages/nose/core.py", line 193, in createTests self.test = self.testLoader.loadTestsFromNames(self.testNames) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/lib/python3.11/site-packages/nose/loader.py", line 481, in loadTestsFromNames return unittest.TestLoader.loadTestsFromNames(self, names, module) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/python@3.11/3.11.7_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/loader.py", line 232, in loadTestsFromNames suites = [self.loadTestsFromName(name, module) for name in names] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/python@3.11/3.11.7_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/loader.py", line 232, in <listcomp> suites = [self.loadTestsFromName(name, module) for name in names] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/lib/python3.11/site-packages/nose/loader.py", line 454, in loadTestsFromName return LazySuite( ^^^^^^^^^^ File "/opt/homebrew/lib/python3.11/site-packages/nose/suite.py", line 53, in __init__ super(LazySuite, self).__init__() File "/opt/homebrew/Cellar/python@3.11/3.11.7_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/suite.py", line 22, in __init__ self._tests = [] ^^^^^^^^^^^ File "/opt/homebrew/lib/python3.11/site-packages/nose/suite.py", line 106, in _set_tests if isinstance(tests, collections.Callable) and not is_suite: ^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'collections' has no attribute 'Callable' (env) sercanbayram@B-MacBook-Pro muDIC % python --version Python 3.11.7 (env) sercanbayram@B-MacBook-Pro muDIC %