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

compiler error: AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'? #131

Open
zhangzjjjjjj opened this issue Feb 19, 2024 · 0 comments

Comments

@zhangzjjjjjj
Copy link

I have a problem when run "python setup.py build_ext --inplace"

Traceback (most recent call last):
  File "/home/zhangzj/open_source/occupancy_networks/setup.py", line 2, in <module>
    from setuptools import setup
  File "/home/zhangzj/anaconda3/envs/mesh_funcspace/lib/python3.12/site-packages/setuptools/__init__.py", line 16, in <module>
    import setuptools.version
  File "/home/zhangzj/anaconda3/envs/mesh_funcspace/lib/python3.12/site-packages/setuptools/version.py", line 1, in <module>    import pkg_resources
  File "/home/zhangzj/anaconda3/envs/mesh_funcspace/lib/python3.12/site-packages/pkg_resources/__init__.py", line 2178, in <module>
    register_finder(pkgutil.ImpImporter, find_on_path)
                    ^^^^^^^^^^^^^^^^^^^
AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?
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