# We're not able to install pyaudio,openai,etc modules in latest version of python .Please help me to resolve this

**URL:** https://discuss.python.org/t/were-not-able-to-install-pyaudio-openai-etc-modules-in-latest-version-of-python-please-help-me-to-resolve-this/35706
**Category:** Python Help
**Created:** [October 8, 2023, 5:48pm UTC](https://discuss.python.org/t/were-not-able-to-install-pyaudio-openai-etc-modules-in-latest-version-of-python-please-help-me-to-resolve-this/35706 "2023-10-08T17:48:56Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![DeepakshiTohan](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/deepakshitohan/32/15174_2.png) [@DeepakshiTohan](https://discuss.python.org/u/DeepakshiTohan)
#### Post date: [October 8, 2023, 5:48pm UTC](https://discuss.python.org/t/were-not-able-to-install-pyaudio-openai-etc-modules-in-latest-version-of-python-please-help-me-to-resolve-this/35706/1 "2023-10-08T17:48:56Z")

</div>

```
    File "C:\Users\dtoha\AppData\Local\Temp\pip-build-env-3bp0yfzi\overlay\Lib\site-packages\setuptools\version.py", line 1, in <module>
      import pkg_resources
    File "C:\Users\dtoha\AppData\Local\Temp\pip-build-env-3bp0yfzi\overlay\Lib\site-packages\pkg_resources\ __init__.py", line 2191, in <module>
      register_finder(pkgutil.ImpImporter, find_on_path)
                      ^^^^^^^^^^^^^^^^^^^
  AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?
  [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.

---

<div class="post-metadata">

### Author: ![barry-scott](https://avatars.discourse-cdn.com/v4/letter/b/e9c0ed/32.png) [@barry-scott](https://discuss.python.org/u/barry-scott)
#### Post date: [October 8, 2023, 10:18pm UTC](https://discuss.python.org/t/were-not-able-to-install-pyaudio-openai-etc-modules-in-latest-version-of-python-please-help-me-to-resolve-this/35706/2 "2023-10-08T22:18:27Z")

</div>

Specifically what “latest” version are you referring too?  
If 3.12 it is often the case that it takes some time after a python release for packages that support it to be uploaded to PyPI.

Suggest you use the latest 3.11 unless you have a need to use 3.12.

---

<div class="post-metadata">

### Author: ![kpfleming](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/kpfleming/32/2761_2.png) [@kpfleming](https://discuss.python.org/u/kpfleming)
#### Post date: [October 8, 2023, 11:26pm UTC](https://discuss.python.org/t/were-not-able-to-install-pyaudio-openai-etc-modules-in-latest-version-of-python-please-help-me-to-resolve-this/35706/3 "2023-10-08T23:26:01Z")

</div>

> [@barry-scott](#):
>
> Suggest you use the latest 3.11 unless you have a need to use 3.12.

Which means you will need to confirm that all the packages you require (and all of their dependencies) are compatible with Python 3.12. Ideally the PyPI metadata for those package would include the “Python 3.12” classifier, but you can’t depend on that classifier existing.

---

<div class="post-metadata">

### Author: ![TechnoDexx](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/technodexx/32/15240_2.png) [@TechnoDexx](https://discuss.python.org/u/TechnoDexx)
#### Post date: [October 11, 2023, 7:49pm UTC](https://discuss.python.org/t/were-not-able-to-install-pyaudio-openai-etc-modules-in-latest-version-of-python-please-help-me-to-resolve-this/35706/4 "2023-10-11T19:49:16Z")

</div>

python3.12 -m pip install --upgrade setuptools  
solved that problem for me. Good luck.

---

<div class="post-metadata">

### Author: ![TechnoDexx](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/technodexx/32/15240_2.png) [@TechnoDexx](https://discuss.python.org/u/TechnoDexx)
#### Post date: [October 11, 2023, 7:53pm UTC](https://discuss.python.org/t/were-not-able-to-install-pyaudio-openai-etc-modules-in-latest-version-of-python-please-help-me-to-resolve-this/35706/6 "2023-10-11T19:53:35Z")

</div>

Upgrade setuptools and try again

---

<div class="post-metadata">

### Author: ![eddy](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/eddy/32/15927_2.png) [@eddy](https://discuss.python.org/u/eddy)
#### Post date: [November 16, 2023, 4:25pm UTC](https://discuss.python.org/t/were-not-able-to-install-pyaudio-openai-etc-modules-in-latest-version-of-python-please-help-me-to-resolve-this/35706/7 "2023-11-16T16:25:13Z")

</div>

> <https://stackoverflow.com/questions/77364550/attributeerror-module-pkgutil-has-no-attribute-impimporter-did-you-mean>
