Skip to content

Import SPTAG Failed #396

Open
Open
@JingyuanHe1222

Description

@JingyuanHe1222

Describe the bug
After building SPTAG and passing the tests in SPTAGTest.exe, I tried to run the Tutorial.ipynb codes in juptyer notebook but it fails when:

image

I checked #75 and #55 but as the above image shows, I should have the right sys path and the right python version attached. I also check CmakeCache.txt and the python path is python 3.9.

But I realized there might be some files missing in my \build\Release folder comparing to the error message to the above two posts.
And upon compiling ALL_BUILD I did get failure from not finding SPTAGLib.lib despite that SPTAGTest.exe passed.
I attached the file I have below:
image

To Reproduce
Basically following the test of installing SPTAG:

  1. install swig, boost, cmake and added to environment variables
  2. clone SPTAG, do cmake as instructed, open SPTAGLib.sln in visual studio and compile ALL_BUILD
  3. add to environment variables
  4. run Tutorial.ipynb

Desktop (please complete the following information):
[windows 11 home]
[64-bit, x64]

Could any try to see what's wrong with building SPTAG?
Thank you so much!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions