Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Praveen2710

macrumors newbie
Original poster
Oct 24, 2013
3
0
sudo apt-get install python-dev python-numpy python-numpy-dev python-setuptools python-numpy-dev python-scipy libatlas-dev g++

I need to use this to install on my mac terminal.
It says apt-get not found is there any way to get this done.

Some one said use macports.I installed it but dont know how to use in precisely. Help would be appreciated.
 
apt-get is mainly used for Debian Linux systems. Mac OS X is not a Debian system nor a Linux system. Python is already installed by default on Mac OS X.
 
sudo apt-get install python-dev python-numpy python-numpy-dev python-setuptools python-numpy-dev python-scipy libatlas-dev g++

I need to use this to install on my mac terminal.
It says apt-get not found is there any way to get this done.

Some one said use macports.I installed it but dont know how to use in precisely. Help would be appreciated.

sudo port install python-dev python-numpy python-numpy-dev python-setuptools python-numpy-dev python-scipy libatlas-dev g++

If the packages are named differently in Mac Ports then you will need to change the names accordingly in the install line. Oh and you may want to do a sudo port selfupdate to make sure you have the latest installed first even though it is new install there may have been updates to the packages or ports itself.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.