forked from apache/mxnet
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Quick install script for MXNet with Python on Ubuntu. Fixing few brok…
…en links and header renaming (apache#3560) * Adding quick installation procedure for Ubuntu and Python interface. * Fixing broken links. Renaming tutorials. MXNet roadmap link in community page.
- Loading branch information
1 parent
cf00ca0
commit cd86d5e
Showing
13 changed files
with
84 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/usr/bin/env bash | ||
###################################################################### | ||
# This script installs MXNet for Python along with all required dependencies on a Ubuntu Machine. | ||
# Tested on Ubuntu 14.0 + distro. | ||
###################################################################### | ||
set -e | ||
|
||
echo "Installing build-essential, libatlas-base-dev, libopencv-dev..." | ||
|
||
sudo apt-get update | ||
sudo apt-get install -y build-essential libatlas-base-dev libopencv-dev | ||
|
||
echo "Installing MXNet core. This can take few minutes..." | ||
cd ~/MXNet/mxnet/ | ||
make -j$(nproc) | ||
|
||
echo "Installing Numpy..." | ||
sudo apt-get install python-numpy | ||
|
||
echo "Installing Python setuptools..." | ||
sudo apt-get install python-setuptools | ||
|
||
echo "Installing Python package for MXNet..." | ||
cd python; sudo python setup.py install | ||
|
||
echo "Adding MXNet path to your ~/.bashrc file" | ||
echo "export PYTHONPATH=~/MXNet/mxnet/python" >> ~/.bashrc | ||
|
||
echo "Done! MXNet for Python installation is complete. Go ahead and explore MXNet with Python :-)" |