conda
conda create -n fems python=3 matplotlib pandas
conda info --envs
source activate fems
conda list
conda install -n fems flask
python app.py
Make sure your host is like below
app.run(host='0.0.0.0',port=8080, debug=True)
nohup python app.py &
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
http://conda.pydata.org/docs/using/envs.html
Managing environments
To create a new environment, use the conda create command, followed by any name you wish to call (/envs/snowflakes)
conda create --name snowflakes biopython
conda create --name bunnies python=3 astroid babel
----------------------------
Change environments (activate/deactivate)
Linux, OS X: source activate snowflakes
Windows: activate snowflakes
------------------------------------
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
---Anaconda installation on AWS
wget https://repo.continuum.io/archive/Anaconda2-5.0.1-Linux-x86_64.sh
ls -lrt
bash Anaconda2-5.0.1-Linux-x86_64.sh
source .bashrc
cd ..
source .bashrc
conda update conda
conda
conda info --envs
pwd
cd ../python
cd ..
pwd
cd bitnami/python/
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
PyPDF
PyCharm
- Create a Conda Env (Say PyPDF)...may take some time
- -Close PyCharm
- Go to Anaconda console. Check "conda info --envs"
- -You should find new Env "C:\Users\shaw\AppData\Local\Continuum\Anaconda\envs\PyPDF2"
- Activate the Env (PyPDF) : activate PyPDF2
- pip install pypdf2
- After that check Installation : "conda list"
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Pdfminer
Anaconda Console
-- conda info --envs
Chreate Conda env with Python 2.7
-Download http://www.unixuser.org/~euske/python/pdfminer/index.html#install
- Go to the extracted dir [ ]Cd C:\software\pdfminer-master ]
mkdir pdfminer\cmap
python tools\conv_cmap.py -c B5=cp950 -c UniCNS-UTF8=utf-8 pdfminer\cmap Adobe-CNS1 cmaprsrc\cid2code_Adobe_CNS1.txt
python tools\conv_cmap.py -c GBK-EUC=cp936 -c UniGB-UTF8=utf-8 pdfminer\cmap Adobe-GB1 cmaprsrc\cid2code_Adobe_GB1.txt
python tools\conv_cmap.py -c RKSJ=cp932 -c EUC=euc-jp -c UniJIS-UTF8=utf-8 pdfminer\cmap Adobe-Japan1 cmaprsrc\cid2code_Adobe_Japan1.txt
python tools\conv_cmap.py -c KSC-EUC=euc-kr -c KSC-Johab=johab -c KSCms-UHC=cp949 -c UniKS-UTF8=utf-8 pdfminer\cmap Adobe-Korea1 cmaprsrc\cid2code_Adobe_Korea1.txt
python setup.py install
Open PyCharm Proj and work