MiniBullLab / easy_docker

1 stars 1 forks source link

CMake Error: Could not find CMAKE_ROOT !!! #79

Closed lpj0822 closed 2 years ago

lpj0822 commented 2 years ago

easy_workspace中cmake没有了吗?

vitahlin commented 2 years ago

编译到哪一步出这个问题,cmake正常安装的

lpj0822 commented 2 years ago

编译没有出错,但没有cmake应用程序

vitahlin commented 2 years ago

你执行什么出现这个

lpj0822 commented 2 years ago

在workspace中编译这个出现的 https://github.com/MiniBullLab/easy_sample_mark

vitahlin commented 2 years ago
Collecting pydot
  Downloading https://mirrors.aliyun.com/pypi/packages/ea/76/75b1bb82e9bad3e3d656556eaa353d8cd17c4254393b08ec9786ac8ed273/pydot-1.4.2-py2.py3-none-any.whl (21 kB)
ERROR: Could not find a version that satisfies the requirement netron==5.0.0 (from versions: 5.1.7, 5.2.1)
ERROR: No matching distribution found for netron==5.0.0
ERROR: Service 'workspace' failed to build: The command '/bin/sh -c pip3 install -i https://mirrors.aliyun.com/pypi/simple -r /scripts/ai_requirements.txt &&     pip3 install -i https://mirrors.aliyun.com/pypi/simple -r /scripts/convert_requirements.txt &&     pip3 install -i https://mirrors.aliyun.com/pypi/simple -r /scripts/tools_requirements.txt &&     echo "export PYTHONPATH=/easy_ai/easy_ai:\$PYTHONPATH">>/etc/bash.bashrc &&     /bin/bash -c "source /etc/bash.bashrc"' returned a non-zero code: 1
Build workspace image success.
lpj0822 commented 2 years ago

netron这个库的版本有点问题

lpj0822 commented 2 years ago

netron版本已经修改

vitahlin commented 2 years ago

编译正常啊

vitahlin commented 2 years ago
Step 7/8 : RUN mkdir /easy_data
 ---> Running in 879a6d7a6a33
Removing intermediate container 879a6d7a6a33
 ---> a9fc740cddda
Step 8/8 : WORKDIR /easy_data
 ---> Running in a80275e7157c
Removing intermediate container a80275e7157c
 ---> 9e862dbdc8b1
Successfully built 9e862dbdc8b1
Successfully tagged ai_workspace:latest
Build workspace image success.
lpj0822 commented 2 years ago

在镜像中编译easy_sample_mark,cmake有问题?

lpj0822 commented 2 years ago

重新多编译几次又没问题了

lpj0822 commented 2 years ago

easy_sample_mark可以编译了

MiniBullLab commented 2 years ago

已经测试通过,可以正常编译。