getting error in step 2 of installation
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 40.3k
- Forks
- 3.7k
- PR merge metrics
- No merged PRs in 30d
Description
before starting
I use Kubuntu 25.10 on my laptop, which has no dedicate gpu
When I follow the Installation steps
at step 2 Install the dependencies
(Recommended) Create a new conda environment
conda create -n bitnet-cpp python=3.9
conda activate bitnet-cpp
pip install -r requirements.txt
This results in an error
CondaToSNonInteractiveError: Terms of Service have not been accepted for the following channels. Please accept or remove them before proceeding:
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
To accept these channels' Terms of Service, run the following commands:
conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/main
conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/r
For information on safely removing channels from your conda configuration,
please see the official documentation:
https://www.anaconda.com/docs/tools/working-with-conda/channels
EnvironmentNameNotFound: Could not find conda environment: bitnet-cpp
You can list all discoverable environments with conda info --envs.
Requirement already satisfied: pip in /home/abhilash/miniconda3/lib/python3.13/site-packages (26.0.1)
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cpu, https://download.pytorch.org/whl/cpu, https://download.pytorch.org/whl/cpu, https://download.pytorch.org/whl/cpu
Collecting numpy~=1.26.4 (from -r /home/abhilash/BitNet/3rdparty/llama.cpp/requirements/requirements-convert_legacy_llama.txt (line 1))
Downloading numpy-1.26.4.tar.gz (15.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.8/15.8 MB 4.5 MB/s 0:00:03
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Collecting sentencepiece~=0.2.0 (from -r /home/abhilash/BitNet/3rdparty/llama.cpp/requirements/requirements-convert_legacy_llama.txt (line 2))
Downloading sentencepiece-0.2.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.metadata (10 kB)
Collecting transformers<5.0.0,>=4.46.3 (from -r /home/abhilash/BitNet/3rdparty/llama.cpp/requirements/requirements-convert_legacy_llama.txt (line 3))
Downloading transformers-4.57.6-py3-none-any.whl.metadata (43 kB)
Collecting gguf>=0.1.0 (from -r /home/abhilash/BitNet/3rdparty/llama.cpp/requirements/requirements-convert_legacy_llama.txt (line 4))
Downloading gguf-0.18.0-py3-none-any.whl.metadata (4.5 kB)
Collecting protobuf<5.0.0,>=4.21.0 (from -r /home/abhilash/BitNet/3rdparty/llama.cpp/requirements/requirements-convert_legacy_llama.txt (line 5))
Downloading protobuf-4.25.8-cp37-abi3-manylinux2014_x86_64.whl.metadata (541 bytes)
ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11; 1.26.0 Requires-Python >=3.9,<3.13; 1.26.1 Requires-Python >=3.9,<3.13
ERROR: Could not find a version that satisfies the requirement torch~=2.2.1 (from versions: 2.5.0, 2.5.0+cpu, 2.5.1, 2.5.1+cpu, 2.6.0, 2.6.0+cpu, 2.7.0, 2.7.0+cpu, 2.7.1, 2.7.1+cpu, 2.8.0, 2.8.0+cpu, 2.9.0, 2.9.0+cpu, 2.9.1, 2.9.1+cpu, 2.10.0, 2.10.0+cpu)
ERROR: No matching distribution found for torch~=2.2.1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Step 2 installation instructions and the referenced requirements.txt, then reproduce the conda create and pip install commands on Kubuntu without a GPU. Check the stated Python 3.9 environment against the reported Python 3.13 and the torch~=2.2.1 and numpy constraints. Done means the documented setup completes or clearly identifies the supported versions and required installation steps.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- developer-experience
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100