#1220 c2net 报错

Closed
created 3 months ago by daishj · 1 comments
daishj commented 3 months ago
<!-- 为了更有效地识别与解决您的问题,请尽可能的补充如下信息 --> ### 问题描述 文档混淆 https://openi.pcl.ac.cn/docs/index.html#/cloudbrain/codepath https://openi.pcl.ac.cn/OpenIOSSG/MNIST_Example/src/branch/master/train.py ### 相关环境(GPU/NPU) NPU ### 相关集群(启智/智算) 启智 ### 任务类型(调试/训练/推理) 训练 ### 任务名 daish202401182289575 报错代码`c2net_context = prepare()` 安装c2net出错 ``` Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Collecting c2net Downloading https://pypi.tuna.tsinghua.edu.cn/packages/f3/39/edf916a7bd6992897bf24fc772a2e46e1570eab164faec798c10c1c81aa1/c2net-0.0.6-py3-none-any.whl (10 kB) Installing collected packages: c2net Successfully installed c2net-0.0.6 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv If you have any problems while preparing the data, you can submit an issue in this repository: https://openi.pcl.ac.cn/OpenIOSSG/c2net-pypi Traceback (most recent call last): File "/home/work/user-job-dir/code/train.py", line 97, in <module> c2net_context = prepare() File "/usr/local/ma/python3.7/lib/python3.7/site-packages/c2net/context/context.py", line 25, in prepare code_path = prepare_code() File "/usr/local/ma/python3.7/lib/python3.7/site-packages/c2net/context/download.py", line 10, in prepare_code raise ValueError(f'❌ Failed to obtain environment variables. Please set the {constants.DATA_DOWNLOAD_METHOD} environment variables.') ValueError: ❌ Failed to obtain environment variables. Please set the DATA_DOWNLOAD_METHOD environment variables. ``` ### 日志说明或问题截图 ### 期望的解决方案或建议 统一文档,解决c2net bug
liuzx commented 3 months ago
Collaborator
c2net还没上线
liuzx closed this issue 3 months ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.