Giter Club home page Giter Club logo

Comments (3)

mrjbq7 avatar mrjbq7 commented on June 2, 2024

I just tried this on a fresh windows 11 computer:

  1. Download ta-lib-0.4.0-msvc.zip and unzip to C:\ta-lib.
  2. Run x64 Native Tools Command Prompt
  3. cd c:\ta-lib\c\make\cdr\win32\msvc
  4. nmake
  5. python3 -m pip install ta-lib
  6. python3 -c "import talib; print(talib.__version__)"

Work's fine. I'm not sure what's going on with your Pycharm, but those errors imply that it can't find the library ta_libc_cdr.lib in C:\ta-lib\c\lib\, so perhaps check that file exists and was compiled properly (maybe dumpbin /symbols or dumpbin /exports)

from ta-lib-python.

cristeam29 avatar cristeam29 commented on June 2, 2024

Well, the ta_libc_cdr.lib file was there. But I suspected there might have been something wrong with the compilation. Since I didn't know how to check if this was successfull, I deleted the whole ta-lib folder from C drive and unzip it again and re-run nmake. And..... good news, it produced a different result, the sequence of compiled files was much larger. Went back to Pycharm pip install ta-lib and finally instalation is completed. So I guess your post did enough to convince me to start over again and finally make it. Thank you!

from ta-lib-python.

mrjbq7 avatar mrjbq7 commented on June 2, 2024

I'm glad it worked for you. I'm not sure what happened, perhaps you ran the x86 Native Tools Command Prompt which builds 32-bit libraries.

In any event, it would be nicer to bundle the TA-Lib C library into wheels for binary installation, I should work on that sometime soon.

from ta-lib-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.