sudo apt install python3-pip python3-venv python3 -m venv pdftext source pdftext/bin/activate which pip3 pip3 install --upgrade pip pip3 install pycrypto six pip3 install pdfminer.six deactivate #パッケージリスト pip3 freeze #アップグレード pip3 install [name] -U pip3 freeze > packages.txt pip3 install -r packages.txt