Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error installing #1025

Open
3 tasks done
addisflava opened this issue Jul 23, 2024 · 0 comments
Open
3 tasks done

error installing #1025

addisflava opened this issue Jul 23, 2024 · 0 comments

Comments

@addisflava
Copy link

Prerequisite

🐞 Describe the bug

mim install -v -e .
Traceback (most recent call last):
File "/home/d/miniconda3/envs/test/bin/mim", line 5, in
from mim.cli import cli
File "/home/d/miniconda3/envs/test/lib/python3.12/site-packages/mim/init.py", line 10, in
import setuptools # noqa: F401
^^^^^^^^^^^^^^^^^
File "/home/d/miniconda3/envs/test/lib/python3.12/site-packages/setuptools/init.py", line 16, in
import setuptools.version
File "/home/d/miniconda3/envs/test/lib/python3.12/site-packages/setuptools/version.py", line 1, in
import pkg_resources
File "/home/d/miniconda3/envs/test/lib/python3.12/site-packages/pkg_resources/init.py", line 2172, in
register_finder(pkgutil.ImpImporter, find_on_path)
^^^^^^^^^^^^^^^^^^^
AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?

(test) d@d:/parking/backend$ mim install "mmdet>=3.0.0,<4.0.0"
Traceback (most recent call last):
File "/home/d/miniconda3/envs/test/bin/mim", line 5, in
from mim.cli import cli
File "/home/d/miniconda3/envs/test/lib/python3.12/site-packages/mim/init.py", line 10, in
import setuptools # noqa: F401
^^^^^^^^^^^^^^^^^
File "/home/d/miniconda3/envs/test/lib/python3.12/site-packages/setuptools/init.py", line 16, in
import setuptools.version
File "/home/d/miniconda3/envs/test/lib/python3.12/site-packages/setuptools/version.py", line 1, in
import pkg_resources
File "/home/d/miniconda3/envs/test/lib/python3.12/site-packages/pkg_resources/init.py", line 2172, in
register_finder(pkgutil.ImpImporter, find_on_path)
^^^^^^^^^^^^^^^^^^^
AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?
(test) d@d:
/parking/backend$ mim install mmdet
Traceback (most recent call last):
File "/home/d/miniconda3/envs/test/bin/mim", line 5, in
from mim.cli import cli
File "/home/d/miniconda3/envs/test/lib/python3.12/site-packages/mim/init.py", line 10, in
import setuptools # noqa: F401
^^^^^^^^^^^^^^^^^
File "/home/d/miniconda3/envs/test/lib/python3.12/site-packages/setuptools/init.py", line 16, in
import setuptools.version
File "/home/d/miniconda3/envs/test/lib/python3.12/site-packages/setuptools/version.py", line 1, in
import pkg_resources
File "/home/d/miniconda3/envs/test/lib/python3.12/site-packages/pkg_resources/init.py", line 2172, in
register_finder(pkgutil.ImpImporter, find_on_path)
^^^^^^^^^^^^^^^^^^^
AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?
(test) d@d:~/parking/backend$ mim install mmengine
Traceback (most recent call last):
File "/home/d/miniconda3/envs/test/bin/mim", line 5, in
from mim.cli import cli
File "/home/d/miniconda3/envs/test/lib/python3.12/site-packages/mim/init.py", line 10, in
import setuptools # noqa: F401
^^^^^^^^^^^^^^^^^
File "/home/d/miniconda3/envs/test/lib/python3.12/site-packages/setuptools/init.py", line 16, in
import setuptools.version
File "/home/d/miniconda3/envs/test/lib/python3.12/site-packages/setuptools/version.py", line 1, in
import pkg_resources
File "/home/d/miniconda3/envs/test/lib/python3.12/site-packages/pkg_resources/init.py", line 2172, in
register_finder(pkgutil.ImpImporter, find_on_path)
^^^^^^^^^^^^^^^^^^^
AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?

Environment

conda install pytorch torchvision cpuonly -c pytorch

Additional information

c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant