ubuntu - JsonProvider Requires FSharp.Core 2.3.5 -
i'm trying run standard example csvprovider example on xubuntu. error says jsonprovider missing dependency fsharp.core 2.3.5. so, try install locally paket (i'm using atom , ionide). says that package doesn't exist. not sure here.
the code i'm trying run:
#r "packages/fsharp.data/lib/portable-net40+sl5+wp8+win8/fsharp.data.dll" open fsharp.data type stocks = csvprovider<"./data/msft.csv"> let msft = stocks.load("http://ichart.finance.yahoo.com/table.csv?s=msft") // @ recent row. note 'date' property // of type 'datetime' , 'open' has type 'decimal' let firstrow = msft.rows |> seq.head let lastdate = firstrow.date let lastopen = firstrow.open // print prices in hloc format row in msft.rows printfn "hloc: (%a, %a, %a, %a)" row.high row.low row.open row.close the error i'm getting:
the type provider 'providerimplementation.jsonprovider' reported error: type provider constructor has thrown exception: not load file or assembly 'fsharp.core, version=2.3.5.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a' or 1 of dependencies the nuget package i'm trying install:
source https://www.nuget.org/api/v2 nuget fake nuget fsharp.data nuget fsharp.core nuget fsharp.core.open.fs30 2.3.5 //<- line fails. error message when run sudo mono .paket/paket.exe install
paket failed with: couldn't package details package fsharp.core.open.fs30 2.3.5 on https://www.nuget.org/api/v2. where saw that should package install
https://github.com/fsharp/fsharp/issues/165
Comments
Post a Comment