Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bash bin/init.sh status的时候 /bin/activate 找不到文件 该怎么解决 #5729

Open
22 tasks
Net-defense opened this issue Oct 25, 2024 · 11 comments
Open
22 tasks
Assignees

Comments

@Net-defense
Copy link

New Algorithm

  • Name:
  • Category:

Short Description

WIP

  • Main Code

    • sub task 1
    • sub task 2
    • ...
  • Docs

  • Pipeline

    • code
      • param
      • component
    • doc for new component
  • Example

    • pipeline
    • dsl
    • benchmark_quality

Check and Acceptance

  • PR

    • add reviewer: @mgqa34 @dylan-fan
    • add assigner
    • add labels
    • link projects
    • link this issue
  • Confirm Params consistent between federatedml and pipeline

  • Examples tested

@mgqa34
Copy link
Contributor

mgqa34 commented Oct 25, 2024

部署方法用的是哪种?哪个版本

@Net-defense
Copy link
Author

部署方法用的是哪种?哪个版本

2.2.0版本 在主机中部署的

@yx0090sh
Copy link

用的那种方法部署的呢? allinone, ansible , docker, standalone?

@Net-defense
Copy link
Author

用的那种方法部署的呢? allinone, ansible , docker, standalone?

在主机中部署的(官网文档中对应的第三种方法),安装包名字是standalone_fate_docker_image_2.2.0

@yx0090sh
Copy link

你应该是用错了部署的方法, bash bin/init.sh status 对应的部署包应该是standalone_fate_install_2.2.0_release
standalone_fate_docker_image_2.2.0 不需要执行这句话的,
详细信息可以参考 https://github.com/FederatedAI/FATE/blob/master/deploy/standalone-deploy/README.zh.md

@Net-defense
Copy link
Author

你应该是用错了部署的方法, bash bin/init.sh status 对应的部署包应该是standalone_fate_install_2.2.0_release standalone_fate_docker_image_2.2.0 不需要执行这句话的, 详细信息可以参考 https://github.com/FederatedAI/FATE/blob/master/deploy/standalone-deploy/README.zh.md

不好意思,上次我说错了,我用的是standalone_fate_install_2.1.0_release 在主机中部署,
执行bin/init.sh,Package 'libaio1' has no installation candidate
执行bash bin/init.sh status依然找不到/bin/activate
问题依然存在

@yx0090sh
Copy link

yx0090sh commented Nov 1, 2024

你应该是用错了部署的方法, bash bin/init.sh status 对应的部署包应该是standalone_fate_install_2.2.0_release standalone_fate_docker_image_2.2.0 不需要执行这句话的, 详细信息可以参考 https://github.com/FederatedAI/FATE/blob/master/deploy/standalone-deploy/README.zh.md

不好意思,上次我说错了,我用的是standalone_fate_install_2.1.0_release 在主机中部署, 执行bin/init.sh,Package 'libaio1' has no installation candidate 执行bash bin/init.sh status依然找不到/bin/activate 问题依然存在

机器有基础依赖没有被安装,Linux 执行 sudo yum install libaio

@Net-defense
Copy link
Author

你应该是用错了部署的方法, bash bin/init.sh status 对应的部署包应该是standalone_fate_install_2.2.0_release standalone_fate_docker_image_2.2.0 不需要执行这句话的, 详细信息可以参考 https://github.com/FederatedAI/FATE/blob/master/deploy/standalone-deploy/README.zh.md

不好意思,上次我说错了,我用的是standalone_fate_install_2.1.0_release 在主机中部署, 执行bin/init.sh,Package 'libaio1' has no installation candidate 执行bash bin/init.sh status依然找不到/bin/activate 问题依然存在

机器有基础依赖没有被安装,Linux 执行 sudo yum install libaio

libaio下载后 执行bash bin/init.sh status依然找不到/bin/activate

@yx0090sh
Copy link

yx0090sh commented Nov 1, 2024

/bin/activate 是指的根目录下的? fate 的bin 目录下是没有activate的, 我在我这边的机器上看了下, /bin 根目录下的bin也是没有activate 的, 能给下执行后的具体报错吗

@Net-defense
Copy link
Author

/bin/activate 是指的根目录下的? fate 的bin 目录下是没有activate的, 我在我这边的机器上看了下, /bin 根目录下的bin也是没有activate 的, 能给下执行后的具体报错吗

image
具体报错是这样的

@yx0090sh
Copy link

yx0090sh commented Nov 5, 2024

bin/activate 是在部署python时用到的, 在部署包 bin/init_env.sh 里面有写
具体的bin/activate 在 /data/projects/standalone_fate_install_2.1.0_release/env/python/venv
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants