admin 發表於 2023-4-8 14:10:23

TA-Lib x64 installation on python 3.11 for window10*64

前置作業:先安裝Visual Studio 2022
1)Download "ta-lib x64.zip" from github account "https://github.com/afnhsn/TA-Lib_x64".
2)Copy "ta-lib" files under C:\
      "C:\ta-lib"
3)Install C++ Build Tools
   啟動Visual Studio 2022customize your installation by selecting the workloads,choose the "Desktop development with C++"

3)啟動 Pycharm 於terminal
         pip install ta-lib
PS D:\Users\P34Kv5\PycharmProjects\pythonProject\pythonProject2> pip install ta-lib
Collecting ta-lib
Using cached TA-Lib-0.4.26.tar.gz (272 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: numpy in d:\python\python311\lib\site-packages (from ta-lib) (1.24.2)
Building wheels for collected packages: ta-lib
Building wheel for ta-lib (pyproject.toml) ... done
Created wheel for ta-lib: filename=TA_Lib-0.4.26-cp311-cp311-win_amd64.whl size=492910 sha256=33313186c880012c53c00b89f8317e29b99b365fd61d10fa436b15a6d43bae1f
Stored in directory: c:\users\p34kv5\appdata\local\pip\cache\wheels\78\32\45\0a1c0e6893d076f722a5185fc2f371415c33fbe51ac8c5a9af
Successfully built ta-lib
Installing collected packages: ta-lib
Successfully installed ta-lib-0.4.26

頁: [1]
查看完整版本: TA-Lib x64 installation on python 3.11 for window10*64