简体   繁体   English

安装Python时出现问题

[英]Problems installing Python

I was having trouble installing Python 2.7 on my system and initially I thought it was because I had Python 3.3 installed first (which was working fine). 我在系统上安装Python 2.7时遇到了麻烦,起初我以为是因为我先安装了Python 3.3(工作正常)。

So, I removed Python 3 and started a fresh installation of Python 2.7.8. 因此,我删除了Python 3并开始全新安装Python 2.7.8。 Though it installs without any problem, it refuses to run. 尽管安装没有问题,但它拒绝运行。 If I try to open IDLE from Start in Windows nothing happens. 如果我尝试从Windows中的“开始”中打开“空闲”,则不会发生任何事情。 When I go to cmd and type: 当我转到cmd并键入:

C:\Python27> .\python.exe

I get the following error: 我收到以下错误:

ImportError: No module named site

How can I get Python to install properly? 我如何才能正确安装Python?

PS I also have an academic license for Enthought Canopy. 附言:我还拥有“思想冠层”的学术许可证。 The problem persists with that too. 问题仍然存在。 It installs without any error, but just refuses to open. 它的安装没有任何错误,但是拒绝打开。

1) Not clear if you tried to start Canopy itself, which is the final step in installation setup, as described in User Guide: http://docs.enthought.com/canopy/quick-start/install_windows.html 1)不清楚是否尝试启动Canopy本身,这是安装设置的最后一步,如《用户指南》中所述: http : //docs.enthought.com/canopy/quick-start/install_windows.html

2) If Canopy itself won't start, check this article: https://support.enthought.com/entries/22508619-Windows-Canopy-shortcut-in-Start-menu-doesn-t-do-anything 2)如果Canopy本身无法启动,请查看以下文章: https : //support.enthought.com/entries/22508619-Windows-Canopy-shortcut-in-Start-menu-doesn-t-do-anything

3) The Canopy GU application does everything that IDLE does, and more, so I would recommend using it once you get it running. 3)Canopy GU应用程序可以完成IDLE所做的所有工作,并且还可以做更多的事情,因此,我建议您在运行后再使用它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM