KxSystems / pyq

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

pip install pyq fails #127

Closed karhoewun closed 4 years ago

karhoewun commented 4 years ago

When I do a 'pip install pyq' from the Pycharm 2018 Community edition terminal, it fails with the following error:

File "C:\Users\bob\AppData\Local\Temp\pip-install-8zf3idem\pyq\setup.py", line 497, in build_extensions
        self.compiler.compile_options.remove('/MD')
    ValueError: list.remove(x): x not in list

Windows 10 Home 64-bit

PyQ fails to install
Python 3.6.5 :: Anaconda, Inc.

KDB+ 3.6 64-bit

QLIC is not defined. According to the kdb docs - "If QLIC is not defined, kdb+ falls back to QHOME (or its fallback)."

Not initially although I just tried in a venv and get the same error.

C:\q\
Python 3.6.5 :: Anaconda, Inc.
sashkab commented 4 years ago

Could you please confirm that you have Microsoft Build Tools for Visual Studio 2017 installed. Then please use terminal app, not pycharm to install PyQ. Please provide full output of

/path/to/your/bin/python3.6 -mpip install pyq 
github-actions[bot] commented 4 years ago

Stale issue message