-
Notifications
You must be signed in to change notification settings - Fork 1
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
nuget installed vts fails in Jupyter notebook #6
Comments
I had this same issue, when you pull a reference from NuGet, it only has the Vts.dll, the other dependent dlls need to be in the same folder otherwise it cannot resolve them. How NuGet works is that the other dependencies are also in their own folders, they would need to be grouped into a single location for this to work. |
Oh I see. The .dlls could readily extracted and copied to the parent directory with something like cd vts
find . -name "*.dll" | xargs -I {} cp {} . but this will require some nuget packaging work. Currently |
Sorry, I have no idea how to help here. I thought I had an idea, but I was wrong :-( |
You are also right about the just moving the dlls from the subdirectories to the parent folder. Once I did that, the nuget install version worked. Unfortunately, I think that cloning the git repo, building, and then using "vts/publish/local/Vts.dll" is the easiest thing to ask people to do. Alternatively, you could just zip all the required dll files together and publish these with each release. |
Thank you for looking into it, I appreciate it! I did think about creating a zip with the dlls although we kind of already have that with the MCCL release, that zip file will contain all the necessary dlls. I was wondering if we could leverage that here. |
@dcuccia I'm glad you are making progress, could you put your updates for using NuGet with Python in this issue? |
@dcuccia I just wanted to reach out and see how your progress is going on bringing the libraries into the Notebook using NuGet. We need to create a VTS release and if this is not a feasible solution we will need to have the zip file with the libraries. Thank you! |
Hi Lisa, I've been at a conference all week, so no new updates from me just yet. I came up with a solution to use a local .csproj to bring in Vts.dll and it's dependencies, which worked well and decently elegantly. Might have been running into the same thing Scott did, however, which was that the library imported might have been incomplete. Needed to spend more time on that, but if that checks out, that might reveal a problem with how we are packaging our library for Nuget. David |
Not sure what is going on. I installed vts using
nuget
Then executed the following in a JupyterLab notebook
Which shows identical versions, but different file sizes for the two dlls
if I follow the above code with
then everything is fine. If I restart the kernel and then do
it fails with
The text was updated successfully, but these errors were encountered: