can*_*map 5 python powershell remoteexception
我正在学习用Python编写代码(并且第一次使用Powershell),所以我认为我的问题非常基础.当我尝试在PS中运行任何Python脚本时,我收到类似下面的错误.我在网上找到的主要建议是(1)确保我将执行策略设置为不受限制,以及(2)编辑我的路径以包括"c:\Python27;c:\Python27\Scripts"我已完成这两件事.我还应该尝试什么?
PS C:\windows\system32> python
python.exe : Python 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit (Intel)] on win32
At line:1 char:7
+ python <<<<
+ CategoryInfo : NotSpecified: (Python 2.7.6 (d...ntel)] on win32:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
Type "help", "copyright", "credits" or "license" for more information.
Run Code Online (Sandbox Code Playgroud)
小智 5
这可能是由于64位/ 32位不匹配。假设您使用的是64位的“ Powershell”或“ Powershell ISE”,请尝试在“ Powershell(x86)”中运行python命令。
| 归档时间: |
|
| 查看次数: |
3207 次 |
| 最近记录: |