I was trying to actually Install biopython on my new mac. Python 2.7 is already installed in it. To install biopython I found is good to install with macports. Now to install macports I need xcode but after running Xcode I installed macports which successfully installed. Then tried to install biopython using this command: sudo port install py27-biopython But ended up in a warning like this: Warning: The Command Line Tools for Xcode don't appear to be installed; most ports will likely fail to build.
Warning: See http://guide.macports.org/chunked/installing.xcode.html for more information. ---> Computing dependencies for py27-biopythonError: Unable to execute port: can't read "build.cmd": Failed to locate 'make' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it? To report a bug, see http://guide.macports.org/#project.tickets
What should I be doing as I am very new to mac os
Start Xcode on the Mac. Choose Preferences from the Xcode menu. In the General window, click the Locations tab. On the Location window, check that the Command Line Tools option shows the Xcode version (with which the Command Line Tools were installed).
The Command Line Tools Package is a small self-contained package available for download separately from Xcode and that allows you to do command line development in macOS. It consists of the macOS SDK and command-line tools such as Clang, which are installed in the /Library/Developer/CommandLineTools directory.
We'll use Finder to find out if XCode is installed. In Finder, select the Go pull-down menu, and select Applications. Or just use the short-cut key Command-Shift-A while Finder is active. This should open a new Finder window, showing all the Applications installed on your machine.
You can get Xcode from the Mac App Store as a free download. From within that (in the preferences | downloads) you can download and install the command line tools.
You might also need to tell the command line tools to use the versions within the Xcode app bundle rather than those in /Developer
which aren't there with the new package based install.
Run this from the Terminal:
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
Don't forget what I forgot: After installing Xcode 4.3, the Command Line Tools must be installed. This is done from the Downloads section of Xcode's preferences!!!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With