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

ModuleNotFoundError: No module named 'ConfigParser' #43

Open
SrikumarM opened this issue Nov 30, 2023 · 0 comments
Open

ModuleNotFoundError: No module named 'ConfigParser' #43

SrikumarM opened this issue Nov 30, 2023 · 0 comments

Comments

@SrikumarM
Copy link

SrikumarM commented Nov 30, 2023

Python Version : 3.12.0

I installed configparser but same issue occurred

Collecting aws-ec2-assign-elastic-ip
Downloading aws-ec2-assign-elastic-ip-0.10.2.tar.gz (9.5 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [26 lines of output]
Traceback (most recent call last):
File "", line 5, in
ModuleNotFoundError: No module named 'ConfigParser'

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "C:\Software\Python3.12\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
      main()
    File "C:\Software\Python3.12\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Software\Python3.12\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel
      return hook(config_settings)
             ^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\SrikumarM\AppData\Local\Temp\pip-build-env-_n6_0loh\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in get_requires_for_build_wheel
      return self._get_build_requires(config_settings, requirements=['wheel'])
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\SrikumarM\AppData\Local\Temp\pip-build-env-_n6_0loh\overlay\Lib\site-packages\setuptools\build_meta.py", line 295, in _get_build_requires
      self.run_setup()
    File "C:\Users\SrikumarM\AppData\Local\Temp\pip-build-env-_n6_0loh\overlay\Lib\site-packages\setuptools\build_meta.py", line 480, in run_setup
      super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
    File "C:\Users\SrikumarM\AppData\Local\Temp\pip-build-env-_n6_0loh\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
      exec(code, locals())
    File "<string>", line 7, in <module>
  ImportError: cannot import name 'SafeConfigParser' from 'configparser' (C:\Software\Python3.12\Lib\configparser.py). Did you mean: 'RawConfigParser'?
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

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