1

I am trying to install lmql[hf] using the pip package manager in order to set up a local LMQL playground. Following the documentation, I ran the command pip install lmql[hf].

However, I encountered the following error:

ERROR: Ignored the following versions that require a different python version: 0.0.2 Requires-Python >=3.9; 0.0.2.1 Requires-Python >=3.9; 0.0.3.0 Requires-Python >=3.10; 0.0.3.1 Requires-Python >=3.10; 0.0.4 Requires-Python >=3.10; 0.0.4.1 Requires-Python >=3.10; 0.0.4.2 Requires-Python >=3.10; 0.0.5 Requires-Python >=3.10; 0.0.5.1 Requires-Python >=3.10; 0.0.6 Requires-Python >=3.10; 0.0.6.1 Requires-Python >=3.10; 0.0.6.2 Requires-Python >=3.10; 0.0.6.3 Requires-Python >=3.10; 0.0.6.4 Requires-Python >=3.10
ERROR: Could not find a version that satisfies the requirement lmql[hf] (from versions: none)
ERROR: No matching distribution found for lmql[hf]

I have ensured that my pip package manager is up to date by running pip install --upgrade pip, but the error persists.

Python 3.11

pip 23.1.2

Any guidance or assistance in resolving this installation issue would be greatly appreciated. Thank you!

I expect to run lmql with a local language model e.g. bert-base-uncased loacally

7
  • Show us the output of pip --version Commented Jun 25, 2023 at 23:53
  • Did you mistake pip of python2 as pip of python3? Commented Jun 26, 2023 at 0:10
  • I have the same result for pip3 install lmql\[hf\] Commented Jun 26, 2023 at 0:17
  • I wanted to see the full output of pip --version, because it also includes the version of Python it is linked to. Commented Jun 26, 2023 at 0:34
  • pip 23.1.2 from /Users/sparql/venv/lib/python3.8/site-packages/pip (python 3.8) Commented Jun 26, 2023 at 1:17

1 Answer 1

1

I had the same problem. I found using quotations or using pip install "lmql[hf]" instead to work.

I think without the quotes the command is parsed incorrectly but I don't know the specifics.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.