canopy express 64 bit don't start - python-2.7

I have a problem. I 've just installed Entought Canopy Express x64 on my Windows 7 machine. The installation has no issues or warnings. But I can't start it. I tried both shortcut and running canopy.exe. Even restarting OS have not helped. I have other python distribution installed but no one in PATH.

Related

Python and pywinauto while automate with software

I am facing problem.
Currently, I have install window on my MacBook Air 64bit. By right, it supposed to be 64bit window but it turned out to be 32bit window instead. As the System directory showed c:/windows/system32.
With that, I install python 32bit, pywin32 and pywinauto. However, I want to automate a software that is 64bit and it currently working on my window 32bit.
My question: is it okay for me to use python 32bit and pywin32 and pywinauto to automate a 64bit software?
or should I change my python to 64bit,pywin32-amd64 and pywinauto to automate a 64bit software when my window is at 32bit but my processor is 64bit.
I have try to change window to 64bit but it just couldn't work as I reformate the whole laptop and reinstall macOS and reinstall window to 64bit. it just change out to be 32 bit.

Installing PyCLIPS based on CLIPS 6.30 for Windows Python 2.7 32 bit

I learned that there is a version of PyCLIPS based on CLIPS version 6.30.
The same (or similar) PyCLIPS version can also be installed via pip, see here.
On Linux, both approaches work fine, i.e. installing via git clone + setup.py, or via pip. On Windows, it worked only with cygwin 64bit. pip install pyclips failed (I suppose due to the missing '-DWIN_MVC' flag, see step 7 below).
However, I would like to have a PyCLIPS based on CLIPS 6.30 on a 'regular' Windows python, to be precise Python2.7 32 bit on a Windows 7 64 bit. I have visual studio express 2008 installed.
What I tried:
git clone https://github.com/almostearthling/pyclips.git
cd pyclips
git checkout pyclips-1.1_clips-6.30
delete the file clipssrc
download the CLIPS 6.30 source code from the official repository
create a new folder a newly created folder clipssrc inside the pyclips folder
extract the contents of the core folder into the clipssrc folder
insetup.py at around line 738, add '-DWIN_MVC' to the CFLAGS list
install patch utility for windows and add it to PATH
start visual studio express 2008 (32 bit) command prompt
cd into the pyclips folder
run python setup.py build
If the built went through (it should) install via python setup.py install
Although the built and installation went through, large integers still cause an error, as they did in CLIPS before version 6.30. This means CLIPS is not able to cope with integers that are larger than 2147483648 (sys.maxint+1 on python 2.7 32 bit).
During compilation with visual studio 2008 I got the Warning "conversion from '__int64' to 'long', possible loss of data". I changed the types of the corresponding variables to long long. The Warnings disappeared but the error with large integers still exists.
How do I install PyCLIPS based on CLIPS 6.30 on Windows 7 64 bit for use with a 32bit Windows Python 2.7 ?
EDIT 1:
I tried to install it with cygwin 32 bit - and it did not work. So maybe it is a 32/64 bit issue? The 32bit Version of clips (installed via the official installer) works fine on my Windows 7 64 bit...
EDIT 2:
It seems to work with python interpreters that have a sys.maxint of 9223372036854775807 but not with interpreters that have a sys.maxint of 2147483647. Interestingly, even the 64bit Windows Python has the latter value.
Summary:
cygwin Python 64 bit, maxint: 9223372036854775807, no error
cygwin Python 32 bit, maxint: 2147483647, error
Windows Python 2.7 32 bit, maxint: 2147483647, error
Windows Python 2.7 64 bit, maxint: 2147483647, error

Fail uninstall VS2015 on Win10 due to missing(?) KB2999226

