-
Notifications
You must be signed in to change notification settings - Fork 327
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
ModuleNotFoundError: No module named 'lightseq.inference'; 'lightseq' is not a package #59
Comments
@gm3g11 the master readme is updated to version 2.0.0,but pypi version is still 1.2,and we're updating it.For now,You can checkout the 1.2 tag and follow that readme. |
You can try it again, we have updated the pypi version to 2.0.0 |
I am faced with the same problem, lightseq 2.0.0 the problem remains, $python ls_gpt_time_test.py
Traceback (most recent call last):
File "ls_gpt_time_test.py", line 3, in <module>
import lightseq.inference as lsi
ModuleNotFoundError: No module named 'lightseq.inference' on the other hand, using commands Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Requirement already satisfied: lightseq in /home/local/miniconda3/lib/python3.7/site-packages (1.2.0) it will cause the same |
@zmingshi You can check wheels on |
thanks a lot, installing from PyPI index works fine now! |
I could use the " pip install lightseq" command to install the lightseq package, and I could import the lightseq in the python file. But I encountered "ModuleNotFoundError: No module named 'lightseq.inference'; 'lightseq' is not a package" when I try to run the command "import lightseq.inference as lsi". Do I miss some steps? Thanks.
The text was updated successfully, but these errors were encountered: