You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to access ML-Ensemble through PyPI, I would be sure to run in terminal:
pip3 install sklearn
pip3 install mlens
pip3 install pandas
pip3 install -U mlens
and I have Python 3.11.3 installed.
This led to the issue ImportError: cannot import name 'Sequence' from 'collections' (/opt/homebrew/Cellar/python@3.11/3.11.3/Frameworks/Python.framework/Versions/3.11/lib/python3.11/collections/init.py).
When I tried to install via Github and checked my build, I got the error:
---------------------------------- Build log ----------------------------------
nose.plugins.cover: ERROR: Coverage not available: unable to import coverage module
Traceback (most recent call last):
File "/Users/missybridgwater/Developer/mii/whi/whivenv/bin/nosetests", line 8, in
sys.exit(run_exit())
^^^^^^^^^^
File "/Users/missybridgwater/Developer/mii/whi/whivenv/lib/python3.11/site-packages/nose/core.py", line 118, in init
unittest.TestProgram.init(
File "/opt/homebrew/Cellar/python@3.11/3.11.3/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/main.py", line 101, in init
self.parseArgs(argv)
File "/Users/missybridgwater/Developer/mii/whi/whivenv/lib/python3.11/site-packages/nose/core.py", line 179, in parseArgs
self.createTests()
File "/Users/missybridgwater/Developer/mii/whi/whivenv/lib/python3.11/site-packages/nose/core.py", line 193, in createTests
self.test = self.testLoader.loadTestsFromNames(self.testNames)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/missybridgwater/Developer/mii/whi/whivenv/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.3/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/loader.py", line 220, in loadTestsFromNames
suites = [self.loadTestsFromName(name, module) for name in names]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/python@3.11/3.11.3/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/loader.py", line 220, in
suites = [self.loadTestsFromName(name, module) for name in names]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/missybridgwater/Developer/mii/whi/whivenv/lib/python3.11/site-packages/nose/loader.py", line 454, in loadTestsFromName
return LazySuite(
^^^^^^^^^^
File "/Users/missybridgwater/Developer/mii/whi/whivenv/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.3/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/suite.py", line 22, in init
self._tests = []
^^^^^^^^^^^
File "/Users/missybridgwater/Developer/mii/whi/whivenv/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'
Thus, there seems to maybe be an error here with the installation. Not sure if it is due to my configuration or not.
The text was updated successfully, but these errors were encountered:
When trying to access ML-Ensemble through PyPI, I would be sure to run in terminal:
pip3 install sklearn
pip3 install mlens
pip3 install pandas
pip3 install -U mlens
and I have Python 3.11.3 installed.
I would then run the attached file.
init_iris.py.zip
This led to the issue ImportError: cannot import name 'Sequence' from 'collections' (/opt/homebrew/Cellar/python@3.11/3.11.3/Frameworks/Python.framework/Versions/3.11/lib/python3.11/collections/init.py).
When I tried to install via Github and checked my build, I got the error:
---------------------------------- Build log ----------------------------------
nose.plugins.cover: ERROR: Coverage not available: unable to import coverage module
Traceback (most recent call last):
File "/Users/missybridgwater/Developer/mii/whi/whivenv/bin/nosetests", line 8, in
sys.exit(run_exit())
^^^^^^^^^^
File "/Users/missybridgwater/Developer/mii/whi/whivenv/lib/python3.11/site-packages/nose/core.py", line 118, in init
unittest.TestProgram.init(
File "/opt/homebrew/Cellar/python@3.11/3.11.3/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/main.py", line 101, in init
self.parseArgs(argv)
File "/Users/missybridgwater/Developer/mii/whi/whivenv/lib/python3.11/site-packages/nose/core.py", line 179, in parseArgs
self.createTests()
File "/Users/missybridgwater/Developer/mii/whi/whivenv/lib/python3.11/site-packages/nose/core.py", line 193, in createTests
self.test = self.testLoader.loadTestsFromNames(self.testNames)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/missybridgwater/Developer/mii/whi/whivenv/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.3/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/loader.py", line 220, in loadTestsFromNames
suites = [self.loadTestsFromName(name, module) for name in names]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/python@3.11/3.11.3/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/loader.py", line 220, in
suites = [self.loadTestsFromName(name, module) for name in names]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/missybridgwater/Developer/mii/whi/whivenv/lib/python3.11/site-packages/nose/loader.py", line 454, in loadTestsFromName
return LazySuite(
^^^^^^^^^^
File "/Users/missybridgwater/Developer/mii/whi/whivenv/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.3/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/suite.py", line 22, in init
self._tests = []
^^^^^^^^^^^
File "/Users/missybridgwater/Developer/mii/whi/whivenv/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'
Thus, there seems to maybe be an error here with the installation. Not sure if it is due to my configuration or not.
The text was updated successfully, but these errors were encountered: