melodyguan / pyqt-fit

Automatically exported from code.google.com/p/pyqt-fit
GNU General Public License v3.0
0 stars 1 forks source link

Installation with WinPython #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Installation of pyqt-fit with easy_install of winpython
2. Import of pyqt-fit functions

What is the expected output? What do you see instead?
When I try to import Pyqt-fit functions, I always get errors like:
************************************************************************
In [1]: import pyqt_fit.kernel_smoothing as smooth
************************************************************************
File 
"C:\Portable_programs\WinPython-64bit-3.3.5.0\python-3.3.5.amd64\lib\distutils\c
ygwinccompiler.py", line 125, in __init__
    if self.ld_version >= "2.10.90":

ImportError: Building module pyqt_fit.cy_local_linear failed: ['TypeError: 
unorderable types: NoneType() >= str()\n']
************************************************************************

What version of the product are you using? On what operating system?
PyQt_Fit-1.1.17-py3.3.egg, windows 7, WinPython 3.3.5.0 64 bits

Please provide any additional information below.
Is there another way to install it on windows with python 3, as python(x,y) 
only provides python 2 at the moment?

Thank you

Original issue reported on code.google.com by konyar...@gmail.com on 10 Jul 2014 at 5:33

GoogleCodeExporter commented 8 years ago
Can you make sure Cython work for your machine? It seems to be the problem. In 
any case, you should be able to de-active cython by editing the module cyth.py 
and force the HAS_CYTHON variable to false.

Original comment by pierre.b...@gmail.com on 15 Jul 2014 at 12:36

GoogleCodeExporter commented 8 years ago
I forgot: I don't know how to detect if you are using MINGW or VC++. If you are 
using MINGW, you need to edit this cyth.py file and set USE_MINGW to True. I 
need to look for a way to allow configuration of the package for this two 
things.

Original comment by pierre.b...@gmail.com on 15 Jul 2014 at 12:38

GoogleCodeExporter commented 8 years ago
It's working with HAS_CYTHON = False. Thanks a lot, I've been trying for a long 
time. Your module is really useful.

Fantastique, merci beaucoup!

Original comment by konyar...@gmail.com on 25 Jul 2014 at 9:35