Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Are ML.NET notebooks using non-public #r nuget references? #55

Closed
nhirschey opened this issue Jul 12, 2022 · 1 comment · Fixed by #56
Closed

Are ML.NET notebooks using non-public #r nuget references? #55

nhirschey opened this issue Jul 12, 2022 · 1 comment · Fixed by #56

Comments

@nhirschey
Copy link

Are the ML.NET notebooks using non-public preview nugets?

I tried to run the first ML.NET notebook 01- Intro to ... I get the following error:

#r "nuget: Microsoft.ML, 2.0.0-preview.22356.1"
C:\Users\nicho\AppData\Local\Temp\nuget\20332--ab38aca3-7c58-4abd-98f6-0079cd1c2c87\Project.fsproj : error NU1102: Unable to find package Microsoft.ML with version (>= 2.0.0-preview.22356.1)
C:\Users\nicho\AppData\Local\Temp\nuget\20332--ab38aca3-7c58-4abd-98f6-0079cd1c2c87\Project.fsproj : error NU1102:   - Found 33 version(s) in nuget.org [ Nearest version: 2.0.0-preview.22313.1 ]
C:\Users\nicho\AppData\Local\Temp\nuget\20332--ab38aca3-7c58-4abd-98f6-0079cd1c2c87\Project.fsproj : error NU1102:   - Found 0 version(s) in Microsoft Visual Studio Offline Packages

This is the latest on nuget.org: #r "nuget: Microsoft.ML, 2.0.0-preview.22313.1"

@JakeRadMSFT
Copy link
Contributor

JakeRadMSFT commented Jul 12, 2022

Oops we must have forgotten to update that one:
If you add this line above the #r lines it'll work.

#i "nuget:https://pkgs.dev.azure.com/dnceng/public/_packaging/MachineLearning/nuget/v3/index.json"

@nhirschey - I'll open a PR to resolve. Thanks for reporting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants