pingcap / pingcap/docs-cn

error when going to the : python -m venv .venv source .venv/bin/activate pip install -r reqs.txt

Open Beginner friendly
#21,554 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

contribution
Dominant language
Python
Stars
1.8k
Forks
1.2k
Avg merge
1d 16h
Merged PRs (30d)
31

Description

File: /release-8.5/ai/examples/rag-with-pytidb.md

python -m venv .venv
source .venv/bin/activate
pip install -r reqs.txt
zsh: command not found: python
source: no such file or directory: .venv/bin/activate
Defaulting to user installation because normal site-packages is not writeable
ERROR: Ignored the following versions that require a different python version: 0.0.10.dev1 Requires-Python >=3.10; 0.0.10.post1 Requires-Python >=3.10; 0.0.11 Requires-Python >=3.10; 0.0.12 Requires-Python >=3.10; 0.0.13 Requires-Python >=3.10; 0.0.13.dev1 Requires-Python >=3.10; 0.0.13.dev2 Requires-Python >=3.10; 0.0.13.dev3 Requires-Python >=3.10; 0.0.13.dev4 Requires-Python >=3.10; 0.0.13.dev5 Requires-Python >=3.10; 0.0.13.dev6 Requires-Python >=3.10; 0.0.13.dev7 Requires-Python >=3.10; 0.0.13.dev8 Requires-Python >=3.10; 0.0.14 Requires-Python >=3.10; 0.0.14.dev1 Requires-Python >=3.10; 0.0.14.dev2 Requires-Python >=3.10; 0.0.15.dev1 Requires-Python >=3.10; 0.0.3 Requires-Python >=3.10; 0.0.3.dev1 Requires-Python >=3.10; 0.0.3.dev2 Requires-Python >=3.10; 0.0.4 Requires-Python >=3.10; 0.0.4.dev1 Requires-Python >=3.10; 0.0.5 Requires-Python >=3.10; 0.0.5.dev1 Requires-Python >=3.10; 0.0.5.dev2 Requires-Python >=3.10; 0.0.5.dev3 Requires-Python >=3.10; 0.0.5.dev4 Requires-Python >=3.10; 0.0.5.dev5 Requires-Python >=3.10; 0.0.5.dev6 Requires-Python >=3.10; 0.0.5.dev7 Requires-Python >=3.10; 0.0.5.dev8 Requires-Python >=3.10; 0.0.5.post1 Requires-Python >=3.10; 0.0.5.post2 Requires-Python >=3.10; 0.0.6 Requires-Python >=3.10; 0.0.6.dev1 Requires-Python >=3.10; 0.0.7 Requires-Python >=3.10; 0.0.8 Requires-Python >=3.10; 0.0.8.dev1 Requires-Python >=3.10; 0.0.8.dev2 Requires-Python >=3.10; 0.0.8.dev3 Requires-Python >=3.10; 0.0.8.post1 Requires-Python >=3.10; 0.0.8.post2 Requires-Python >=3.10; 0.0.9 Requires-Python >=3.10; 0.0.9.dev1 Requires-Python >=3.10
ERROR: Could not find a version that satisfies the requirement pytidb==0.0.13 (from versions: 0.0.1, 0.0.2, 0.0.2.post2, 0.0.2.post3, 0.0.2.post4, 0.0.2.post5, 0.0.2.post6, 0.0.2.post7)
ERROR: No matching distribution found for pytidb==0.0.13
lanyuan@lanyuans-MacBook-Pro rag %
Is this expected? or it is becasue of my local env?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open ai/examples/rag-with-pytidb.md and review the documented virtual-environment and dependency-installation commands against the reported macOS output. Reproduce the setup steps, checking the Python version and the pytidb==0.0.13 requirement. Done means the instructions clearly state the supported environment and allow the example dependencies to install successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.