Windows 10 installation problem


#1

I am trying to install the Python software on a Core i7 laptop running Windows 10.

I have downloaded and installed a 32-bit version of WinPython 2.7.10.3 onto the root of C:

Here’s what I’ve seen so far:

[code]C:\WinPython-32bit-2.7.10.3\python-2.7.10>pip install pyqtgraph
Requirement already satisfied (use --upgrade to upgrade): pyqtgraph in c:\winpython-32bit-2.7.10.3\python-2.7.10\lib\site-packages
Requirement already satisfied (use --upgrade to upgrade): numpy in c:\winpython-32bit-2.7.10.3\python-2.7.10\lib\site-packages (from pyqtgraph)
You are using pip version 7.1.2, however version 8.1.1 is available.
You should consider upgrading via the ‘python -m pip install --upgrade pip’ command.

C:\WinPython-32bit-2.7.10.3\python-2.7.10>pip install configobj
Collecting configobj
Requirement already satisfied (use --upgrade to upgrade): six in c:\winpython-32bit-2.7.10.3\python-2.7.10\lib\site-packages (from configobj)
Installing collected packages: configobj
Successfully installed configobj-5.0.6
You are using pip version 7.1.2, however version 8.1.1 is available.
You should consider upgrading via the ‘python -m pip install --upgrade pip’ command.

C:\WinPython-32bit-2.7.10.3\python-2.7.10>pip install pyusb==1.0.0b1
Collecting pyusb==1.0.0b1
Downloading pyusb-1.0.0b1.tar.gz (44kB)
100% |################################| 45kB 744kB/s
Building wheels for collected packages: pyusb
Running setup.py bdist_wheel for pyusb
Stored in directory: C:\Users\fjd\AppData\Local\pip\Cache\wheels\d0\39\3f\717eec61fe10be60a124b9f1863ac789155101e3f7a8027937
Successfully built pyusb
Installing collected packages: pyusb
Successfully installed pyusb-1.0.0b1
You are using pip version 7.1.2, however version 8.1.1 is available.
You should consider upgrading via the ‘python -m pip install --upgrade pip’ command.

c:\WinPython-32bit-2.7.10.3\python-2.7.10>pip install PySide
Collecting PySide
Using cached PySide-1.2.4-cp27-none-win32.whl
Installing collected packages: PySide
Successfully installed PySide-1.2.4
You are using pip version 7.1.2, however version 8.1.1 is available.
You should consider upgrading via the ‘python -m pip install --upgrade pip’ command.
[/code]

I then set the develop modes in the two sub-directories in c:\chipwhisperer

I then see an error when I try to launch the analyzer:

