fsprojects / FSharp.Interop.PythonProvider

Early experimental F# type provider for python
http://fsprojects.github.io/FSharp.Interop.PythonProvider/
Other
42 stars 12 forks source link

Provider does not work in 64-bit FSI #1

Open jdh30 opened 10 years ago

jdh30 commented 10 years ago

Only works from 32-bit. In Visual Studio, you might have to set Options->Tools->F# Tools->FSI 64-bit to false.

We need to work out how to fix this...

dmitry-a-morozov commented 10 years ago

Do we want to have default or user always has to set it explicitly?

type Python = PythonProvider<"sys, math"> //default to 32 for example

or

type Platform = x86 = 0 | x64 = 1
type Python = PythonProvider<"sys, math", Platform.x86> 

What's a good name for this parameter? "Platform" is not too intuitive.

Rickasaurus commented 10 years ago

Is this an issue having to do with running in-process with 32-bit visual studio? It seems to me that you would almost always want 64-bit.