Re: Installing "kitchen" module

2018-01-22 Thread Paul Moore
On 22 January 2018 at 17:20,   wrote:
> On Tuesday, 23 January 2018 03:41:28 UTC+10:30, Paul  Moore  wrote:
>> "python -m pip install kitchen" is probably your best approach (from
>> the CMD prompt).
>>
>> On 22 January 2018 at 16:31,   wrote:
>> > On Tuesday, 23 January 2018 02:56:56 UTC+10:30, Paul  Moore  wrote:
>> >> You need to run that command from a CMD prompt, not from inside the
>> >> Python interpreter.
>> >>
>> >> On 22 January 2018 at 16:19,  cody wrote:
>> >> > On Tuesday, 23 January 2018 02:41:04 UTC+10:30, bream...@gmail.com  
>> >> > wrote:
>> >> >> On Monday, January 22, 2018 at 3:37:44 PM UTC, codyda...@gmail.com 
>> >> >> wrote:
>> >> >> > So here's the situation. I am unfamiliar with Python but need it to 
>> >> >> > export a wiki, so I have been following this tutorial, using the 
>> >> >> > latest version of Python 2 on Windows 7:
>> >> >> >
>> >> >> > https://github.com/WikiTeam/wikiteam/wiki/Tutorial#I_have_no_shell_access_to_server
>> >> >> >
>> >> >> > I have everything working up to the point where I run it and it 
>> >> >> > tells me this:
>> >> >> >
>> >> >> > "Please install the Kitchen module.
>> >> >> > Please install or update the Requests module."
>> >> >> >
>> >> >> > One suggestion was that I try "import kitchen", but that gives me 
>> >> >> > this error:
>> >> >> >
>> >> >> > "Traceback :
>> >> >> >   File "", line 1, in 
>> >> >> > ImportError: No module named kitchen"
>> >> >> >
>> >> >> > So I went to https://pypi.python.org/pypi/kitchen/ to download it, 
>> >> >> > but that hasn't helped. Maybe it needs to be in a specific folder to 
>> >> >> > work?
>> >> >> >
>> >> >> > Any help would be appreciated.
>> >> >> >
>> >> >> > P.S. Here is someone else running into the same problem but they 
>> >> >> > seemed to have fixed it through a solution that didn't work for me 
>> >> >> > (it doesn't recognise a command called sudo in the first place when 
>> >> >> > I type it): https://github.com/WikiTeam/wikiteam/issues/252
>> >> >>
>> >> >> Forget sudo as that's a *nix command.  From the command line you 
>> >> >> should be able to run:-
>> >> >>
>> >> >> pip install kitchen
>> >> >> pip install requests
>> >> >>
>> >> >> --
>> >> >> Kindest regards.
>> >> >>
>> >> >> Mark Lawrence.
>> >> >
>> >> > Here's what I see when I try that. Maybe I'm missing some kind of 
>> >> > initial setup? https://i.imgur.com/XQHO19W.png
>> >> > --
>> >> > https://mail.python.org/mailman/listinfo/python-list
>> >
>> > https://imgur.com/a/NfMJJ <- Still not much luck, unless I'm still at the 
>> > wrong place
>> > --
>> > https://mail.python.org/mailman/listinfo/python-list
>
> Thanks, that seems to have worked. Out of curiosity, what did that change?

The key is that you have to run the command at the CMD prompt, not at
the Python interpreter prompt. The two commands "pip" and "python -m
pip" are basically equivalent, but the executables "python.exe" and
"pip.exe" are installed in different places, and it's possible that
one might be on your PATH but not the other. I knew you were able to
run "python", so I recommended "python -m pip" to avoid the risk that
"pip" wouldn't work because of PATH issues.

Hope that clarifies.
Paul
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Installing "kitchen" module

