-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
新版MacbookAir M1芯片无法安装paddlepaddle怎么办? #32377
Comments
您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网API文档、常见问题、历史Issue、AI社区来寻求解答。祝您生活愉快~ Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the API,FAQ,Github Issue and AI community to get the answer.Have a nice day! |
我们测试是可以pip install安装的,请检查pip源是否可用;如果还有问题,请提供给我们具体不能安装的wheel包链接,谢谢 |
conda activate py38 用pip安装,用百度自己的源,直接报错,怎么破? |
安装了mini-conda,在python3.8.8下运行pip install,直接找不到合适的版本 |
Try docker? |
现在解决了吗,我这里测试pro M1芯片是可以安装的,尝试下先把旧版本paddle 卸载掉:sudo pip3 uninstall paddlepaddle,再安装最新版本paddle(2.1): python3 -m pip install paddlepaddle -i https://mirror.baidu.com/pypi/simple,注意2.1 版本的paddle 不再支持python27 和python35 |
并没有解决,我是在M1芯片的macbook air上安装了mini-forge的conda,然后创建python3.8的环境,在该环境下想安装paddlepaddle,运行命令: 直接就报错了,根本没有安装成功过,还有什么注意点? |
paddlepaddle官方安装文档中的pip安装部分写着: python -c "import platform;print(platform.architecture()[0]);print(platform.machine())" 我的M1的macbook air是arm64架构,看文档是不支持的,你们是怎么做到能装的? |
M1 都是arm64架构的,试下用mac 自带的python环境安装paddlepaddle,看看这样能成功吗 |
一样的报错信息,找不到合适的包. |
你可以联系一下这个邮箱,我把安装包发给你:[email protected] |
发信给这个邮箱直接退信了,不在权限范围内... |
同样的问题。我似乎解决了。
outputRunning verify PaddlePaddle program ...
PaddlePaddle works well on 1 CPU.
W0822 09:52:02.317059 8523264 fuse_all_reduce_op_pass.cc:76] Find all_reduce operators: 2. To make the speed faster, some all_reduce ops are fused during training, after fusion, the number of all_reduce ops is 2.
PaddlePaddle works well on 2 CPUs.
PaddlePaddle is installed successfully! Let's start deep learning with PaddlePaddle now. |
厉害~ |
谢谢!!终于有人解决了我的问题,确实是安装了miniforge的conda,给你点赞! |
非常感谢~~ |
我尝试打开了一下百度镜像的网站,确实返回错误信息。可以尝试更换清华的源:https://pypi.tuna.tsinghua.edu.cn/simple |
应该没挂,主要是 conda 创建 python 的默认版本从 3.9 变成了 3.10,而 paddle 还不支持 python3.10,所以就会报类似「找不到」的错啦~ 可以通过在创建环境时指定具体版本号解决,比如指定为 3.9 CONDA_SUBDIR=osx-64 conda create -n pd_rosetta python=3.9 我当时也有很长一段时间以为挂掉了,后来才发现默认创建的环境从 3.9 变成了 3.10 了 😂 |
受益!!!!感谢小伙伴们!!!! |
苹果M1芯片的macbook air,实际上GPU还是很强的,tensorflow已经做了适配,paddle会跟进吗?
pip install paddlepaddle -i https://mirror.baidu.com/pypi/simple
Looking in indexes: https://mirror.baidu.com/pypi/simple
ERROR: Could not find a version that satisfies the requirement paddlepaddle
ERROR: No matching distribution found for paddlepaddle
为使您的问题得到快速解决,在建立Issue前,请您先通过如下方式搜索是否有相似问题:【搜索issue关键字】【使用labels筛选】【官方文档】
建立issue时,为快速解决问题,请您根据使用情况给出如下信息:
1)PaddlePaddle版本:请提供您的PaddlePaddle版本号(如1.1)或CommitID
2)CPU:请提供CPU型号,MKL/OpenBlas/MKLDNN/等数学库的使用情况
3)GPU:请提供GPU型号,CUDA和CUDNN版本号
4)系统环境:请说明系统类型、版本(如Mac OS 10.14)、Python版本
注:您可以通过执行summary_env.py获取以上信息。
1)pip安装/docker安装
2)本地编译:请提供cmake命令,编译命令
3)docker编译:请提供docker镜像,编译命令
特殊环境请注明:如离线安装等
Thank you for contributing to PaddlePaddle.
Before submitting the issue, you could search issue in Github in case that there was a similar issue submitted or resolved before.
If there is no solution,please make sure that this is an installation issue including the following details:
System information
-PaddlePaddle version (eg.1.1)or CommitID
-CPU: including CPUMKL/OpenBlas/MKLDNN version
-GPU: including CUDA/CUDNN version
-OS Platform (eg. Mac OS 10.14)
-Python version
Note: You can get most of the information by running summary_env.py.
To Reproduce
Steps to reproduce the behavior
Describe your current behavior
Code to reproduce the issue
Other info / logs
The text was updated successfully, but these errors were encountered: