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

关于动态库的问题 #24

Open
dyc-d opened this issue Jun 27, 2023 · 24 comments
Open

关于动态库的问题 #24

dyc-d opened this issue Jun 27, 2023 · 24 comments
Labels
help wanted Extra attention is needed

Comments

@dyc-d
Copy link

dyc-d commented Jun 27, 2023

ZFZC}F%N4%M%33$(T$UNR L

我是在执行 python expriment.py时遇到这个问题
我想请教下这个动态库未定义应该怎么办 已经配置好久环境了,ku
网上查的方式都试过了 都不太行

@neardws
Copy link
Owner

neardws commented Jun 28, 2023

你要不先试试把环境里安装的包打印出来,看看是否和https://github.com/neardws/Game-Theoretic-Deep-Reinforcement-Learning/blob/main/environment.yml 中一致

@neardws neardws added the help wanted Extra attention is needed label Jun 28, 2023
@dyc-d
Copy link
Author

dyc-d commented Jun 28, 2023

你要不先试试把环境里安装的包打印出来,看看是否和https://github.com/neardws/Game-Theoretic-Deep-Reinforcement-Learning/blob/main/environment.yml 中一致

十分感谢您的回复, 我首先执行conda env create -f environment.yml 在安装某些包时报错而终止,然后我到处requirements.txt文件,并使用pip -r requirements.txt 命令安装所需要的全部包
检查后和您提供的https://github.com/neardws/Game-Theoretic-Deep-Reinforcement-Learning/blob/main/environment.yml中的包版本全部一致,但就是运行不起来。
还有一个问题 请问您的包全部使用conda命令安装的嘛?
图片1

@lwc6666
Copy link

lwc6666 commented Jun 29, 2023

你要先尝试把环境里安装的包打印出来,看看是否和https://github.com/neardws/Game-Theoretic-Deep-Reinforcement-Learning/blob/main/environment.yml中一致

十分感谢您的回复,我首先执行conda env create -fenvironment.yml在安装某些包时报错而终止,然后我到处requirements.txt文件,并使用pip -rrequirements.txt命令安装所需要的全部包 检查后和您提供的https://github.com/neardws/Game-Theoretic-Deep-Reinforcement-Learning/blob/main/environment.yml 中的包版本全部一致,但就是运行不起来。 还有一个问题请问你的包全部用conda命令安装的嘛? 图片1

我使用unbuntu20.04,conda命令直接安装就成功了,好像报了一个依赖错误,我把protobuf==3.20.0,改成3.20.1就ok了

@dyc-d
Copy link
Author

dyc-d commented Jun 29, 2023

你这么容易就装好了嘛 我又试了一遍还是同样的错误 QAQ

@lwc6666
Copy link

lwc6666 commented Jun 29, 2023

你这么容易就装好了嘛 我又试了一遍还是同样的错误 QAQ

换源试试?我用了阿里的

@dyc-d
Copy link
Author

dyc-d commented Jun 29, 2023

你这么容易就装好了嘛 我又试了一遍还是同样的错误 QAQ

换源试试?我用了阿里的

好的 感谢您的回复 我再试试

@neardws
Copy link
Owner

neardws commented Jul 5, 2023

你的python版本是64位的吗?TensorFlow只支持64位的python,详细要求可以参考https://www.tensorflow.org/install/pip

@XTianYu
Copy link

XTianYu commented Jul 13, 2023

ZFZC}F%N4%M%33$(T$UNR L

我是在执行 python expriment.py时遇到这个问题 我想请教下这个动态库未定义应该怎么办 已经配置好久环境了,ku 网上查的方式都试过了 都不太行

我遇到的问题和你一样,只不过是最后的so文件不一样,请问您解决的了吗?

@XTianYu
Copy link

XTianYu commented Jul 13, 2023

你要先尝试把环境里安装的包打印出来,看看是否和https://github.com/neardws/Game-Theoretic-Deep-Reinforcement-Learning/blob/main/environment.yml中一致

十分感谢您的回复,我首先执行conda env create -fenvironment.yml在安装某些包时报错而终止,然后我到处requirements.txt文件,并使用pip -rrequirements.txt命令安装所需要的全部包 检查后和您提供的https://github.com/neardws/Game-Theoretic-Deep-Reinforcement-Learning/blob/main/environment.yml 中的包版本全部一致,但就是运行不起来。 还有一个问题请问你的包全部用conda命令安装的嘛? 图片1

我使用unbuntu20.04,conda命令直接安装就成功了,好像报了一个依赖错误,我把protobuf==3.20.0,改成3.20.1就ok了

我是把全部的包都安装好了,后面的是用pip命令,然后在跑代码的过程中报了动态库的错误

@Jadaeu
Copy link

Jadaeu commented Jul 14, 2023

你要先尝试把环境里安装的包打印出来,看看是否和https://github.com/neardws/Game-Theoretic-Deep-Reinforcement-Learning/blob/main/environment.yml中一致

十分感谢您的回复,我首先执行conda env create -fenvironment.yml在安装某些包时报错而终止,然后我到处requirements.txt文件,并使用pip -rrequirements.txt命令安装所需要的全部包 检查后和您提供的https://github.com/neardws/Game-Theoretic-Deep-Reinforcement-Learning/blob/main/environment.yml 中的包版本全部一致,但就是运行不起来。 还有一个问题请问你的包全部用conda命令安装的嘛? 图片1

我使用unbuntu20.04,conda命令直接安装就成功了,好像报了一个依赖错误,我把protobuf==3.20.0,改成3.20.1就ok了

我是把全部的包都安装好了,后面的是用pip命令,然后在跑代码的过程中报了动态库的错误
请问您用的是unbuntu系统吗?我用的windows,但代码一直跑不起来,报库导入的错误,是操作系统的问题吗?

@XTianYu
Copy link

XTianYu commented Jul 14, 2023

你要先尝试把环境里安装的包打印出来,看看是否和https://github.com/neardws/Game-Theoretic-Deep-Reinforcement-Learning/blob/main/environment.yml中一致

十分感谢您的回复,我首先执行conda env create -fenvironment.yml在安装某些包时报错而终止,然后我到处requirements.txt文件,并使用pip -rrequirements.txt命令安装所需要的全部包 检查后和您提供的https://github.com/neardws/Game-Theoretic-Deep-Reinforcement-Learning/blob/main/environment.yml 中的包版本全部一致,但就是运行不起来。 还有一个问题请问你的包全部用conda命令安装的嘛? 图片1

我使用unbuntu20.04,conda命令直接安装就成功了,好像报了一个依赖错误,我把protobuf==3.20.0,改成3.20.1就ok了

我是把全部的包都安装好了,后面的是用pip命令,然后在跑代码的过程中报了动态库的错误
请问您用的是unbuntu系统吗?我用的windows,但代码一直跑不起来,报库导入的错误,是操作系统的问题吗?

对,我用的是unbuntu,我看很多包都只有Linux版本的

@whiplashen
Copy link

你这么容易就装好了嘛 我又试了一遍还是同样的错误 QAQ

Ubuntu20系统,你用的是Windows吧

@shafahi
Copy link

shafahi commented Jul 27, 2023

你好
非常感谢您的好节目。
根据此处给出的指南和说明,我安装了所有软件包并创建了 conda 环境,没有任何问题。
我只是有一个问题。 考虑到我的机器的处理器版本较低(Intel(R) Core(TM) i7 CPU Q720 @ 1.60GHz),我遇到以下错误:
“TensorFlow 库被编译为使用 AVX 指令,但这些指令在您的计算机上不可用”
您对此有什么建议或者可以使用其他版本的 Tensorflow 吗?
谢谢

@Abdul-Baaki
Copy link

Error

Hello.
Thank you for the great work put in here. The code has been a great resource, however, I had the above error trying to execute MADDPG and MAD4PG. I run D4PG successfully. I will be glad for assistance.

@dyc-d
Copy link
Author

dyc-d commented Sep 14, 2023

ows

我是用的是ubuntu系统,没解决

@Weiji-0823
Copy link

你要先尝试把环境里安装的包打印出来,看看是否和https://github.com/neardws/Game-Theoretic-Deep-Reinforcement-Learning/blob/main/environment.yml中一致

十分感谢您的回复,我首先执行conda env create -fenvironment.yml在安装某些包时报错而终止,然后我到处requirements.txt文件,并使用pip -rrequirements.txt命令安装所需要的全部包 检查后和您提供的https://github.com/neardws/Game-Theoretic-Deep-Reinforcement-Learning/blob/main/environment.yml 中的包版本全部一致,但就是运行不起来。 还有一个问题请问你的包全部用conda命令安装的嘛? 图片1

我使用unbuntu20.04,conda命令直接安装就成功了,好像报了一个依赖错误,我把protobuf==3.20.0,改成3.20.1就ok了

我是把全部的包都安装好了,后面的是用pip命令,然后在跑代码的过程中报了动态库的错误
请问您用的是unbuntu系统吗?我用的windows,但代码一直跑不起来,报库导入的错误,是操作系统的问题吗?

对,我用的是unbuntu,我看很多包都只有Linux版本的

请问解决了吗,我用的unbuntu20.04,但是也出现了这个报错

@Weiji-0823
Copy link

你要不先试试把环境里安装的包打印出来,看看是否和https://github.com/neardws/Game-Theoretic-Deep-Reinforcement-Learning/blob/main/environment.yml 中一致

请问作者进行实验时,linux具体用的什么版本?

@Weiji-0823
Copy link

请问作者进行实验时,linux具体用的什么版本?

@Suyame
Copy link

Suyame commented Dec 13, 2023

你这么容易就装好了嘛 我又试了一遍还是同样的错误 QAQ

Ubuntu20系统,你用的是Windows吧

你好,我最近配环境也遇到了这个问题,请问你解决了吗?

@Suyame
Copy link

Suyame commented Dec 13, 2023

你要不先试试把环境里安装的包打印出来,看看是否和https://github.com/neardws/Game-Theoretic-Deep-Reinforcement-Learning/blob/main/environment.yml 中一致

请问作者进行实验时,linux具体用的什么版本?

好兄弟,请问解决了吗

@YingQ1104
Copy link

Error

Hello. Thank you for the great work put in here. The code has been a great resource, however, I had the above error trying to execute MADDPG and MAD4PG. I run D4PG successfully. I will be glad for assistance.

@Abdul-Baaki
Hello. I have occurred the same situation with you. How did you slove the problem about index out of range? I really appreciate if you could help.

@Abdul-Baaki
Copy link

Error
Hello. Thank you for the great work put in here. The code has been a great resource, however, I had the above error trying to execute MADDPG and MAD4PG. I run D4PG successfully. I will be glad for assistance.

@Abdul-Baaki Hello. I have occurred the same situation with you. How did you slove the problem about index out of range? I really appreciate if you could help.

Yes I do find a solution to it. In "make_environment.py" make sure to switch the get_default_environment to (for_mad4pg=True) and same goes to MADDPG; The lines shown below

if name == "main":
# for d4pg
get_default_environment(flatten_space=True)
# for mad4pg
# get_default_environment(for_mad5pg=True)

@kkkkkke6
Copy link

Error你好。感谢您在这里所做的出色工作。代码是一个很好的资源,但是,我在尝试执行 MADDPG 和 MAD4PG 时遇到了上述错误。我成功运行了 D4PG。我很乐意为您提供帮助。

你好。我和你也发生过同样的情况。你是怎么解决索引超出范围的问题的?如果你能帮忙,我真的很感激。

是的,我确实找到了解决方案。在“make_environment.py”中,确保将get_default_environment切换到 (for_mad4pg=True),MADDPG 也是如此;如下所示的线条

if name == “main”: # for d4pg get_default_environment(flatten_space=True) # for mad4pg # get_default_environment(for_mad5pg=True)

Can you give the software running version? Is it windows? Thank you!

@SuperLuckyStar666
Copy link

楼主您好,请问这篇论文的Table 1中 𝑙𝑒( Location of edge node 𝑒)的值是如何设置的呢?用的是数据集中的数据吗?我在代码中没找到边缘节点位置值设置的这个代码。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests