Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Numpy and Keras

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Numpy and Keras

    Hello i'm trying to use Numpy and Keras and I'm having some trouble with references some packages.
    With visual studio 2022 .net 6.0 I create my aaplication that was using both of them and then I copy pasted the .dll for keras and numpy in Custom and then referenced them. So i removed the error of referencing and that's ok. After that i get some error that i'm missing the refrence to the assembly of netstandard version = 2.0.0.0. What should i do now?
    I located in C:\Program Files\dotnet\sdk\5.0.408\Microsoft\Microsoft.NET.B uild.Extensions\net461\lib the netstandard but then when i copy paste the dll in custom and reference this i start to get the error :
    NinjaScript File Error Code Line Column
    DownloadTest2.cs The type 'System.ValueTuple<T0,T1,T2,T3,T4>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.ValueTuple, Version=0.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. CS0012 141 29

    so what i do is i go in the project where i had the system.valuetuple working, i copy paste in custom I reference and i get the same thing saying that I'm missing system.runtime something.
    So i do the same thing again (copy paste custom -> add reference ) and i start to get a lot of conflict .
    What should i do?

    thanks

    #2
    Hello StefanoMuscariello,

    NinjaTrader uses .NET 4.8.

    Likely this is .NET 6.0 code that is not compatible.

    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Skifree, Today, 11:47 AM
    5 responses
    19 views
    0 likes
    Last Post Skifree
    by Skifree
     
    Started by ETFVoyageur, Today, 10:34 AM
    10 responses
    23 views
    0 likes
    Last Post ETFVoyageur  
    Started by Kraken29, Today, 03:24 PM
    1 response
    3 views
    0 likes
    Last Post NinjaTrader_Clayton  
    Started by traderzoso, 12-27-2020, 05:19 PM
    6 responses
    229 views
    0 likes
    Last Post lekor
    by lekor
     
    Started by ETFVoyageur, 05-18-2024, 12:45 AM
    4 responses
    27 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Working...
    X