简体   繁体   English

在进行有思想的Canopy安装过程中,canopy.exe无法运行以在Windows 7上安装环境

[英]During Enthought Canopy install, canopy.exe fails to run to setup environment on Windows 7

I have a 64bit Win 7, installed the 64 bit canopy. 我有一个64位的Win 7,安装了64位的顶篷。

The first part installs fine, but if I try to launch canopy to set up the environment from the start menu (or from the desktop icon or " C:\\Program Files\\Enthought\\Canopy\\App\\Canopy.exe " which is where they point) absolutely nothing happens. 第一部分安装良好,但是如果我尝试从开始菜单(或从桌面图标或“ C:\\ Program Files \\ Enthought \\ Canopy \\ App \\ Canopy.exe ”)启动顶棚以设置环境,点)绝对没有任何反应。

This seems to be the same problem that has been reported a few times before: 这似乎是之前几次报告的相同问题:

Canopy Does not Start on Windows 7 despite successful installation 安装成功后,机盖无法在Windows 7上启动

Install 32 bit Canopy on Win 7, 32-bit machine fails 在Win 7上安装32位Canopy,32位计算机失败

Enthought canopy not running 有思想的顶篷没有运行

but none of these questions have been resolved. 但是这些问题都没有解决。 What they all have in common is that they relate to Windows 7. These questions are followed up by a request for the log: "C:\\Users\\\\AppData\\Roaming\\Enthought\\Canopy\\log\\" 它们的共同点在于它们与Windows 7相关。这些问题之后是对日志的请求: “ C:\\ Users \\\\ AppData \\ Roaming \\ Enthought \\ Canopy \\ log \\”

However there are no logs, there isn't even a C:\\Users\\\\AppData\\Roaming\\Enthought directory. 但是,没有日志,甚至没有C:\\ Users \\\\ AppData \\ Roaming \\ Enthought目录。

However I have found that if I go into: 但是我发现如果我进入:

C:\\Program Files\\Enthought\\Canopy\\App\\appdata\\canopy-1.1.0.1371.win-x86_64 C:\\ Program Files \\ Enthought \\ Canopy \\ App \\ appdata \\ canopy-1.1.0.1371.win-x86_64

and run the copy of Canopy.exe in there it allows me to setup the environment and run canopy from within this subdirectory (the desktop and start menu links still fail) . 并在其中运行Canopy.exe副本,它允许我设置环境并从此子目录中运行Canopy(桌面和开始菜单链接仍然失败)。 This also creates the C:\\Users\\\\AppData\\Roaming\\Enthought directory and logs. 这还将创建C:\\ Users \\\\ AppData \\ Roaming \\ Enthought目录和日志。

BUT I am worried if I do this I will cause problems for myself further down the line. 但是我担心如果这样做,会给自己带来麻烦。 Can someone tell me why the canopy.exe linked to in my start menu isn't working? 有人可以告诉我为什么我的开始菜单中链接的canopy.exe无法正常工作吗?

I do have a previous installation of WinPython 2.7 in C:\\Python27\\WinPython-64bit-2.7.5.3 我确实在C:\\ Python27 \\ WinPython-64bit-2.7.5.3中安装了WinPython 2.7

thanks 谢谢

Susie 苏西

Existing PYTHONHOME and/or PYTHONPATH environment variables may be interfering with Canopy startup. 现有的PYTHONHOME和/或PYTHONPATH环境变量可能会干扰Canopy启动。 For details, please see: https://support.enthought.com/entries/22508619-Windows-Canopy-shortcut-in-Start-menu-doesn-t-do-anything 有关详细信息,请参阅: https : //support.enthought.com/entries/22508619-Windows-Canopy-shortcut-in-Start-menu-doesn-t-do-anything

Thanks for the report and pointers, Susie. 感谢您的报告和指导,Susie。 No, you have not created any problem for yourself. 不,您尚未为自己造成任何问题。

To help us get to the bottom of this, could you be so kind as to answer these questions?: 为了帮助我们深入浅出,您能回答这些问题吗?

1) What is the full Target of the non-working shortcut? 1)无效快捷键的完整目标是什么? (Right Click / Properties / Shortcut tab / Target) (右键单击/属性/快捷方式选项卡/目标)

2) Can you start Canopy by running this?: 2)您可以通过运行此命令来启动Canopy吗?:

C:\Program Files\Enthought\Canopy\App\Canopy.exe

3) In the light of your previous Python installation, what go you see if you type “PATH” at a command prompt? 3)根据先前的Python安装,如果在命令提示符下键入“ PATH”,会看到什么?

1) What is the full Target of the non-working shortcut? 1)无效快捷键的完整目标是什么? (Right Click / Properties / Shortcut tab / Target) (右键单击/属性/快捷方式选项卡/目标)

The non-working shortcut target is the filepath you give below: C:\\Program Files\\Enthought\\Canopy\\App\\Canopy.exe 无法使用的快捷方式目标是您在下面提供的文件路径:C:\\ Program Files \\ Enthought \\ Canopy \\ App \\ Canopy.exe

2) Can you start Canopy by running this?: C:\\Program Files\\Enthought\\Canopy\\App\\Canopy.exe 2)您可以通过运行以下命令来启动Canopy吗?:C:\\ Program Files \\ Enthought \\ Canopy \\ App \\ Canopy.exe

No. I get about a half second of the spinning 'working' icon on my mouse pointer then stops. 不。我得到鼠标指针上正在旋转的“工作”图标的一半,然后停止了。 If I run it from the command line it skips straight back out to the next line. 如果我从命令行运行它,它将直接跳回到下一行。

3) In the light of your previous Python installation, what go you see if you type “PATH” at a command prompt? 3)根据先前的Python安装,如果在命令提示符下键入“ PATH”,会看到什么?

(formatted) (格式化)

PATH=
C:\Program Files (x86)\AMD APP\bin\x86_64;
C:\Program Files (x86)\AMD APP\bin\x86;
C:\Perl64\site\bin;C:\Perl64\bin;
C:\Program Files\ImageMagick-6.6.7-Q16;
C:\Program Files\Common Files\Microsoft Shared\Windows Live;
C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;
C:\windows\system32;
C:\windows;
C:\windows\System32\Wbem;
C:\windows\System32\WindowsPowerShell\v1.0\;
C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;
C:\Program Files\Broadcom\Broadcom 802.11 Network Adapter\Driver;
C:\Program Files (x86)\Windows Live\Shared;
C:\Program Files\WIDCOMM\Bluetooth Software\;
C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;
C:\Program Files (x86)\Java\jre6\bin;
C:\Program Files\MPICH2\bin;
D:\College\CVsoft\bundler\bin;
D:\College\CVsoft\bundler\pmvs2_64;
D:\College\CVsoft\Win64-VS2010;
C:\Program Files (x86)\Autodesk\Backburner\;
C:\QtSDK\mingw\bin;
C:\QtSDK\QtCreator\bin;
C:\MinGW\bin;
D:\College\CVsoft\APERO\micmac;
C:\Program Files (x86)\QuickTime\QTSystem\;
C:\Program Files\OpenNI\Bin64;
C:\users\susie\appdata\local\enthought\canopy\user\scripts;
C:\Users\susie\AppData\Local\Enthought\Canopy\User;
C:\Users\susie\AppData\Local\Enthought\Canopy\User\Scripts

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

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