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

Import SPTAG Failed #396

Open
JingyuanHe1222 opened this issue Sep 13, 2023 · 0 comments
Open

Import SPTAG Failed #396

JingyuanHe1222 opened this issue Sep 13, 2023 · 0 comments

Comments

@JingyuanHe1222
Copy link

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!!

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

No branches or pull requests

1 participant