Wednesday, June 26, 2013

Install Numpy and Open CV In ARCHLINUX BASE

 INSTALLATION OF NUMPY AND OPEN CV IN ARCH LINUX


Get Pyhton Set up

Ok, this one should be obvious, but you’ll need Python 3 installed.

Checking of pyhton version : $ pyhton --version

If you wanna install python : $ sudo pacman -S pyhton

Next, you will need to install VirtualEnv : $ sudo pacman -S python-virtualenv

This allow you to create virtual environments, which I highly recomended.

READ MORE : https://www.petanikode.com/python-virtualenv/ 

 

Create a Virtual Environment 

It’s incredibly easy to set up a python virtual environment in Arch. I’ll set up a folder named “cvtest”.

$ virtualenv cvtest

$ cd cvtest

$ source bin/activate

Now you have your environment set up, and you can use pip to install what you need.



Install some libraries

1. Installing package of numpy with command $ pip install numpy

2. Verify whether numpy is now part of your python package $ pip show numpy

3. To upgrade the numpy version $ pip install --upgrade numpy

4. Installing package of opencv with command $ pip install opencv-pyhton

READ MORE : https://www.jeremymorgan.com/tutorials/linux/how-to-opencv-arch-linux/

0 comments:

Post a Comment

Contact

Talk to us

Hello, I'm Galang Adira, alumni of Physics with the concentration of electronics and instrumentation, Diponegoro University, Semarang. If you need help with theoretical physics and projects with the application of physics. you can find me in the contact below.

Address:

Jalan Gondang Timur 3 No. 48 Bulusan Tembalang Semarang

Work Time:

Monday - Friday from 9am to 5pm

Phone:

0882-3319-3295

Adira Corporation. Powered by Blogger.