2018-01-22 Thread codydaviestv
On Tuesday, 23 January 2018 03:41:28 UTC+10:30, Paul  Moore  wrote:
> "python -m pip install kitchen" is probably your best approach (from
> the CMD prompt).
> 
> On 22 January 2018 at 16:31,   wrote:
> > On Tuesday, 23 January 2018 02:56:56 UTC+10:30, Paul  Moore  wrote:
> >> You need to run that command from a CMD prompt, not from inside the
> >> Python interpreter.
> >>
> >> On 22 January 2018 at 16:19,  cody wrote:
> >> > On Tuesday, 23 January 2018 02:41:04 UTC+10:30, bream...@gmail.com  
> >> > wrote:
> >> >> On Monday, January 22, 2018 at 3:37:44 PM UTC, codyda...@gmail.com 
> >> >> wrote:
> >> >> > So here's the situation. I am unfamiliar with Python but need it to 
> >> >> > export a wiki, so I have been following this tutorial, using the 
> >> >> > latest version of Python 2 on Windows 7:
> >> >> >
> >> >> > https://github.com/WikiTeam/wikiteam/wiki/Tutorial#I_have_no_shell_access_to_server
> >> >> >
> >> >> > I have everything working up to the point where I run it and it tells 
> >> >> > me this:
> >> >> >
> >> >> > "Please install the Kitchen module.
> >> >> > Please install or update the Requests module."
> >> >> >
> >> >> > One suggestion was that I try "import kitchen", but that gives me 
> >> >> > this error:
> >> >> >
> >> >> > "Traceback :
> >> >> >   File "", line 1, in 
> >> >> > ImportError: No module named kitchen"
> >> >> >
> >> >> > So I went to https://pypi.python.org/pypi/kitchen/ to download it, 
> >> >> > but that hasn't helped. Maybe it needs to be in a specific folder to 
> >> >> > work?
> >> >> >
> >> >> > Any help would be appreciated.
> >> >> >
> >> >> > P.S. Here is someone else running into the same problem but they 
> >> >> > seemed to have fixed it through a solution that didn't work for me 
> >> >> > (it doesn't recognise a command called sudo in the first place when I 
> >> >> > type it): https://github.com/WikiTeam/wikiteam/issues/252
> >> >>
> >> >> Forget sudo as that's a *nix command.  From the command line you should 
> >> >> be able to run:-
> >> >>
> >> >> pip install kitchen
> >> >> pip install requests
> >> >>
> >> >> --
> >> >> Kindest regards.
> >> >>
> >> >> Mark Lawrence.
> >> >
> >> > Here's what I see when I try that. Maybe I'm missing some kind of 
> >> > initial setup? https://i.imgur.com/XQHO19W.png
> >> > --
> >> > https://mail.python.org/mailman/listinfo/python-list
> >
> > https://imgur.com/a/NfMJJ <- Still not much luck, unless I'm still at the 
> > wrong place
> > --
> > https://mail.python.org/mailman/listinfo/python-list

Thanks, that seems to have worked. Out of curiosity, what did that change?
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Installing "kitchen" module

2018-01-22 Thread Paul Moore
"python -m pip install kitchen" is probably your best approach (from
the CMD prompt).

