Cannot get any Python commands to work

David dbmarquand at gmail.com
Mon Jun 12 14:06:04 EDT 2017


On Monday, June 12, 2017 at 11:34:41 AM UTC-5, Richard Moseley wrote:
> I believe that you need to be using this as a command rather a module from
> within python, in other words try executing easy_install from the command
> line, or try using pip which is now preferred method of installing new
> third-party packages. You may need to add '-3.6' or '-36' if you have
> multiple versions installed.
> 
> On 12 June 2017 at 15:47, David Marquand <dbmarquand at gmail.com> wrote:
> 
> > I am trying to learn Django and cannot get easy_install to work. Python
> > working on PyDev fine.
> >
> >
> >
> >
> >
> >
> >
> >
> > PS C:\Windows\system32> python
> > Python 3.6.1 (v3.6.1:69c0db5, Mar 21 2017, 18:41:36) [MSC v.1900 64 bit
> > (AMD64)] on win32
> > Type "help", "copyright", "credits" or "license" for more information.
> > >>> easy_install --version
> > Traceback (most recent call last):
> >   File "<stdin>", line 1, in <module>
> > NameError: name 'easy_install' is not defined
> > >>> python
> > Traceback (most recent call last):
> >   File "<stdin>", line 1, in <module>
> > NameError: name 'python' is not defined
> > >>>
> >
> > --
> > https://mail.python.org/mailman/listinfo/python-list
> >

Along with some others, you are right and this worked. Thank you.

David



More information about the Python-list mailing list