Ubuntu Python3環境設定

qiita.com

Python in Visual Studio Code – April 2018 Release – Python at Microsoft

sudo apt install python3-pip python3-dev python3-tk

python -m pip install --upgrade pip

mkdir my_project
cd my_project

pip3 install pipenv
source ~/.profile

pipenv --three

pipenv install beautifulsoup4
pipenv install requests
pipenv install html5lib
pipenv install lxml
pipenv install selenium

pipenv install --dev pylint
pipenv install --dev flake8
pipenv install --dev pycodestyle
pipenv install --dev pydocstyle

pipenv install --dev autopep8
pipenv install --dev yapf

pipenv install tensorflow
pipenv install keras
pipenv install jupyter
pipenv install matplotlib
pipenv install seaborn
pipenv install pandas
pipenv install openpyxl

Pipfile

[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
"beautifulsoup4" = "*"
requests = "*"
"html5lib" = "*"
lxml = "*"
selenium = "*"
tensorflow = "*"
keras = "*"
jupyter = "*"
matplotlib = "*"
seaborn = "*"
pandas = "*"
openpyxl = "*"

[dev-packages]
pylint = "*"
"flake8" = "*"
pycodestyle = "*"
pydocstyle = "*"
"autopep8" = "*"
yapf = "*"

[requires]
python_version = "3.6"

[scripts]
fix = "yapf -i -r ."