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