import subprocess; subprocess.Popen("python -m pip install sqlalchemy", stdout=subprocess.PIPE).communicate()
On Wed, Feb 22, 2017 at 1:28 PM William Gan <ganwill...@outlook.com> wrote: > Good day, > > > > I got your email from the Installing Python Modules page in the Python > 3.6.0 documentation. > > > > I encountered an error when trying to install a package in the Python IDLE > shell: > > >>> python -m pip install numpy > > SyntaxError: invalid syntax > > > > I am using Windows 10. > > > > I have not been able to find any solution to this. Could you please help? > Alternatively, please direct me to a web group for help. > > > > Many thanks. > > Gan william > > > > > _______________________________________________ > Distutils-SIG maillist - Distutils-SIG@python.org > https://mail.python.org/mailman/listinfo/distutils-sig >
_______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig