Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #98013

Re: problems using python in PowerShell

Path csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Random832 <random832@fastmail.com>
Newsgroups comp.lang.python
Subject Re: problems using python in PowerShell
Date Fri, 30 Oct 2015 20:39:43 -0400
Organization A noiseless patient Spider
Lines 21
Message-ID <mailman.2.1446252013.31888.python-list@python.org> (permalink)
References <58590053.215822.1446216815274.JavaMail.yahoo@mail.yahoo.com> <58590053.215822.1446216815274.JavaMail.yahoo@mail.yahoo.com> <CAPTjJmoqPtWf86cwHhD8sPXBgwyp1bBUzABiMVa2SJUnBvu4-w@mail.gmail.com> <88183bdosufbpmj5597e38ahorf4bmpa76@4ax.com>
Mime-Version 1.0
Content-Type text/plain
Injection-Info mx02.eternal-september.org; posting-host="0a58b1380be955ba1fde924ec1d96a09"; logging-data="24922"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/eIgqGera5dg+X/O2iyusv"
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
X-Spam-Status OK 0.003
List-Help <mailto:python-list-request@python.org?subject=help>
X-Mailman-Version 2.1.20+
Cancel-Lock sha1:il7eHxeee6x1NX4l+pZaunRceSs= sha1:ufFpIBh7OuxSu0A46DFP3PjvdRM=
X-BeenThere python-list@python.org
Delivered-To python-list@mail.python.org
List-Id General discussion list for the Python programming language <python-list.python.org>
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:problems': 0.09; 'subject:using': 0.09; 'tends': 0.09; 'python': 0.10; 'subject:python': 0.14; '$path': 0.16; '1:53': 0.16; '>>on': 0.16; 'exactly?': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; '>>>': 0.20; 'windows': 0.20; '2015': 0.20; 'prevent': 0.20; '31,': 0.22; 'am,': 0.23; '(or': 0.23; 'sat,': 0.23; 'header:User-Agent:1': 0.26; 'header:X-Complaints-To:1': 0.26; 'chris': 0.26; 'error': 0.27; 'regular': 0.29; "i'd": 0.31; 'supposed': 0.31; "can't": 0.32; 'message.': 0.33; 'received:comcast.net': 0.33; 'running': 0.34; 'skip:> 10': 0.35; 'level': 0.35; 'but': 0.36; 'instead': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'aspects': 0.37; 'things': 0.38; 'doing': 0.38; 'hi,': 0.38; 'to:addr:python.org': 0.40; 'some': 0.40; 'your': 0.60; 'behavior': 0.61; 'course': 0.62; 'python-list': 0.66; 'online': 0.71; 'training': 0.78; 'add:': 0.84; 'dennis': 0.91
X-Gmane-NNTP-Posting-Host c-68-39-146-59.hsd1.in.comcast.net
Precedence list
X-Injected-Via-Gmane http://gmane.org/
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
Xref csiph.com comp.lang.python:98013

Show key headers only | View raw


Dennis Lee Bieber <wlfraed@ix.netcom.com> writes:
> On Sat, 31 Oct 2015 02:09:27 +1100, Chris Angelico <rosuav@gmail.com>
>>On Sat, Oct 31, 2015 at 1:53 AM, josephine ewers via Python-list
>>> Hi,
>>> I am doing an online training course to learn python but when I enter
>>> 'python' in Microsoft PowerShell as I am supposed to do I always get an
>>> error message.
>>
>>What error message, exactly?
>>
>>Is Python installed? Which Python is installed? What OS are you
>>running? What is your $PATH (or %PATH%)? We can't help you with no
>>information.
>>
> 	I'd add: is the behavior the same if using the regular Windows
> "command
> prompt" instead of PowerShell? PowerShell tends to have lots of security
> aspects that prevent some things from running unless the security level has
> been changed.

Also, is this on the console PowerShell or PowerShell ISE?

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: problems using python in PowerShell Random832 <random832@fastmail.com> - 2015-10-30 20:39 -0400

csiph-web