KxSystems / pyq

PyQ — Python for kdb+
http://code.kx.com/q/interfaces
Apache License 2.0
190 stars 49 forks source link

MacOS 'pip install pyq' shows "ImportError: cannot import name 'install_misc' from 'distutils.cmd' " #81

Closed ManpreetRai closed 6 years ago

ManpreetRai commented 6 years ago

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.

abalkin commented 6 years ago

This is a duplicate of #80.