On 22 January 2018 at 16:31,   wrote:
> On Tuesday, 23 January 2018 02:56:56 UTC+10:30, Paul  Moore  wrote:
>> You need to run that command from a CMD prompt, not from inside the
>> Python interpreter.
>>
>> On 22 January 2018 at 16:19,  cody wrote:
>> > On Tuesday, 23 January 2018 02:41:04 UTC+10:30, bream...@gmail.com  wrote:
>> >> On Monday, January 22, 2018 at 3:37:44 PM UTC, codyda...@gmail.com wrote:
>> >> > So here's the situation. I am unfamiliar with Python but need it to 
>> >> > export a wiki, so I have been following this tutorial, using the latest 
>> >> > version of Python 2 on Windows 7:
>> >> >
>> >> > https://github.com/WikiTeam/wikiteam/wiki/Tutorial#I_have_no_shell_access_to_server
>> >> >
>> >> > I have everything working up to the point where I run it and it tells 
>> >> > me this:
>> >> >
>> >> > "Please install the Kitchen module.
>> >> > Please install or update the Requests module."
>> >> >
>> >> > One suggestion was that I try "import kitchen", but that gives me this 
>> >> > error:
>> >> >
>> >> > "Traceback :
>> >> >   File "", line 1, in 
>> >> > ImportError: No module named kitchen"
>> >> >
>> >> > So I went to https://pypi.python.org/pypi/kitchen/ to download it, but 
>> >> > that hasn't helped. Maybe it needs to be in a specific folder to work?
>> >> >
>> >> > Any help would be appreciated.
>> >> >
>> >> > P.S. Here is someone else running into the same problem but they seemed 
>> >> > to have fixed it through a solution that didn't work for me (it doesn't 
>> >> > recognise a command called sudo in the first place when I type it): 
>> >> > https://github.com/WikiTeam/wikiteam/issues/252
>> >>
>> >> Forget sudo as that's a *nix command.  From the command line you should 
>> >> be able to run:-
>> >>
>> >> pip install kitchen
>> >> pip install requests
>> >>
>> >> --
>> >> Kindest regards.
>> >>
>> >> Mark Lawrence.
>> >
>> > Here's what I see when I try that. Maybe I'm missing some kind of initial 
>> > setup? https://i.imgur.com/XQHO19W.png
>> > --
>> > https://mail.python.org/mailman/listinfo/python-list
>
> https://imgur.com/a/NfMJJ <- Still not much luck, unless I'm still at the 
> wrong place
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Installing "kitchen" module

2018-01-22 Thread codydaviestv
On Tuesday, 23 January 2018 02:56:56 UTC+10:30, Paul  Moore  wrote:
> You need to run that command from a CMD prompt, not from inside the
> Python interpreter.
> 
> On 22 January 2018 at 16:19,  cody wrote:
> > On Tuesday, 23 January 2018 02:41:04 UTC+10:30, bream...@gmail.com  wrote:
> >> On Monday, January 22, 2018 at 3:37:44 PM UTC, codyda...@gmail.com wrote:
> >> > So here's the situation. I am unfamiliar with Python but need it to 
> >> > export a wiki, so I have been following this tutorial, using the latest 
> >> > version of Python 2 on Windows 7:
> >> >
> >> > https://github.com/WikiTeam/wikiteam/wiki/Tutorial#I_have_no_shell_access_to_server
> >> >
> >> > I have everything working up to the point where I run it and it tells me 
> >> > this:
> >> >
> >> > "Please install the Kitchen module.
> >> > Please install or update the Requests module."
> >> >
> >> > One suggestion was that I try "import kitchen", but that gives me this 
> >> > error:
> >> >
> >> > "Traceback :
> >> >   File "", line 1, in 
> >> > ImportError: No module named kitchen"
> >> >
> >> > So I went to https://pypi.python.org/pypi/kitchen/ to download it, but 
> >> > that hasn't helped. Maybe it needs to be in a specific folder to work?
> >> >
> >> > Any help would be appreciated.
> >> >
> >> > P.S. Here is someone else running into the same problem but they seemed 
> >> > to have fixed it through a solution that didn't work for me (it doesn't 
> >> > recognise a command called sudo in the first place when I type it): 
> >> > https://github.com/WikiTeam/wikiteam/issues/252
> >>
> >> Forget sudo as that's a *nix command.  From the command line you should be 
> >> able to run:-
> >>
> >> pip install kitchen
> >> pip install requests
> >>
> >> --
> >> Kindest regards.
> >>
> >> Mark Lawrence.
> >
> > Here's what I see when I try that. Maybe I'm missing some kind of initial 
> > setup? https://i.imgur.com/XQHO19W.png
> > --
> > https://mail.python.org/mailman/listinfo/python-list

https://imgur.com/a/NfMJJ <- Still not much luck, unless I'm still at the wrong 
place
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Installing "kitchen" module

2018-01-22 Thread alister via Python-list
On Mon, 22 Jan 2018 08:19:51 -0800, codydaviestv wrote:

