import pip, pip._internal, pip._internal.commands

pkgs = [
    'imageio',
    'jedi',
    'jupyter',
    'mu-editor',
    'mypy',
    'notebook',
    'numpy',
    'Pillow',
    'pygame',
    'pyserial',
    'pytest',
    'scipy',
    'sympy',
    'thonny'
    ]

for pkg in pkgs:
    pip._internal.main(['install', pkg])