GitHub user zzialiuzi created a discussion: 在linux 上安装 ainode-2.0.5一直不能成功

(base) root@data206:/usr/local/iotdb-ainode/packages# ../sbin/start-ainode.sh 
---------------------------
Starting IoTDB AINode
---------------------------
IOTDB_AINODE_HOME: /usr/local/iotdb-ainode
No interpreter_dir is set, use default value.
No check_version is set, use default value.
Script got inputs: ain_interpreter_dir: , ain_force_reinstall: 0
/usr/local/iotdb-ainode/venv/bin/python3
Activate default venv environment
Calling venv to check: /usr/local/iotdb-ainode/conf/../venv/bin/python3
Confirming AINode...
Writing to /root/.config/pip/pip.conf
Installing AINode...
Installing AINode body: apache_iotdb_ainode-2.0.5-py3-none-any.whl
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple/
Looking in links: https://download.pytorch.org/whl/cpu/torch_stable.html
Processing ./apache_iotdb_ainode-2.0.5-py3-none-any.whl
Collecting apache-iotdb==2.0.4.dev0 (from apache-iotdb-ainode==2.0.5)
  Using cached 
https://pypi.tuna.tsinghua.edu.cn/packages/91/49/9311ba1572d8884119d0efed8cc32fb5935e589974d539d749b649368d0b/apache_iotdb-2.0.4.dev0-py3-none-any.whl
 (296 kB)
Collecting black==25.1.0 (from apache-iotdb-ainode==2.0.5)
  Using cached 
https://pypi.tuna.tsinghua.edu.cn/packages/21/d4/7518c72262468430ead45cf22bd86c883a6448b9eb43672765d69a8f1248/black-25.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
 (1.7 MB)
Collecting dynaconf<4.0.0,>=3.1.11 (from apache-iotdb-ainode==2.0.5)
  Using cached 
https://pypi.tuna.tsinghua.edu.cn/packages/26/68/51adede38ab2ee9ecfddb8b60a80a42b618a72f1018fcf60974e5d852831/dynaconf-3.2.12-py2.py3-none-any.whl
 (237 kB)
Collecting einops<0.9.0,>=0.8.1 (from apache-iotdb-ainode==2.0.5)
  Using cached 
https://pypi.tuna.tsinghua.edu.cn/packages/87/62/9773de14fe6c45c23649e98b83231fffd7b9892b6cf863251dc2afa73643/einops-0.8.1-py3-none-any.whl
 (64 kB)
Collecting hmmlearn<0.4.0,>=0.3.0 (from apache-iotdb-ainode==2.0.5)
  Using cached 
https://pypi.tuna.tsinghua.edu.cn/packages/76/7f/9fdd1f6077e2b33f4c4bb05638cfdfe7c2c7a103a8ddfd3439a7b9157cb3/hmmlearn-0.3.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
 (165 kB)
Collecting huggingface_hub<0.31.0,>=0.30.1 (from apache-iotdb-ainode==2.0.5)
  Using cached 
https://pypi.tuna.tsinghua.edu.cn/packages/93/27/1fb384a841e9661faad1c31cbfa62864f59632e876df5d795234da51c395/huggingface_hub-0.30.2-py3-none-any.whl
 (481 kB)
Collecting isort==6.0.1 (from apache-iotdb-ainode==2.0.5)
  Using cached 
https://pypi.tuna.tsinghua.edu.cn/packages/c1/11/114d0a5f4dabbdcedc1125dee0888514c3c3b16d3e9facad87ed96fad97c/isort-6.0.1-py3-none-any.whl
 (94 kB)
Collecting numpy<2.0.0,>=1.21.4 (from apache-iotdb-ainode==2.0.5)
  Using cached 
https://pypi.tuna.tsinghua.edu.cn/packages/3a/d0/edc009c27b406c4f9cbc79274d6e46d634d139075492ad055e3d68445925/numpy-1.26.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
 (18.3 MB)
Collecting optuna<4.0.0,>=3.2.0 (from apache-iotdb-ainode==2.0.5)
  Using cached 
https://pypi.tuna.tsinghua.edu.cn/packages/8b/9e/f74ceef93fa8026dc423a290244eed610d4fad77a077d88cc0913a678133/optuna-3.6.2-py3-none-any.whl
 (380 kB)
Collecting pandas>=2.2.0 (from apache-iotdb-ainode==2.0.5)
  Using cached 
https://pypi.tuna.tsinghua.edu.cn/packages/bf/c9/63f8d545568d9ab91476b1818b4741f521646cbdd151c6efebf40d6de6f7/pandas-2.3.3-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
 (12.8 MB)
Collecting pmdarima<3.0.0,>=2.0.4 (from apache-iotdb-ainode==2.0.5)
  Using cached 
https://pypi.tuna.tsinghua.edu.cn/packages/35/1c/e41fee54ec90e1e3c4ee7871710b8c370fa02a54cb09979aa140e0abec16/pmdarima-2.0.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
 (2.2 MB)