> On Tuesday, 23 January 2018 02:41:04 UTC+10:30, bream...@gmail.com 
> wrote:
>> On Monday, January 22, 2018 at 3:37:44 PM UTC, codyda...@gmail.com
>> wrote:
>> > So here's the situation. I am unfamiliar with Python but need it to
>> > export a wiki, so I have been following this tutorial, using the
>> > latest version of Python 2 on Windows 7:
>> > 
>> > https://github.com/WikiTeam/wikiteam/wiki/
Tutorial#I_have_no_shell_access_to_server
>> > 
>> > I have everything working up to the point where I run it and it tells
>> > me this:
>> > 
>> > "Please install the Kitchen module.
>> > Please install or update the Requests module."
>> > 
>> > One suggestion was that I try "import kitchen", but that gives me
>> > this error:
>> > 
>> > "Traceback :
>> >   File "", line 1, in 
>> > ImportError: No module named kitchen"
>> > 
>> > So I went to https://pypi.python.org/pypi/kitchen/ to download it,
>> > but that hasn't helped. Maybe it needs to be in a specific folder to
>> > work?
>> > 
>> > Any help would be appreciated.
>> > 
>> > P.S. Here is someone else running into the same problem but they
>> > seemed to have fixed it through a solution that didn't work for me
>> > (it doesn't recognise a command called sudo in the first place when I
>> > type it): https://github.com/WikiTeam/wikiteam/issues/252
>> 
>> Forget sudo as that's a *nix command.  From the command line you should
>> be able to run:-
>> 
>> pip install kitchen pip install requests
>> 
>> --
>> Kindest regards.
>> 
>> Mark Lawrence.
> 
> Here's what I see when I try that. Maybe I'm missing some kind of
> initial setup? https://i.imgur.com/XQHO19W.png

run it from the windows command line not the Python prompt



-- 
Scientists will study your brain to learn more about your distant cousin, 
Man.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Installing "kitchen" module

2018-01-22 Thread Paul Moore
You need to run that command from a CMD prompt, not from inside the
Python interpreter.

On 22 January 2018 at 16:19,   wrote:
> On Tuesday, 23 January 2018 02:41:04 UTC+10:30, bream...@gmail.com  wrote:
>> On Monday, January 22, 2018 at 3:37:44 PM UTC, codyda...@gmail.com wrote:
>> > So here's the situation. I am unfamiliar with Python but need it to export 
>> > a wiki, so I have been following this tutorial, using the latest version 
>> > of Python 2 on Windows 7:
>> >
>> > https://github.com/WikiTeam/wikiteam/wiki/Tutorial#I_have_no_shell_access_to_server
>> >
>> > I have everything working up to the point where I run it and it tells me 
>> > this:
>> >
>> > "Please install the Kitchen module.
>> > Please install or update the Requests module."
>> >
>> > One suggestion was that I try "import kitchen", but that gives me this 
>> > error:
>> >
>> > "Traceback :
>> >   File "", line 1, in 
>> > ImportError: No module named kitchen"
>> >
>> > So I went to https://pypi.python.org/pypi/kitchen/ to download it, but 
>> > that hasn't helped. Maybe it needs to be in a specific folder to work?
>> >
>> > Any help would be appreciated.
>> >
>> > P.S. Here is someone else running into the same problem but they seemed to 
>> > have fixed it through a solution that didn't work for me (it doesn't 
>> > recognise a command called sudo in the first place when I type it): 
>> > https://github.com/WikiTeam/wikiteam/issues/252
>>
>> Forget sudo as that's a *nix command.  From the command line you should be 
>> able to run:-
>>
>> pip install kitchen
>> pip install requests
>>
>> --
>> Kindest regards.
>>
>> Mark Lawrence.
>
> Here's what I see when I try that. Maybe I'm missing some kind of initial 
> setup? https://i.imgur.com/XQHO19W.png
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Installing "kitchen" module

