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
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/imp.py", line 300, in find_module
raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'ruamel'
the thing is, there isn't a library named "ruamel", it's only "ruamel.yaml", need help guys, many thanks
The text was updated successfully, but these errors were encountered:
def imp_find_module(name, path=None):
"""
same as imp.find_module, but handles dotted names
"""
names = name.split(".")
print(names)
if names == ['ruamel']:
return (None, '/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/ruamel', ('', '', 5))
if path is not None:
if isinstance(path, (str, unicode)):
path = [os.path.realpath(path)]
for name in names:
# if name != "ruamel":
result = imp.find_module(name, path)
if result[0] is not None:
result[0].close()
path = [result[1]]
print(result)
return result
my setup.py:
it's print:
there's "ruamel" in the dict
got this error:
the thing is, there isn't a library named "ruamel", it's only "ruamel.yaml", need help guys, many thanks
The text was updated successfully, but these errors were encountered: