Development Environment setup instructions
Step 1: Install Anaconda on Windows, follow instructions from below link(selecting checkbox to add to PATH env variable is important):
https://medium.com/@GalarnykMichael/install-python-on-windows-anaconda-c63c7c3d1444
run below command from command prompt to get version of python
python --version
Step 2: Install nltk , run below command from command prompt.
pip install nltk
Step 3: Install flask server, run below command from command prompt.
pip install flask
Step 4: from python(run python in command prompt to get python terminal) run below commands
import nltk
nltk.download()
Step 5: PyCharm is ide for python download and install it from http://www.jetbrains.com/pycharm/?fromMenu
Step 6: download chatbotai project from stash repository and unzip it to a folder. open the project using pycharm editor and right click on app.py and select run option.
for any missing modules while running the application, you need to run pip install xxxx where xxxx is module name to resolve the issue.
Hello world program:
print ("Hello World")
copy the line to a file like test.py and run "python test.py" to see the output.
pip is package management system to install and manage packages written in python. It will come by default with python installation like anaconda software.
sample command from windows command prompt "pip install flask" this will installl flask webserver package on to your machine.
https://pypi.python.org/pypi lists the packages available in python.
Step 1: Install Anaconda on Windows, follow instructions from below link(selecting checkbox to add to PATH env variable is important):
https://medium.com/@GalarnykMichael/install-python-on-windows-anaconda-c63c7c3d1444
run below command from command prompt to get version of python
python --version
Step 2: Install nltk , run below command from command prompt.
pip install nltk
Step 3: Install flask server, run below command from command prompt.
pip install flask
Step 4: from python(run python in command prompt to get python terminal) run below commands
import nltk
nltk.download()
Step 5: PyCharm is ide for python download and install it from http://www.jetbrains.com/pycharm/?fromMenu
Step 6: download chatbotai project from stash repository and unzip it to a folder. open the project using pycharm editor and right click on app.py and select run option.
for any missing modules while running the application, you need to run pip install xxxx where xxxx is module name to resolve the issue.
Hello world program:
print ("Hello World")
copy the line to a file like test.py and run "python test.py" to see the output.
pip is package management system to install and manage packages written in python. It will come by default with python installation like anaconda software.
sample command from windows command prompt "pip install flask" this will installl flask webserver package on to your machine.
https://pypi.python.org/pypi lists the packages available in python.
No comments:
Post a Comment