2018-01-22 Thread breamoreboy
On Monday, January 22, 2018 at 3:37:44 PM UTC, codyda...@gmail.com wrote:
> So here's the situation. I am unfamiliar with Python but need it to export a 
> wiki, so I have been following this tutorial, using the latest version of 
> Python 2 on Windows 7:
> 
> https://github.com/WikiTeam/wikiteam/wiki/Tutorial#I_have_no_shell_access_to_server
> 
> I have everything working up to the point where I run it and it tells me this:
> 
> "Please install the Kitchen module.
> Please install or update the Requests module."
> 
> One suggestion was that I try "import kitchen", but that gives me this error:
> 
> "Traceback :
>   File "", line 1, in 
> ImportError: No module named kitchen"
> 
> So I went to https://pypi.python.org/pypi/kitchen/ to download it, but that 
> hasn't helped. Maybe it needs to be in a specific folder to work?
> 
> Any help would be appreciated.
> 
> P.S. Here is someone else running into the same problem but they seemed to 
> have fixed it through a solution that didn't work for me (it doesn't 
> recognise a command called sudo in the first place when I type it): 
> https://github.com/WikiTeam/wikiteam/issues/252

Forget sudo as that's a *nix command.  From the command line you should be able 
to run:-

pip install kitchen
pip install requests

--
Kindest regards.

Mark Lawrence.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Installing "kitchen" module

2018-01-22 Thread codydaviestv
On Tuesday, 23 January 2018 02:41:04 UTC+10:30, bream...@gmail.com  wrote:
> On Monday, January 22, 2018 at 3:37:44 PM UTC, codyda...@gmail.com wrote:
> > So here's the situation. I am unfamiliar with Python but need it to export 
> > a wiki, so I have been following this tutorial, using the latest version of 
> > Python 2 on Windows 7:
> > 
> > https://github.com/WikiTeam/wikiteam/wiki/Tutorial#I_have_no_shell_access_to_server
> > 
> > I have everything working up to the point where I run it and it tells me 
> > this:
> > 
> > "Please install the Kitchen module.
> > Please install or update the Requests module."
> > 
> > One suggestion was that I try "import kitchen", but that gives me this 
> > error:
> > 
> > "Traceback :
> >   File "", line 1, in 
> > ImportError: No module named kitchen"
> > 
> > So I went to https://pypi.python.org/pypi/kitchen/ to download it, but that 
> > hasn't helped. Maybe it needs to be in a specific folder to work?
> > 
> > Any help would be appreciated.
> > 
> > P.S. Here is someone else running into the same problem but they seemed to 
> > have fixed it through a solution that didn't work for me (it doesn't 
> > recognise a command called sudo in the first place when I type it): 
> > https://github.com/WikiTeam/wikiteam/issues/252
> 
> Forget sudo as that's a *nix command.  From the command line you should be 
> able to run:-
> 
> pip install kitchen
> pip install requests
> 
> --
> Kindest regards.
> 
> Mark Lawrence.

Here's what I see when I try that. Maybe I'm missing some kind of initial 
setup? https://i.imgur.com/XQHO19W.png
-- 
https://mail.python.org/mailman/listinfo/python-list


Installing "kitchen" module

2018-01-22 Thread codydaviestv
So here's the situation. I am unfamiliar with Python but need it to export a 
wiki, so I have been following this tutorial, using the latest version of 
Python 2 on Windows 7:

https://github.com/WikiTeam/wikiteam/wiki/Tutorial#I_have_no_shell_access_to_server

I have everything working up to the point where I run it and it tells me this:

"Please install the Kitchen module.
Please install or update the Requests module."

One suggestion was that I try "import kitchen", but that gives me this error:

"Traceback :
  File "", line 1, in 
ImportError: No module named kitchen"

So I went to https://pypi.python.org/pypi/kitchen/ to download it, but that 
hasn't helped. Maybe it needs to be in a specific folder to work?

Any help would be appreciated.

P.S. Here is someone else running into the same problem but they seemed to have 
fixed it through a solution that didn't work for me (it doesn't recognise a 
command called sudo in the first place when I type it): 
https://github.com/WikiTeam/wikiteam/issues/252
-- 
https://mail.python.org/mailman/listinfo/python-list