Open ou-bing opened 4 years ago
编译环境默认使用Python 3.7,自己本地可以加软链接。 https://github.com/onewe/RedisDesktopManager-Mac/issues/26#issuecomment-655605029
最新的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路径改成自己电脑相应路径。
我是通过如下方式解决的:
brew install python@3.7
sudo pip3 install -r https://raw.githubusercontent.com/uglide/RedisDesktopManager/2020/src/py/requirements.txt --upgrade
搞定
2020.3版启用提示更新到2020.3版,点ok就关了,怎么搞?
2020.3版启用提示更新到2020.3版,点ok就关了,怎么搞?
请确保安装了python@3.7,并按上述任一方式正确配置python@3.7的依赖。
@FuckDoctors 在打包的时候可以把python拷到app目录中,然后改一下依赖的路径,你试一试唉
@FuckDoctors 在打包的时候可以把python拷到app目录中,然后改一下依赖的路径,你试一试唉
嗯,回头试试 主要是现在macOS已经挺大了,再把python打进去感觉体积会更大。。 win下的是把python-embeded的部分内容打进去了,体积还可接受
Hi! Is there any solution for Catalina?
我是通过如下方式解决的:
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 加个软链接
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'
我是通过如下方式解决的:
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的依赖项更好一些。
mac 11.0.1 打开报错
big sur版本打开就报错
@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
@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
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'
M1芯片的有支持的吗?
M1芯片用户,请参考下面的资料,尝试安装不同的版本的Homebrew。 https://github.com/FuckDoctors/rdm-builder/issues/22#issuecomment-1096150738
For Apple M1 users, you may need to install 2 homebrew versions. TIP | The BEST way to install Homebrew (Brew) on Apple Silicon (M1)
macOS Catalina 10.15.5 打开 App 会提示 无法加载 Python 3.7, 直接将 /usr/local/opt/python/Frameworks/Python.framework/Versions/3.8 目录拷贝为 3.7 解决。