在我的Mac电脑上使用apt有点困难。如果运行sudo apt search或sudo apt-get,就会在终端中得到以下错误:
Unable to locate an executable at "/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/bin/apt" (-1)
我正在运行Sierra10.12.4,并试图在Mac上使用md5sum命令。
对此有什么想法吗?
我在MAC狮子上,不断收到错误消息,在试图安装rails和mysql时,无法构建创业板本机扩展。
这就是我要做的。我进入:
$ sudo gem install rails
错误消息
Building native extensions. This could take a while...
ERROR: Error installing rails:
ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby e
这是在Mac OS X Mavericks中。
我从下载了“用于Java开发人员的Eclipse IDE”。
我从下载了ADT (Android Developer Tools)插件。点击了"Get the SDK for an existing IDE“链接,而不是ADT + Eclipse按钮。
我在.bash_profile中设置了路径:
export PATH=${PATH}:~/Developer/android-sdk-mac_x86/platforms
export PATH=${PATH}:~/Developer/android-sdk-mac_x86/platform
我刚刚在mac上成功安装了MySql,根据网站的信息,我应该在终端中输入以下命令才能开始:
cd /usr/local/mysql
sudo ./bin/mysqld_safe
我输入了命令,在我的MySQLPrefs面板上,它显示MySql服务器正在运行,但是在我的终端上没有发生任何其他事情。它只是显示了
Starting mysqld daemon with databases from /usr/local/mysql-5.5.28-osx10.6-x86/data
我知道这是个愚蠢的问题,但我现在该怎么办?
我尝试在我的电脑上安装android sdk 5.1.1,实际上没有安装sdk,我得到了这个错误:
Preparing to install archives
Downloading SDK Platform Android 5.1.1, API 22, revision 2
Download interrupted: bad record MAC
Downloading Intel x86 Atom System Image, Android API 19, revision 3
Resuming Intel x86 Atom System Image, Android API 19,
我在Mac上安装了MySQL,但是当我使用虚拟环境创建Django项目时,它似乎找不到MySQLdb,是不是因为我在创建的虚拟环境中没有MySQL和MySQLdb?
Should I have a seperated MySQL and MySQLbd for each virtualenv?
What about MySQLworkbench, should i do the same, if I want to use it?
我在Mac osX maverick上安装mysql2时遇到了问题。请看我得到的回复
Muhammeds-MacBook-Pro:second_app muhammedz786$ gem install mysql2 --platform=ruby -- '--with-mysql-dir="C:\mysql-connector\"'
Building native extensions with: '--with-mysql-dir="C:\mysql-connector\"'
This could take a while.