AttributeError: module ‘pkgutil’ has no attribute ‘ImpImporter’. Did you mean: ‘zipimporter’?

If you can downgrade to Python 3.11 then you will probably not face any issue. If you must use only Python 3.12, then here is an attempt to solve the issue: AttributeError: module ‘pkgutil’ has no attribute ‘ImpImporter’. Did you mean: ‘zipimporter’? occurs due to using Python 3.12. Due to the removal of the long-deprecated … Read more

How to list all available package versions with pip?

For pip >= 21.2 use: pip index versions pylibmc Note that this command is experimental, and might change in the future! For pip >= 21.1 use: pip install pylibmc== For pip >= 20.3 use: pip install –use-deprecated=legacy-resolver pylibmc== For pip >= 9.0 use: $ pip install pylibmc== Collecting pylibmc== Could not find a version that … Read more

pip install PyQt IOError

That’s because that file has a configure.py not a setup.py. configure.py generate a make file that you use to build pyqt against the qt lib you choose by passing –qmake option to configure.py, it has different options too. I suggest filing a bug with the pip maintainer.

How can I get pip to list the repositories it’s using?

Update for 21.1.2 (copied from @Bryan Roach’s comment): pip download –no-cache-dir –verbose “foo<0” 2>&1 |grep ‘location(s) to search’ -A5 Update for pip>=20 The repositories are now listed by default, no need to pass the –verbose arg: $ pip download –no-cache-dir “foo<0” 2>&1 | grep Looking Looking in indexes: https://pypi.org/simple, https://my-index.local, http://127.0.0.1:9000 Original answer The repositories … Read more