Ubuntu JsonProvider需要FSharp.Core 2.3.5

Ubuntu JsonProvider需要FSharp.Core 2.3.5,ubuntu,f#,f#-data,paket,Ubuntu,F#,F# Data,Paket,我试图在XUbuntu上运行CsvProvider示例的标准示例。但是我得到一个错误,说JsonProvider缺少Fsharp.core2.3.5的依赖项。因此,我尝试使用paket本地安装它(我使用的是Atom和Ionide)。但它说这个包裹不存在。我不知道该怎么办 我试图运行的代码: #r "packages/FSharp.Data/lib/portable-net40+sl5+wp8+win8/FSharp.Data.dll" open FSharp.Data type Stocks

我试图在XUbuntu上运行
CsvProvider
示例的标准示例。但是我得到一个错误,说
JsonProvider
缺少
Fsharp.core2.3.5
的依赖项。因此,我尝试使用
paket
本地安装它(我使用的是Atom和Ionide)。但它说这个包裹不存在。我不知道该怎么办

我试图运行的代码:

#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")

// Look at the most recent row. Note the 'Date' property
// is of type 'DateTime' and 'Open' has a type 'decimal'
let firstRow = msft.Rows |> Seq.head
let lastDate = firstRow.Date
let lastOpen = firstRow.Open

// Print the prices in the HLOC format
for row in msft.Rows do
  printfn "HLOC: (%A, %A, %A, %A)" row.High row.Low row.Open row.Close
The type provider 'ProviderImplementation.JsonProvider' reported
an error: The type provider constructor has thrown an exception:
Could not load file or assembly 'FSharp.Core, Version=2.3.5.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of
its dependencies
source https://www.nuget.org/api/v2
nuget FAKE
nuget FSharp.Data
nuget FSharp.Core
nuget FSharp.Core.Open.FS30 2.3.5 //<- this is the line that fails.
我正在尝试安装的nuget软件包:

#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")

// Look at the most recent row. Note the 'Date' property
// is of type 'DateTime' and 'Open' has a type 'decimal'
let firstRow = msft.Rows |> Seq.head
let lastDate = firstRow.Date
let lastOpen = firstRow.Open

// Print the prices in the HLOC format
for row in msft.Rows do
  printfn "HLOC: (%A, %A, %A, %A)" row.High row.Low row.Open row.Close
The type provider 'ProviderImplementation.JsonProvider' reported
an error: The type provider constructor has thrown an exception:
Could not load file or assembly 'FSharp.Core, Version=2.3.5.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of
its dependencies
source https://www.nuget.org/api/v2
nuget FAKE
nuget FSharp.Data
nuget FSharp.Core
nuget FSharp.Core.Open.FS30 2.3.5 //<- this is the line that fails.
我发现这应该是一个很好的安装包

https://github.com/fsharp/fsharp/issues/165