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

typo in source code #44

Closed
habaneraa opened this issue Jul 12, 2023 · 2 comments
Closed

typo in source code #44

habaneraa opened this issue Jul 12, 2023 · 2 comments

Comments

@habaneraa
Copy link

raise ImportError('sentence_transformers is not installed. Please install it with "pip install sentence_transformers"')

在 PyPI 中这个包的名字是 sentence-transformers. 所以需要改成 pip install sentence-transformers ~

@wangyuxinwhy
Copy link
Owner

哈哈,好的,好像 pip install 的时候会自动把 _ 转换成 -,所以真运行这个也没有问题。

你如果愿意提一个 PR ,我可以直接合并。如果你觉得麻烦的话,我会在下一次发布的时候修复这个 typo

@habaneraa
Copy link
Author

哈哈,好的,好像 pip install 的时候会自动把 _ 转换成 -,所以真运行这个也没有问题。

你说得对,所以不用改了,见 这个

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

2 participants