-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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 "vllm._C" #1814
Comments
Hi @Kawai1Ace, it seems you are using the latest main branch of vLLM. Did you install vLLM from source? The |
in my case same install command, but install different python version lead to the problem https://github.com/vllm-project/vllm/blob/main/Dockerfile#L4 Make sure they use the same version of python
to
|
|
@Kawai1Ace The error |
errors happens: git clone download the vllm project, and build failed; under the same folder, try pip install vllm, success; just remove the cloned vllm project. |
I am trying to run vllm on WSL Ubuntu. I just installed vllm through pip and getting this error:
commands used: |
I think I should say it more clearly. There are two methods to install vllm, one is to use pip, and the other is to build and install from the source code. If using |
This should be fixed by #2845 |
@hxdbf If I encounter an issue when running the following command after cloning the repository: |
可以通过安装 python3-dev 包来解决这个问题: |
May I ask if you solved it, I had the same problem as you did |
Good! |
@gunpal5 Did you solve this issue? |
@Sanket-Kudtarkar-AI @gunpal5 |
I successfully installed In
and
So, How to fix it? |
niubi |
I do not think so. Mine is like the following:
|
I think you should run this command in the 'vllm' folder. You can create a new folder, such as 'run',and navigate into the 'run' folder.Then, you can run the command again |
solved my issue |
The issue still exists! Has anyone been able to find a solution so far? |
NameError: name 'vllm_ops' is not defined 这个问题是只需要pip install vllm即可而无需git clone vllm项目 就能解决是吗 |
Same issue today |
I had this issue today after running |
Hello! |
Having the same problem using the official AMD installation guide with Docker, with the error appearing during |
(envv) F:\vllm\vllm>pip install -e . (envv) F:\vllm\vllm>vllm serve "LGAI-EXAONE/EXAONE-3.5-7.8B-Instruct" (envv) F:\vllm\vllm> |
F:\vllm\vllm\run>F:\vllm\envv\Scripts\activate (envv) F:\vllm\vllm\run>vllm serve "LGAI-EXAONE/EXAONE-3.5-7.8B-Instruct" (envv) F:\vllm\vllm\run> |
did a pip install -U vllm today Traceback (most recent call last): |
The text was updated successfully, but these errors were encountered: