Unable to Install PythonMagick on Windows 10 - python-2.7

I have installed Python 2.7.13 on my Windows 10 machine.
I went to http://www.lfd.uci.edu/~gohlke/pythonlibs/#pythonmagick and downloaded both the 32 and 64bit versions:
PythonMagick‑0.9.13‑cp36‑cp36m‑win32.whl
PythonMagick‑0.9.13‑cp36‑cp36m‑win_amd64.whl
I ran the following command from commandline (admin permissions):
pip install PythonMagick‑0.9.13‑cp36‑cp36m‑win32.whl
I get the following error:
PythonMagick‑0.9.13‑cp36‑cp36m‑win32.whl is not a supported wheel on this platform.
I have tried with both the 32 and 64bit versions of Python 2.7, as well as both the 32 and 64bit versions of PythonMagick.
I tried downloading the Zip from ImageMagick, but the install made no sense to me (there is a reason I use Windows, not *nix)

By using the older WHL I was able to get PythonMagick installed and working.
PythonMagick‑0.9.10‑cp27‑none‑win_amd64.whl

Related

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

how to install cvxopt on windows 7 64 bit machine for python 3.5 of anaconda?

Please suggest step by step method to install cvxopt on Windows7 64 bit machine for python version 3.5. I'm really facing hard time to install it.
Above is the error i'm getting.
After doing : conda install -c omnia cvxopt=1.1.8 on cmd,I am getting below error:
I suppose you tried something like pip install cvxopt which will resolve to compile from sources which is sometimes kind of trouble on windows depending on your setup (compilers, build-tools, ...).
As you are already using Anaconda i recommend using builds of others.
conda install -c omnia cvxopt=1.1.8
The link suggests that it's the most recent version and supporting win64.

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.

Numpy package for "python 2.7.8 and pyscripter 2.5.3" (64 bit windows 7)

I have python 2.7.8 and pyscripter 2.5.3 (64 bits)installed on windows 7....Can anyone tell me which is the numpy package to download for my OS..I went through many sites and installed many numpy and python versions to work on my pyscripter resulting in only wastage of time and getting more confused by uninstalling each..I see that most of the sites give .exe (superpack) files for 32 bit.The same version and all works perfectly with 32 bit windows 8 os.. I saw .whl files for 64 on
http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy
..I dont know what to do with it... I am stuck with this...
Please help.. and thanks in advance..
I made it installing numpy..All i did was to switch to 32 bit python and pyscripter .I installed python 2.7.9 version as it offers pip command so that installations will be more easy..
In Command prompt I set my path to python 27 and run
pip install numpy
I was shown with the error.."unable to find vcvarsall.bat"
and so I downloaded VCForPython27.msi from http://www.microsoft.com/en-in/download/details.aspx?id=44266
Again run the pip command and numpy will be successfully installed..!
Incase there comes an error "Could not delete multiarray.pyd :Access denied "Just close your pyscripter or probably restart and then run the pip command..Hope this helps someone..

Trouble Installing PythonMagick Windows 7

I am trying to install PythonMagick. I am using Python 2.7 and running Windows 7. I have tried following the directions in the readme, but all of the configuration scripts are of type "file" and cannot be executed in either the python or windows command line. What should I do?
I recommend you use the pre-compiled installer from the Unofficial Windows Binaries for Python Extension Packages.
Just follow this link and download the right installer for your Python interpreter (in your case it will either be PythonMagick-0.9.10.win-amd64-py2.7.‌exe or PythonMagick-0.9.10.win32-py2.7.‌exe, depending on whether you've installed the 64 or 32 bit Python interpreter).