willcrichton / inliner

Programmable, human-readable inlining of Python code
29 stars 1 forks source link

ImportError: cannot import name 'SortImports' from 'isort' #10

Open ghost opened 3 years ago

ghost commented 3 years ago

Traceback (most recent call last): File "E:/Programming/Python/Projects/pandaTest/main.py", line 2, in \<module> import ECS File "E:\Programming\Python\Projects\pandaTest\ECS.py", line 3, in \<module> from inliner import inliner File "D:\Program Files\Python\lib\site-packages\inliner__init.py", line 1, in \<module> from .inliner import Inliner File "D:\Program Files\Python\lib\site-packages\inliner\inliner.py", line 7, in \<module> from .passes import (PASSES, CleanImportsPass, CopyPropagationPass, File "D:\Program Files\Python\lib\site-packages\inliner\passes\init.py", line 6, in \<module> from .clean_imports import CleanImportsPass File "D:\Program Files\Python\lib\site-packages\inliner\passes\clean_imports.py", line 2, in \<module> from isort import SortImports ImportError: cannot import name 'SortImports' from 'isort' (D:\Program Files\Python\lib\site-packages\isort\init__.py)

Seems to be a version error?

cdecompilador commented 2 years ago

Here having the same issue