c:\chipwhisperer\software\chipwhisperer\analyzer>python ChipWhispererAnalyzer.py libpng warning: iCCP: known incorrect sRGB profile Traceback (most recent call last): File "ChipWhispererAnalyzer.py", line 745, in <module> main() File "ChipWhispererAnalyzer.py", line 738, in main window = ChipWhispererAnalyzer() File "ChipWhispererAnalyzer.py", line 116, in __init__ self.traceExplorerDialog = TraceExplorerDialog(self) File "c:\chipwhisperer\software\chipwhisperer\analyzer\utils\TraceExplorerDialog.py", line 73, in __init__ self.setupCommonScripts() File "c:\chipwhisperer\software\chipwhisperer\analyzer\utils\TraceExplorerDialog.py", line 101, in setupCommonScripts self.paramTreeCommonScripts.setParameters(self.paramCommonScripts, showTop=False) File "C:\WinPython-32bit-2.7.10.3\python-2.7.10\lib\site-packages\pyqtgraph\parametertree\ParameterTree.py", line 47, in setParameters self.addParameters(param, showTop=showTop) File "C:\WinPython-32bit-2.7.10.3\python-2.7.10\lib\site-packages\pyqtgraph\parametertree\ParameterTree.py", line 77, in addParameters self.addParameters(ch, root=item, depth=depth+1) File "C:\WinPython-32bit-2.7.10.3\python-2.7.10\lib\site-packages\pyqtgraph\parametertree\ParameterTree.py", line 77, in addParameters self.addParameters(ch, root=item, depth=depth+1) File "C:\WinPython-32bit-2.7.10.3\python-2.7.10\lib\site-packages\pyqtgraph\parametertree\ParameterTree.py", line 77, in addParameters self.addParameters(ch, root=item, depth=depth+1) File "C:\WinPython-32bit-2.7.10.3\python-2.7.10\lib\site-packages\pyqtgraph\parametertree\ParameterTree.py", line 64, in addParameters item = param.makeTreeItem(depth=depth) File "C:\WinPython-32bit-2.7.10.3\python-2.7.10\lib\site-packages\pyqtgraph\parametertree\Parameter.py", line 484, in makeTreeItem return self.itemClass(self, depth) File "c:\chipwhisperer\software\chipwhisperer\common\ParameterTypesCustom.py", line 27, in __init__ WidgetParameterItem.__init__(self, param, depth) File "C:\WinPython-32bit-2.7.10.3\python-2.7.10\lib\site-packages\pyqtgraph\parametertree\parameterTypes.py", line 42, in __init__ w = self.makeWidget() File "c:\chipwhisperer\software\chipwhisperer\common\ParameterTypesCustom.py", line 128, in makeWidget l = self.makeLayout() File "c:\chipwhisperer\software\chipwhisperer\common\ParameterTypesCustom.py", line 106, in makeLayout wlow.setOpts(**defs) File "C:\WinPython-32bit-2.7.10.3\python-2.7.10\lib\site-packages\pyqtgraph\widgets\SpinBox.py", line 160, in setOpts raise TypeError("Invalid keyword argument '%s'." % k) TypeError: Invalid keyword argument 'set'.

I’ll try upgrading pyqtgraph to see where that takes me.

If anyone can tell me what I’m doing wrong I’d be most grateful.

Pete


#2

Well, I upgraded pyqtgraph and now get a DLL-related error! :unamused:

[code]c:\chipwhisperer\software\chipwhisperer\analyzer>pip install pyqtgraph --upgrade
Requirement already up-to-date: pyqtgraph in c:\winpython-32bit-2.7.10.3\python-2.7.10\lib\site-packages
Collecting numpy (from pyqtgraph)
Using cached numpy-1.11.0-cp27-none-win32.whl
Installing collected packages: numpy
Found existing installation: numpy 1.9.3
Uninstalling numpy-1.9.3:
Successfully uninstalled numpy-1.9.3
Successfully installed numpy-1.11.0
You are using pip version 7.1.2, however version 8.1.1 is available.
You should consider upgrading via the ‘python -m pip install --upgrade pip’ command.

c:\chipwhisperer\software\chipwhisperer\analyzer>python ChipWhispererAnalyzer.py
Traceback (most recent call last):
File “ChipWhispererAnalyzer.py”, line 74, in
from chipwhisperer.common.MainChip import MainChip
File “c:\chipwhisperer\software\chipwhisperer\common\MainChip.py”, line 47, in
from traces.TraceManager import TraceManagerDialog
File “c:\chipwhisperer\software\chipwhisperer\common\traces\TraceManager.py”, line 36, in
from TraceContainerDPAv3 import ImportDPAv3Dialog
File “c:\chipwhisperer\software\chipwhisperer\common\traces\TraceContainerDPAv3.py”, line 38, in
from scipy import signal
File “C:\WinPython-32bit-2.7.10.3\python-2.7.10\lib\site-packages\scipy\signal_init_.py”, line 280, in
from .bsplines import *
File “C:\WinPython-32bit-2.7.10.3\python-2.7.10\lib\site-packages\scipy\signal\bsplines.py”, line 12, in
from scipy.special import comb, gamma
File “C:\WinPython-32bit-2.7.10.3\python-2.7.10\lib\site-packages\scipy\special_init_.py”, line 601, in
from ._ufuncs import *
ImportError: DLL load failed: The specified module could not be found.[/code]

Progress - but not the sort I was hoping for! :astonished: