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

macOS Catalina 10.15.5 无法打开「解决方案」 #2

Open
ou-bing opened this issue Jul 16, 2020 · 18 comments
Open

macOS Catalina 10.15.5 无法打开「解决方案」 #2

ou-bing opened this issue Jul 16, 2020 · 18 comments

Comments

@ou-bing
Copy link

ou-bing commented Jul 16, 2020

macOS Catalina 10.15.5 打开 App 会提示 无法加载 Python 3.7,
直接将 /usr/local/opt/python/Frameworks/Python.framework/Versions/3.8 目录拷贝为 3.7 解决。

@FuckDoctors
Copy link
Owner

编译环境默认使用Python 3.7,自己本地可以加软链接。
onewe/RedisDesktopManager-Mac#26 (comment)

@FuckDoctors
Copy link
Owner

FuckDoctors commented Aug 9, 2020

最新的Github Action的macOS镜像默认使用了Python 3.8,但是编译会出错,编译时改成了3.7。
打不开时,除了上面的方法,还可以替换编译后的rdm的依赖:

install_name_tool -change /usr/local/opt/python@3.7/Frameworks/Python.framework/Versions/3.7/Python /usr/local/opt/python3/Frameworks/Python.framework/Versions/3.7/Python '/Applications/Redis Desktop Manager.app/Contents/MacOS/Redis Desktop Manager'

python路径改成自己电脑相应路径。

@CodingOX
Copy link

我是通过如下方式解决的:

brew install python@3.7
sudo pip3 install -r https://raw.githubusercontent.com/uglide/RedisDesktopManager/2020/src/py/requirements.txt --upgrade

搞定

@Diluka
Copy link

Diluka commented Sep 27, 2020

2020.3版启用提示更新到2020.3版,点ok就关了,怎么搞?

@FuckDoctors
Copy link
Owner

2020.3版启用提示更新到2020.3版,点ok就关了,怎么搞?

请确保安装了python@3.7,并按上述任一方式正确配置python@3.7的依赖。

@onewe
Copy link

onewe commented Sep 29, 2020

@FuckDoctors 在打包的时候可以把python拷到app目录中,然后改一下依赖的路径,你试一试唉

@FuckDoctors
Copy link
Owner

@FuckDoctors 在打包的时候可以把python拷到app目录中,然后改一下依赖的路径,你试一试唉

嗯,回头试试
主要是现在macOS已经挺大了,再把python打进去感觉体积会更大。。
win下的是把python-embeded的部分内容打进去了,体积还可接受

@p-golovin
Copy link

p-golovin commented Oct 2, 2020

Hi! Is there any solution for Catalina?

@imchao9
Copy link

imchao9 commented Oct 3, 2020

我是通过如下方式解决的:

brew install python@3.7
sudo pip3 install -r https://raw.githubusercontent.com/uglide/RedisDesktopManager/2020/src/py/requirements.txt --upgrade

搞定

需要在/usr/local/opt
ln -s python@3.7 python
加个软链接

@FuckDoctors
Copy link
Owner

Hi! Is there any solution for Catalina?

Make sure that you have installed Python 3.7.

brew install python@3.7

Then make a soft link like this:

cd /usr/local/opt
ln -s python@3.7 python

or, you can change the dependent shared library by install_name_tool -change

install_name_tool -change /usr/local/opt/python@3.7/Frameworks/Python.framework/Versions/3.7/Python /usr/local/opt/python3/Frameworks/Python.framework/Versions/3.7/Python '/Applications/Redis Desktop Manager.app/Contents/MacOS/Redis Desktop Manager'

@FuckDoctors
Copy link
Owner

我是通过如下方式解决的:

brew install python@3.7
sudo pip3 install -r https://raw.githubusercontent.com/uglide/RedisDesktopManager/2020/src/py/requirements.txt --upgrade

搞定

需要在/usr/local/opt
ln -s python@3.7 python
加个软链接

如果没有其他冲突的话,加软链接比较方便,如果有用到3.8的话,使用install_name_tool -change单独修改rdm的依赖项更好一些。

@ccwxl
Copy link

ccwxl commented Dec 31, 2020

mac 11.0.1 打开报错

@kelvinchanjl
Copy link

big sur版本打开就报错

@FuckDoctors
Copy link
Owner

@siaron @kelvinchanjl
macOS 11.1亲测可以,修改python的依赖就可以了。

brew install python@3.7
install_name_tool -change /usr/local/opt/python@3.7/Frameworks/Python.framework/Versions/3.7/Python /usr/local/opt/python@3.7/Frameworks/Python.framework/Versions/3.7/Python /Applications/RDM.app/Contents/MacOS/RDM

@kelvinchanjl
Copy link

@siaron @kelvinchanjl
macOS 11.1亲测可以,修改python的依赖就可以可以了。

酿造安装python@3.7
install_name_tool -change /usr/local/opt/python@3.7/Frameworks/Python.framework/Versions/3.7/Python /usr/local/opt/python@3.7/Frameworks/Python.framework/Versions/3.7/Python / Applications / RDM.app/内容/ MacOS / RDM

谢谢,解决了,但是不支持ssh

@gtfd333
Copy link

gtfd333 commented Feb 3, 2021

Make sure that you have installed Python 3.7.

brew install python@3.7
Then make a soft link like this:

cd /usr/local/opt
ln -s python@3.7 python

install_name_tool -change /usr/local/opt/python@3.7/Frameworks/Python.framework/Versions/3.7/Python /usr/local/opt/python3/Frameworks/Python.framework/Versions/3.7/Python '/Users/xxx/Applications/RDM.app/Contents/MacOS/RDM'

@jayzch
Copy link

jayzch commented Jul 30, 2021

M1芯片的有支持的吗?

@FuckDoctors
Copy link
Owner

M1芯片用户,请参考下面的资料,尝试安装不同的版本的Homebrew。
#22 (comment)

For Apple M1 users, you may need to install 2 homebrew versions.
TIP | The BEST way to install Homebrew (Brew) on Apple Silicon (M1)

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

No branches or pull requests