2017-12-30 13:09:51 +08:00
|
|
|
import pip
|
|
|
|
|
|
|
|
try:
|
|
|
|
pip.main(['install', '--user', 'gitpython'])
|
2018-01-11 00:44:47 +08:00
|
|
|
except SystemExit as e:
|
|
|
|
pass
|
|
|
|
|
|
|
|
try:
|
|
|
|
pip.main(['install', '--user', 'langdetect'])
|
2017-12-30 13:09:51 +08:00
|
|
|
except SystemExit as e:
|
|
|
|
pass
|