Monday, August 24, 2015

ONLINECLASSES No9 how to install NLTK using pip install nltk

ONLINECLASSES No10

hello there
in this tutorial im going to show you some easy way to install nltk framework for natural language processing .nltk is the framework that you can easily analyse the natural language to computer understandable language.im not going to talk about NLP here because its huge area.i like to share my knowledge with you i'm hoping to provide simple NLP tutorial lessons in future.
wel lets go to work


how to install NLTK in python 3.4 in windows computer


first you need to setup pip(python installer package).here is the my previous tutorial about install pip module in windows computer
http://hackkat.blogspot.com/2015/08/how-to-install-pippython-installer.html

now its easy open command prompt in administrative mode

click on image to better view





then type pip install nltk and then press enter



that's is now its started to download and it will automatically install NLTK module in to your computer
you can verify if it is installed or not by typing import nltk in python IDE if its shows no errors you have successfully install NLTK
Have a good day
please if you like this post share on facebook twitter,if you have any question please leave a comment below
#installnltkusingpip,#pipinstallnltk,#nltk,#nlppython


ONLINECLASSES No 8How to install pip(python installer Package)

ONLINECLASSES No8 pip install

hello there.how are you hope you are fine in today lesson i'm going to teach a simple lesson .its about
pip install.in python 2.7 version there is no inbuilt pip so we need to configure the pip in to our computer but in python 3.x versions its contain the pip module by default. That's means you don't need to install pip separately.

usefulness of pip

when you are setup pip you can easily install python modules in few types

ok then lets go to work

first you need to download python latest version from this link https://www.python.org/downloads/

after that install python 
then you have done
 but when you are considering about the pip .there is still problem because our computer doesn't know where is the pip is exact location of pip so we have to go to the python folder and script folder see image below




then copy link address

in my computer its c://python34/script


then you have to go to system variables for that right click on my computer go to properties and then go to advance settings then environmental variables






then you can see the variable name path then select it and click edit then you get new window and be careful not to delete any thing in here at the end of the line just put ; mark and then past the link that you copied here is the screenshot of mine you can easily understand



then click ok  and you are ready to go
 then open command prompt and type pip if all the things are OK then you can get all the modules you can use with pip

thanks for watching if you are like my tutorial please share in Facebook,twitter and if you have any question about my tutorial please leave a comment
have a good day
by
Sameera Dissanayaka

#pipinstall,#howtoinstallpipinpython3.4,#pythonforbeginners,#hackkatpython

Wednesday, August 12, 2015

ONLINECLASSES No7 How to install FeedParser in Python

ONLINECLASSES No7

Hi friends today im going to show how to install FeedParser Python library for RSS feed parsing
its easy

Go to command prompt and type

pip install feedparser

some times you will get error because PIP is not installed in your system but in python 2.7 pip did not came along.but python 3.x version embedded with the pip (python installer package)
you have to do easy step
go to your python installed directory and open Lib folder and copy the addres path then
go to my computer and right click then go to properties
advance system settings then environmental variables then path and click edit then at the edn of line type ; semi colon and then past the copied path
just like java path setup
then click OK and then you can open cmd and type pip if it work you get long message



#feedparser, #pythonfeed,#pythonrssfeed #beautifulsoup

Sunday, August 9, 2015

ONLINECLASSES No 6 Please ensure Intel HAXM is properly installed and usable. CPU acceleration status: HAX kernel module is not installed!

ONLINECLASSES No 6 Error Fix #Please ensure Intel HAXM is properly installed and usable. CPU acceleration status: HAX kernel module is not installed!

hi my friends. I try to install and use Android studio and when i run emulator it shows up the error
Please ensure Intel HAXM is properly installed and usable. CPU acceleration status: HAX kernel module is not installed!
so i tried several method and finally i got the answer
its simple
Open your Android Studio and make sure to open SDK manager and then make sure to install 






Intel x86 Emulator Accelerator (HAXM installer).or if it is already installed delete package and reinstall package 

then go to your App data folder
in my case C:\Users\sameera\AppData\Local\Android\sdk\extras\intel\Hardware_Accelerated_Execution_Manager


then there is bat file and the application exe named as intelhaxm-android then run it as administrator


then it install Intel HAXM and then it ask for the memory allocation for emulator default value is the 2GB so leave it as it is
thats it now you can run your project in your emulator


thank you
have fun
Sameera Dissanayaka


# IntelHAXM #CPUaccelerationstatus #HAXkernelmodule