I am trying to uninstall VS2015 community edition on Windows 10 (64 bit) but it fails.
Referring to this SO post:Can't uninstall Visual Studio 2015 (The storage control blocks were destroyed)
This question very well describes my problem, but I'm on Windows 10 where KB 2999226 apparently is not applicable. So why does VS2015 try to uninstall it and how can I convince it not to?
I've tried vs_community.exe /uninstall /force and I've tried Visual Studio Uninstaller. Both fail with the same error. Here's an excerpt from the MSI log (dd_vs_community_<timestamp>.log):
[0884:29AC][2016-08-31T15:28:19]i000: MUX: ExecutePackageBegin PackageId: Windows7_MSU_x64
[1A74:2A60][2016-08-31T15:28:19]i301: Applying execute package: Windows7_MSU_x64, action: Uninstall, path: 2999226, arguments: '"C:\WINDOWS\SysNative\wusa.exe" /uninstall /kb:2999226 /quiet /norestart'
[1A74:2A60][2016-08-31T15:28:19]e000: Error 0x80070057: Failed to execute MSU package.
[0884:29AC][2016-08-31T15:28:19]e000: Error 0x80070057: Failed to configure per-machine MSU package.
[0884:29AC][2016-08-31T15:28:19]i000: MUX: Installation size in bytes for package: Windows7_MSU_x64 MaxAppDrive: 0 MaxSysDrive: 0 AppDrive: 0 SysDrive: 0
[0884:29AC][2016-08-31T15:28:19]i000: MUX: Return Code:0x80070057 Msi Messages:0 Result Detail:0 Restart:None
[0884:29AC][2016-08-31T15:28:19]i000: MUX: Set Result: Return Code=-2147024809 (0x80070057), Error Message=, Result Detail=, Vital=True, Package Action=Uninstall, Package Id=Windows7_MSU_x64
[0884:29AC][2016-08-31T15:28:19]i000: Setting string variable 'BundleResult' to value '1603'
[0884:29AC][2016-08-31T15:28:19]i319: Applied execute package: Windows7_MSU_x64, result: 0x80070057, restart: None
[0884:29AC][2016-08-31T15:28:19]e000: Error 0x80070057: Failed to execute MSU package.
It is possible that I installed VS2015 before I upgraded mu Windows 7 to Windows 10. In that case, possibly the VS 2015 installation required the KB when installed on my Windows 7, and installed it, which is recorded "somewhere". Then when I upgraded to Windows 10, the KB was removed. Now the VS uninstaller should ignore the KB entry in its uninstall process, but apparently fails to do so. If this is what happens, where can I modify the install log/info to remove the KB entry?
If additional info is needed to solve this, please just ask.
The KB2999226 is an update for CRT in Windows and is a component of the Windows operating system. It is included as a part of Windows 10, starting with the January Technical Preview, and it is available for older versions of the operating system via Windows Update.
Go to Control Panel—Programs and Features—View installed updates, if you can find the KB2999226, you can uninstall it, then uninstall the VS through the command: C:\ProgramData\Package Cache{xxxxxx}\vs_community.exe" /uninstall /force, you can have a look at here: https://blogs.msdn.microsoft.com/heaths/2015/07/17/removing-visual-studio-components-left-behind-after-an-uninstall/ to find where the cached bundle is installed.
Download a healthy ISO file of VS community 2015 and use it to repair, after that, uninstall it using the above forcibly uninstall command in method 1.
Download and install the Windows Installer PowerShell Module tool to find all related components of VS 2015 and uninstall them, the detail information, check here: https://blogs.msdn.microsoft.com/heaths/2015/07/14/how-to-install-visual-studio-to-another-directory-when-a-pre-release-is-installed/
Since the KB2999226 is shipped with Windows 10, your OS is Windows 10, it is not necessary to uninstall it unless you meet an issue that caused by it.
Missing KB2999226 , "Universal C Runtime" (curt) in windows 10.
Try to install "Microsoft Visual C++ Redistributable for Visual Studio 2017"
https://www.visualstudio.com/downloads/
I try VisualStudioUninstaller and can succesfully uninstall,
see this post:
https://stackoverflow.com/a/42105329/4573839

Windows + Python 2.7 64 bit: "pip install [anypackage]" freezes

I am working on a Windows 7, 64 bit system and I have installed Python 2.7.12 64 bit.
(Prior to this, I had a Python 2.7 32 bit install in which pip worked perfectly, which I uninstalled).
Now, whenever I try to install a package using pip, it freezes right after displaying "Collecting [package name]", as shown below:
(The German text is just the equivalent of "This program has stopped functioning" in the English versions of Windows).
I have tried installing several packages like this (at first I thought it's a problem related to the specific package I was trying to install), but I always get the same error.
Any suggestions regarding what might be happening here?
Edit: Just in case it's relevant: I have Cygwin installed on my machine, but I am not using python & pip in a Cygwin terminal. They are used in the normal Windows command line.

Python 32 or 64 on 64 bit Windows 7? How will this effect installing easy_install?

I wrote some python code on my mac and how I have to transfer it over to a windows computer. This is frustrating beyond words. I installed Python 2.7 x32, then I uninstalled it, then I installed Python 2.7 x64. My python script depends on xlrd and xlwt, and some other downloaded modules. I would like to install those using easy_install or pip or any way that is easy for somebody who doesn't know too much about the really intricate workings of a computer. As of now, if I do this:
C:\Windows\System32> python
I get:
'python' is not recognized as an internal or external command operable program or batch file.
Would someone suggest a next move for me?
I did a bunch of google-ing and stackoverflow-ing and seem to have landed here, I'm not sure how to download something from here. For example, how would I download Pip, and also, which one would I download?
People say that a person should download and install this, how would I do that?
I'm familiar with terminal, what would I type into cmd?
The reason that I things were not going well for me was because I was using a mixture of Python 2.7 (32-bit) and Python 2.7 (64-bit). After more researching I found that even though my Windows 7 was 64 bit, I didn't have to download the 64-bit python. In fact, the 32-bit python was more compatible with other programs. So I clicked around and uninstalled python and everything else that had the name 'Python' in it from my Add/Remove programs menu. This took about 10 minutes. Next, I downloaded the 32-bit Python 2.7. After this, all of the packages that I download, I made sure that they were 32-bit and not 64-bit.
Also, very important, I went to my 'Environment Variables' (google how to get there) and added the directory of where Python27 was installed. To do this you can follow this guide. The last thing that I did was add ;.PY to the end of PATHEXT.