Closed GrantFoley closed 1 year ago
Do you have the full traceback? Looks like some third-party module does not support the latest Python version. MutableSet
is in collections.abc
.
Traceback (most recent call last):
File "C:\Users\Baker Lab 432-A.conda\envs\PyCorrFit\lib\runpy.py", line 187, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "C:\Users\Baker Lab 432-A.conda\envs\PyCorrFit\lib\runpy.py", line 146, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "C:\Users\Baker Lab 432-A.conda\envs\PyCorrFit\lib\runpy.py", line 110, in _get_module_details
import(pkg_name)
File "C:\Users\Baker Lab 432-A\PyCorrFit\pycorrfit__init.py", line 10, in
Here is the most recent traceback when I try to run PyCorrFit using the python -m pycorrfit command
Right, I get the same error fresh in pip. As a short-term fix, change the import statements in those files to collections.abc.
Which version of lmfit
do you have? In version 1.1.0, this import is not there anymore: https://github.com/lmfit/lmfit-py/blob/1.1.0/lmfit/model.py
I currently have lmfit 0.9.2 installed.
OK, it's probably that. You have to upgrade lmfit.
Ok I think that did it. PyCorrFit was able to open, and I was able to load my .cor file into it. Thanks to both of you for all of your help. I will let you know if any more issues arise.
I am attempting to install from PyCorrFit from source, but this error message keeps popping up. How should I got about fixing this issue?