pip install pyq
Collecting pyq
Using cached https://files.pythonhosted.org/packages/53/de/195ce13d50784489365fee87d1e7d637fa2e42f3c5ae359d56c13595c93c/pyq-4.1.4.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/private/var/folders/yk/r4fwvhf17tl0tnpx2kxm0dfc0000gn/T/pip-install-7ylyekvl/pyq/setup.py", line 28, in
from distutils.cmd import install_misc
ImportError: cannot import name 'install_misc' from 'distutils.cmd' (/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/cmd.py)
There are many workarounds mentioned on stackoverflow but none seems like a good solution. Is there a permanent fix for this issue.
Steps to reproduce the issue
pip install pyq Collecting pyq Using cached https://files.pythonhosted.org/packages/53/de/195ce13d50784489365fee87d1e7d637fa2e42f3c5ae359d56c13595c93c/pyq-4.1.4.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in
File "/private/var/folders/yk/r4fwvhf17tl0tnpx2kxm0dfc0000gn/T/pip-install-7ylyekvl/pyq/setup.py", line 28, in
from distutils.cmd import install_misc
ImportError: cannot import name 'install_misc' from 'distutils.cmd' (/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/cmd.py)
There are many workarounds mentioned on stackoverflow but none seems like a good solution. Is there a permanent fix for this issue.