问题
I am having trouble to install TA-Lib in my Pycharm . I am using Pycharm 3.8 and when I tried “pip install TA-Lib” it run for a while and then return “Command"C:\Users\user\PycharmProjects\untitled\venv\Scripts\python.exe -u -c "import setuptools, tokenize;file='C:\Users\user\AppData\Local\Temp\pip-install-4729lz7x\TA-Lib\setup.py';f=getattr(tokenize, 'open',open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\user\AppData\Local\Temp\pip-record-i630dh_o\install-record.txt --single-version-externally-managed --compile --install-headers C:\Users\user\PycharmProjects\untitled\venv\include\site\python3.8\TA-Lib" failed with error code 1 in C:\Users\user\AppData\Local\Temp\pip-install-4729lz7x\TA-Lib\” I have also tried other suggestion found from website . such as “pip install -i https://pypi.anaconda.org/masdeseiscaracteres/simple ta-lib” but it return “Cannot determine archive format of C:\Users\user\AppData\Local\Temp\pip-req-build-jxmljfio”
Or “pip install TA_Lib‑0.4.17‑cp38‑cp38‑win_amd64.whl” it return “TA_Lib?0.4.17?cp38?cp38?win_amd64.whl is not a valid wheel filename.” Is there anyone encounter the same problem. Thank you for sharing
来源:https://stackoverflow.com/questions/60890011/how-to-install-talib-in-pycharm3-8