Collecting psutil<6.0.0,>=5.9.5 (from apache-iotdb-ainode==2.0.5)
  Using cached 
https://pypi.tuna.tsinghua.edu.cn/packages/c5/4f/0e22aaa246f96d6ac87fe5ebb9c5a693fbe8877f537a1022527c47ca43c5/psutil-5.9.8-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
 (288 kB)
Collecting requests<3.0.0,>=2.31.0 (from apache-iotdb-ainode==2.0.5)
  Using cached 
https://pypi.tuna.tsinghua.edu.cn/packages/1e/db/4254e3eabe8020b458f1a747140d32277ec7a271daf1d235b70dc0b4e6e3/requests-2.32.5-py3-none-any.whl
 (64 kB)
Collecting safetensors<0.6.0,>=0.5.1 (from apache-iotdb-ainode==2.0.5)
  Using cached 
https://pypi.tuna.tsinghua.edu.cn/packages/a6/f8/dae3421624fcc87a89d42e1898a798bc7ff72c61f38973a65d60df8f124c/safetensors-0.5.3-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
 (471 kB)
Collecting sktime==0.38.3 (from apache-iotdb-ainode==2.0.5)
  Using cached 
https://pypi.tuna.tsinghua.edu.cn/packages/56/fb/1e0eaa288e77086c2b7dd4a81b87a24feb3563bacea52fd69e265529c882/sktime-0.38.3-py3-none-any.whl
 (35.5 MB)
Collecting thrift>=0.14.0 (from apache-iotdb-ainode==2.0.5)
  Using cached thrift-0.22.0-cp311-cp311-linux_x86_64.whl
INFO: pip is looking at multiple versions of apache-iotdb-ainode to determine 
which version is compatible with other requirements. This could take a while.
ERROR: Ignored the following versions that require a different python version: 
0.10.0 Requires-Python >=3.7,<3.10; 0.10.1 Requires-Python >=3.7,<3.10; 0.11.0 
Requires-Python >=3.7,<3.10; 0.11.1 Requires-Python >=3.7,<3.10; 0.11.2 
Requires-Python >=3.7,<3.10; 0.11.3 Requires-Python >=3.7,<3.10; 0.11.4 
Requires-Python >=3.7,<3.10; 0.12.0 Requires-Python >=3.7,<3.10; 0.12.1 
Requires-Python >=3.7,<3.10; 0.13.0 Requires-Python >=3.7,<3.11; 0.13.1 
Requires-Python >=3.7,<3.11; 0.13.2 Requires-Python >=3.7,<3.11; 0.13.3 
Requires-Python >=3.7,<3.11; 0.13.4 Requires-Python >=3.7,<3.11; 0.14.0 
Requires-Python >=3.7,<3.11; 0.14.1 Requires-Python >=3.7,<3.11; 0.15.0 
Requires-Python >=3.7,<3.11; 0.15.1 Requires-Python >=3.7,<3.11; 0.16.0 
Requires-Python >=3.7,<3.11; 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
ERROR: Could not find a version that satisfies the requirement torch>=2.7.1 
(from apache-iotdb-ainode) (from versions: 1.13.0, 1.13.0+cpu, 1.13.1, 
1.13.1+cpu, 2.0.0, 2.0.0+cpu, 2.0.1, 2.0.1+cpu, 2.1.0, 2.1.0+cpu, 2.1.1, 
2.1.1+cpu, 2.1.2, 2.1.2+cpu, 2.2.0, 2.2.0+cpu, 2.2.1, 2.2.1+cpu, 2.2.2, 
2.2.2+cpu, 2.3.0, 2.3.0+cpu, 2.3.1, 2.3.1+cpu, 2.4.0, 2.4.1, 2.5.0, 2.5.1, 
2.6.0)
ERROR: No matching distribution found for torch>=2.7.1
Failed to install AINode

但是我安装ainode-2.0.4就可以成功,现在暂时只能先用 ainode-2.0.4,
<img width="1074" height="203" alt="image" 
src="https://github.com/user-attachments/assets/3d62d01d-8a6d-4d92-a7bb-d8a59dbeda7a";
 />


我的操作系统信息:
<img width="784" height="367" alt="image" 
src="https://github.com/user-attachments/assets/8f0957a8-1b2d-420b-a5b4-12d63e610fd4";
 />


我的cpu信息:
<img width="777" height="447" alt="image" 
src="https://github.com/user-attachments/assets/c45f962d-eabf-4ea8-b2b8-305b6281efdf";
 />


我已经安装了 对应版本的 torch 
<img width="746" height="389" alt="image" 
src="https://github.com/user-attachments/assets/9c939a25-88f1-4af9-a3c3-f26bb0f22749";
 />


GitHub link: https://github.com/apache/iotdb/discussions/16684

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to