Error in pyLMS2007M installation in raspberry PI 3

Hi
I am using Raspberry PI 3 model B v1.2 and python 2.7.
When I install pyLMS2007M using the command
python2.7 setup.py install
I get the following error:

running install
running bdist_egg
running egg_info
writing requirements to pyLMS7002M.egg-info/requires.txt
writing pyLMS7002M.egg-info/PKG-INFO
writing top-level names to pyLMS7002M.egg-info/top_level.txt
writing dependency_links to pyLMS7002M.egg-info/dependency_links.txt
reading manifest file ‘pyLMS7002M.egg-info/SOURCES.txt’
writing manifest file ‘pyLMS7002M.egg-info/SOURCES.txt’
installing library code to build/bdist.linux-armv7l/egg
running install_lib
running build_py
creating build/bdist.linux-armv7l/egg
creating build/bdist.linux-armv7l/egg/pyLMS7002M
copying build/lib.linux-armv7l-2.7/pyLMS7002M/init.py -> build/bdist.linux-armv7l/egg/pyLMS7002M
copying build/lib.linux-armv7l-2.7/pyLMS7002M/LMS7002_REGDESC.py -> build/bdist.linux-armv7l/egg/pyLMS7002M
copying build/lib.linux-armv7l-2.7/pyLMS7002M/LMS7002_BIAS.py -> build/bdist.linux-armv7l/egg/pyLMS7002M
copying build/lib.linux-armv7l-2.7/pyLMS7002M/LMS7002.py -> build/bdist.linux-armv7l/egg/pyLMS7002M
copying build/lib.linux-armv7l-2.7/pyLMS7002M/LMS7002_GFIR.py -> build/bdist.linux-armv7l/egg/pyLMS7002M
copying build/lib.linux-armv7l-2.7/pyLMS7002M/LMS7002_base.py -> build/bdist.linux-armv7l/egg/pyLMS7002M
copying build/lib.linux-armv7l-2.7/pyLMS7002M/LimeSDR.py -> build/bdist.linux-armv7l/egg/pyLMS7002M
copying build/lib.linux-armv7l-2.7/pyLMS7002M/LMS7002_SX.py -> build/bdist.linux-armv7l/egg/pyLMS7002M
copying build/lib.linux-armv7l-2.7/pyLMS7002M/LMS7002_EVB.py -> build/bdist.linux-armv7l/egg/pyLMS7002M
copying build/lib.linux-armv7l-2.7/pyLMS7002M/LMS7002_CHIP.py -> build/bdist.linux-armv7l/egg/pyLMS7002M
copying build/lib.linux-armv7l-2.7/pyLMS7002M/LMS7002_RFE.py -> build/bdist.linux-armv7l/egg/pyLMS7002M
copying build/lib.linux-armv7l-2.7/pyLMS7002M/LMS7002_GFIR3.py -> build/bdist.linux-armv7l/egg/pyLMS7002M
copying build/lib.linux-armv7l-2.7/pyLMS7002M/QSpark_FPGA.py -> build/bdist.linux-armv7l/egg/pyLMS7002M
copying build/lib.linux-armv7l-2.7/pyLMS7002M/LMS7002_regDataStructs.py -> build/bdist.linux-armv7l/egg/pyLMS7002M
copying build/lib.linux-armv7l-2.7/pyLMS7002M/weakproxy.py -> build/bdist.linux-armv7l/egg/pyLMS7002M
copying build/lib.linux-armv7l-2.7/pyLMS7002M/LimeSDR_FPGA.py -> build/bdist.linux-armv7l/egg/pyLMS7002M
copying build/lib.linux-armv7l-2.7/pyLMS7002M/QSpark.py -> build/bdist.linux-armv7l/egg/pyLMS7002M
copying build/lib.linux-armv7l-2.7/pyLMS7002M/LMS7002_CDS.py -> build/bdist.linux-armv7l/egg/pyLMS7002M
copying build/lib.linux-armv7l-2.7/pyLMS7002M/LMS7002_GFIR1.py -> build/bdist.linux-armv7l/egg/pyLMS7002M
copying build/lib.linux-armv7l-2.7/pyLMS7002M/LMS7002_IO.py -> build/bdist.linux-armv7l/egg/pyLMS7002M
copying build/lib.linux-armv7l-2.7/pyLMS7002M/boardUSB.py -> build/bdist.linux-armv7l/egg/pyLMS7002M
copying build/lib.linux-armv7l-2.7/pyLMS7002M/LimeSDRMini.py -> build/bdist.linux-armv7l/egg/pyLMS7002M
copying build/lib.linux-armv7l-2.7/pyLMS7002M/LMS7002_REGDESC_MR3.py -> build/bdist.linux-armv7l/egg/pyLMS7002M
copying build/lib.linux-armv7l-2.7/pyLMS7002M/LMS7002_LimeLight.py -> build/bdist.linux-armv7l/egg/pyLMS7002M
copying build/lib.linux-armv7l-2.7/pyLMS7002M/LMS7002_DCCAL.py -> build/bdist.linux-armv7l/egg/pyLMS7002M
copying build/lib.linux-armv7l-2.7/pyLMS7002M/LMS7002_NCO.py -> build/bdist.linux-armv7l/egg/pyLMS7002M
copying build/lib.linux-armv7l-2.7/pyLMS7002M/ADF4002.py -> build/bdist.linux-armv7l/egg/pyLMS7002M
copying build/lib.linux-armv7l-2.7/pyLMS7002M/LMS7002_TxTSP.py -> build/bdist.linux-armv7l/egg/pyLMS7002M
copying build/lib.linux-armv7l-2.7/pyLMS7002M/LMS7002_RxTSP.py -> build/bdist.linux-armv7l/egg/pyLMS7002M
copying build/lib.linux-armv7l-2.7/pyLMS7002M/LMS7002_AFE.py -> build/bdist.linux-armv7l/egg/pyLMS7002M
copying build/lib.linux-armv7l-2.7/pyLMS7002M/LMS7002_mSPI.py -> build/bdist.linux-armv7l/egg/pyLMS7002M
copying build/lib.linux-armv7l-2.7/pyLMS7002M/LMS7002_GFIR2.py -> build/bdist.linux-armv7l/egg/pyLMS7002M
copying build/lib.linux-armv7l-2.7/pyLMS7002M/LMS7002_TRF.py -> build/bdist.linux-armv7l/egg/pyLMS7002M
copying build/lib.linux-armv7l-2.7/pyLMS7002M/LMS7002_CGEN.py -> build/bdist.linux-armv7l/egg/pyLMS7002M
copying build/lib.linux-armv7l-2.7/pyLMS7002M/LMS7002_TBB.py -> build/bdist.linux-armv7l/egg/pyLMS7002M
copying build/lib.linux-armv7l-2.7/pyLMS7002M/LMS7002_RBB.py -> build/bdist.linux-armv7l/egg/pyLMS7002M
copying build/lib.linux-armv7l-2.7/pyLMS7002M/LMS7002_XBUF.py -> build/bdist.linux-armv7l/egg/pyLMS7002M
copying build/lib.linux-armv7l-2.7/pyLMS7002M/Si5351.py -> build/bdist.linux-armv7l/egg/pyLMS7002M
copying build/lib.linux-armv7l-2.7/pyLMS7002M/LMS7002_calibration.py -> build/bdist.linux-armv7l/egg/pyLMS7002M
byte-compiling build/bdist.linux-armv7l/egg/pyLMS7002M/init.py to init.pyc
byte-compiling build/bdist.linux-armv7l/egg/pyLMS7002M/LMS7002_REGDESC.py to LMS7002_REGDESC.pyc
byte-compiling build/bdist.linux-armv7l/egg/pyLMS7002M/LMS7002_BIAS.py to LMS7002_BIAS.pyc
byte-compiling build/bdist.linux-armv7l/egg/pyLMS7002M/LMS7002.py to LMS7002.pyc
byte-compiling build/bdist.linux-armv7l/egg/pyLMS7002M/LMS7002_GFIR.py to LMS7002_GFIR.pyc
byte-compiling build/bdist.linux-armv7l/egg/pyLMS7002M/LMS7002_base.py to LMS7002_base.pyc
byte-compiling build/bdist.linux-armv7l/egg/pyLMS7002M/LimeSDR.py to LimeSDR.pyc
byte-compiling build/bdist.linux-armv7l/egg/pyLMS7002M/LMS7002_SX.py to LMS7002_SX.pyc
byte-compiling build/bdist.linux-armv7l/egg/pyLMS7002M/LMS7002_EVB.py to LMS7002_EVB.pyc
byte-compiling build/bdist.linux-armv7l/egg/pyLMS7002M/LMS7002_CHIP.py to LMS7002_CHIP.pyc
byte-compiling build/bdist.linux-armv7l/egg/pyLMS7002M/LMS7002_RFE.py to LMS7002_RFE.pyc
byte-compiling build/bdist.linux-armv7l/egg/pyLMS7002M/LMS7002_GFIR3.py to LMS7002_GFIR3.pyc
byte-compiling build/bdist.linux-armv7l/egg/pyLMS7002M/QSpark_FPGA.py to QSpark_FPGA.pyc
byte-compiling build/bdist.linux-armv7l/egg/pyLMS7002M/LMS7002_regDataStructs.py to LMS7002_regDataStructs.pyc
byte-compiling build/bdist.linux-armv7l/egg/pyLMS7002M/weakproxy.py to weakproxy.pyc
byte-compiling build/bdist.linux-armv7l/egg/pyLMS7002M/LimeSDR_FPGA.py to LimeSDR_FPGA.pyc
byte-compiling build/bdist.linux-armv7l/egg/pyLMS7002M/QSpark.py to QSpark.pyc
byte-compiling build/bdist.linux-armv7l/egg/pyLMS7002M/LMS7002_CDS.py to LMS7002_CDS.pyc
byte-compiling build/bdist.linux-armv7l/egg/pyLMS7002M/LMS7002_GFIR1.py to LMS7002_GFIR1.pyc
byte-compiling build/bdist.linux-armv7l/egg/pyLMS7002M/LMS7002_IO.py to LMS7002_IO.pyc
byte-compiling build/bdist.linux-armv7l/egg/pyLMS7002M/boardUSB.py to boardUSB.pyc
byte-compiling build/bdist.linux-armv7l/egg/pyLMS7002M/LimeSDRMini.py to LimeSDRMini.pyc
byte-compiling build/bdist.linux-armv7l/egg/pyLMS7002M/LMS7002_REGDESC_MR3.py to LMS7002_REGDESC_MR3.pyc
byte-compiling build/bdist.linux-armv7l/egg/pyLMS7002M/LMS7002_LimeLight.py to LMS7002_LimeLight.pyc
byte-compiling build/bdist.linux-armv7l/egg/pyLMS7002M/LMS7002_DCCAL.py to LMS7002_DCCAL.pyc
byte-compiling build/bdist.linux-armv7l/egg/pyLMS7002M/LMS7002_NCO.py to LMS7002_NCO.pyc
byte-compiling build/bdist.linux-armv7l/egg/pyLMS7002M/ADF4002.py to ADF4002.pyc
byte-compiling build/bdist.linux-armv7l/egg/pyLMS7002M/LMS7002_TxTSP.py to LMS7002_TxTSP.pyc
byte-compiling build/bdist.linux-armv7l/egg/pyLMS7002M/LMS7002_RxTSP.py to LMS7002_RxTSP.pyc
byte-compiling build/bdist.linux-armv7l/egg/pyLMS7002M/LMS7002_AFE.py to LMS7002_AFE.pyc
byte-compiling build/bdist.linux-armv7l/egg/pyLMS7002M/LMS7002_mSPI.py to LMS7002_mSPI.pyc
byte-compiling build/bdist.linux-armv7l/egg/pyLMS7002M/LMS7002_GFIR2.py to LMS7002_GFIR2.pyc
byte-compiling build/bdist.linux-armv7l/egg/pyLMS7002M/LMS7002_TRF.py to LMS7002_TRF.pyc
byte-compiling build/bdist.linux-armv7l/egg/pyLMS7002M/LMS7002_CGEN.py to LMS7002_CGEN.pyc
byte-compiling build/bdist.linux-armv7l/egg/pyLMS7002M/LMS7002_TBB.py to LMS7002_TBB.pyc
byte-compiling build/bdist.linux-armv7l/egg/pyLMS7002M/LMS7002_RBB.py to LMS7002_RBB.pyc
byte-compiling build/bdist.linux-armv7l/egg/pyLMS7002M/LMS7002_XBUF.py to LMS7002_XBUF.pyc
byte-compiling build/bdist.linux-armv7l/egg/pyLMS7002M/Si5351.py to Si5351.pyc
byte-compiling build/bdist.linux-armv7l/egg/pyLMS7002M/LMS7002_calibration.py to LMS7002_calibration.pyc
creating build/bdist.linux-armv7l/egg/EGG-INFO
copying pyLMS7002M.egg-info/PKG-INFO -> build/bdist.linux-armv7l/egg/EGG-INFO
copying pyLMS7002M.egg-info/SOURCES.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying pyLMS7002M.egg-info/dependency_links.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying pyLMS7002M.egg-info/requires.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying pyLMS7002M.egg-info/top_level.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents…
creating ‘dist/pyLMS7002M-1.2.0-py2.7.egg’ and adding ‘build/bdist.linux-armv7l/egg’ to it
removing ‘build/bdist.linux-armv7l/egg’ (and everything under it)
Processing pyLMS7002M-1.2.0-py2.7.egg
Removing /usr/local/lib/python2.7/dist-packages/pyLMS7002M-1.2.0-py2.7.egg
Copying pyLMS7002M-1.2.0-py2.7.egg to /usr/local/lib/python2.7/dist-packages
pyLMS7002M 1.2.0 is already the active version in easy-install.pth

Installed /usr/local/lib/python2.7/dist-packages/pyLMS7002M-1.2.0-py2.7.egg
Processing dependencies for pyLMS7002M==1.2.0
Searching for pyusb
Reading https://pypi.org/simple/pyusb/
Downloading https://files.pythonhosted.org/packages/d9/6e/433a5614132576289b8643fe598dd5d51b16e130fd591564be952e15bb45/pyusb-1.2.1.tar.gz#sha256=a4cc7404a203144754164b8b40994e2849fde1cfff06b08492f12fff9d9de7b9
Best match: pyusb 1.2.1
Processing pyusb-1.2.1.tar.gz
Writing /tmp/easy_install-6bvZts/pyusb-1.2.1/setup.cfg
Running pyusb-1.2.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-6bvZts/pyusb-1.2.1/egg-dist-tmp-2qHOJf
/tmp/easy_install-6bvZts/pyusb-1.2.1/temp/easy_install-68i4He/setuptools_scm-6.0.1/src
<pkg_resources.WorkingSet object at 0x75994130>
Traceback (most recent call last):
File “setup.py”, line 11, in
install_requires=[‘pyserial’,‘pyusb’]
File “/usr/lib/python2.7/dist-packages/setuptools/init.py”, line 145, in setup
return distutils.core.setup(**attrs)
File “/usr/lib/python2.7/distutils/core.py”, line 151, in setup
dist.run_commands()
File “/usr/lib/python2.7/distutils/dist.py”, line 953, in run_commands
self.run_command(cmd)
File “/usr/lib/python2.7/distutils/dist.py”, line 972, in run_command
cmd_obj.run()
File “/usr/lib/python2.7/dist-packages/setuptools/command/install.py”, line 67, in run
self.do_egg_install()
File “/usr/lib/python2.7/dist-packages/setuptools/command/install.py”, line 117, in do_egg_install
cmd.run()
File “/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py”, line 443, in run
self.easy_install(spec, not self.no_deps)
File “/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py”, line 685, in easy_install
return self.install_item(None, spec, tmpdir, deps, True)
File “/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py”, line 732, in install_item
self.process_distribution(spec, dist, deps)
File “/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py”, line 777, in process_distribution
[requirement], self.local_index, self.easy_install
File “/usr/lib/python2.7/dist-packages/pkg_resources/init.py”, line 782, in resolve
replace_conflicting=replace_conflicting
File “/usr/lib/python2.7/dist-packages/pkg_resources/init.py”, line 1065, in best_match
return self.obtain(req, installer)
File “/usr/lib/python2.7/dist-packages/pkg_resources/init.py”, line 1077, in obtain
return installer(requirement)
File “/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py”, line 704, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File “/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py”, line 730, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File “/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py”, line 915, in install_eggs
return self.build_and_install(setup_script, setup_base)
File “/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py”, line 1183, in build_and_install
self.run_setup(setup_script, setup_base, args)
File “/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py”, line 1169, in run_setup
run_setup(setup_script, args)
File “/usr/lib/python2.7/dist-packages/setuptools/sandbox.py”, line 253, in run_setup
raise
File “/usr/lib/python2.7/contextlib.py”, line 35, in exit
self.gen.throw(type, value, traceback)
File “/usr/lib/python2.7/dist-packages/setuptools/sandbox.py”, line 195, in setup_context
yield
File “/usr/lib/python2.7/contextlib.py”, line 35, in exit
self.gen.throw(type, value, traceback)
File “/usr/lib/python2.7/dist-packages/setuptools/sandbox.py”, line 166, in save_modules
saved_exc.resume()
File “/usr/lib/python2.7/dist-packages/setuptools/sandbox.py”, line 141, in resume
six.reraise(type, exc, self._tb)
File “/usr/lib/python2.7/dist-packages/setuptools/sandbox.py”, line 154, in save_modules
yield saved
File “/usr/lib/python2.7/dist-packages/setuptools/sandbox.py”, line 195, in setup_context
yield
File “/usr/lib/python2.7/dist-packages/setuptools/sandbox.py”, line 250, in run_setup
_execfile(setup_script, ns)
File “/usr/lib/python2.7/dist-packages/setuptools/sandbox.py”, line 45, in _execfile
exec(code, globals, locals)
File “/tmp/easy_install-6bvZts/pyusb-1.2.1/setup.py”, line 119, in

File “/usr/lib/python2.7/dist-packages/setuptools/init.py”, line 144, in setup
_install_setup_requires(attrs)
File “/usr/lib/python2.7/dist-packages/setuptools/init.py”, line 139, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File “/usr/lib/python2.7/dist-packages/setuptools/dist.py”, line 724, in fetch_build_eggs
replace_conflicting=True,
File “/usr/lib/python2.7/dist-packages/pkg_resources/init.py”, line 782, in resolve
replace_conflicting=replace_conflicting
File “/usr/lib/python2.7/dist-packages/pkg_resources/init.py”, line 1065, in best_match
return self.obtain(req, installer)
File “/usr/lib/python2.7/dist-packages/pkg_resources/init.py”, line 1077, in obtain
return installer(requirement)
File “/usr/lib/python2.7/dist-packages/setuptools/dist.py”, line 791, in fetch_build_egg
return cmd.easy_install(req)
File “/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py”, line 704, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File “/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py”, line 730, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File “/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py”, line 915, in install_eggs
return self.build_and_install(setup_script, setup_base)
File “/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py”, line 1183, in build_and_install
self.run_setup(setup_script, setup_base, args)
File “/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py”, line 1169, in run_setup
run_setup(setup_script, args)
File “/usr/lib/python2.7/dist-packages/setuptools/sandbox.py”, line 253, in run_setup
raise
File “/usr/lib/python2.7/contextlib.py”, line 35, in exit
self.gen.throw(type, value, traceback)
File “/usr/lib/python2.7/dist-packages/setuptools/sandbox.py”, line 195, in setup_context
yield
File “/usr/lib/python2.7/contextlib.py”, line 35, in exit
self.gen.throw(type, value, traceback)
File “/usr/lib/python2.7/dist-packages/setuptools/sandbox.py”, line 166, in save_modules
saved_exc.resume()
File “/usr/lib/python2.7/dist-packages/setuptools/sandbox.py”, line 141, in resume
six.reraise(type, exc, self._tb)
File “/usr/lib/python2.7/dist-packages/setuptools/sandbox.py”, line 154, in save_modules
yield saved
File “/usr/lib/python2.7/dist-packages/setuptools/sandbox.py”, line 195, in setup_context
yield
File “/usr/lib/python2.7/dist-packages/setuptools/sandbox.py”, line 250, in run_setup
_execfile(setup_script, ns)
File “/usr/lib/python2.7/dist-packages/setuptools/sandbox.py”, line 45, in _execfile
exec(code, globals, locals)
File “/tmp/easy_install-6bvZts/pyusb-1.2.1/temp/easy_install-68i4He/setuptools_scm-6.0.1/setup.py”, line 52, in

File “/tmp/easy_install-6bvZts/pyusb-1.2.1/temp/easy_install-68i4He/setuptools_scm-6.0.1/setup.py”, line 29, in scm_config

File “/tmp/easy_install-6bvZts/pyusb-1.2.1/temp/easy_install-68i4He/setuptools_scm-6.0.1/src/setuptools_scm/init.py”, line 8, in

File “/tmp/easy_install-6bvZts/pyusb-1.2.1/temp/easy_install-68i4He/setuptools_scm-6.0.1/src/setuptools_scm/config.py”, line 6, in
File “/tmp/easy_install-6bvZts/pyusb-1.2.1/temp/easy_install-68i4He/setuptools_scm-6.0.1/src/setuptools_scm/utils.py”, line 41
print(*k)
^
SyntaxError: invalid syntax

I guess I should use separate build instructions for raspberry pi3.
Please point me to it, if its available.

print(*k) syntax points to python3 version. maybe recheck if python2 is suitable version.

Hi luftek,
thanks python3 is successful in installing while I get the following error

python3 measureVNA_900M.py
Traceback (most recent call last):
File “measureVNA_900M.py”, line 5, in
from pyLMS7002M import *
File “/usr/local/lib/python3.7/dist-packages/pyLMS7002M-1.2.0-py3.7.egg/pyLMS7002M/init.py”, line 2, in
ModuleNotFoundError: No module named ‘LMS7002_EVB’
root@raspberrypi:/home/pi/pyLMS7002M/examples/VNA# python3 measureVNA_900M.py
Traceback (most recent call last):
File “measureVNA_900M.py”, line 5, in
from pyLMS7002M import *
File “/usr/local/lib/python3.7/dist-packages/pyLMS7002M-1.2.0-py3.7.egg/pyLMS7002M/init.py”, line 2, in
ModuleNotFoundError: No module named ‘LMS7002_EVB’

It looks a a lot like the problem in last part of the discussion -

The solution was found in -

You are loading a library that has a call to ‘LMS7002_EVB’, but because you are using it through python. You need to link that library to the one that has ‘LMS7002_EVB’ in it.

Doing a -

nm -A /usr/lib/* | grep LMS7002_EVB

or

nm -A /usr/local/lib/* | grep LMS7002_EVB

or where ever the libraries are on your system should find the libraries you need to link

@RightHalfPlane
Thanks I included /usr/local/lib/limesuite.so in dependency-links.txt file in pyLMS7002Soapy-master/pyLMS7002Soapy.egg-info folder.
Now it identifies the limesdr usb device but i get the following LMS7002M Register Cache disabled error
Please have a look at the attached screenshot.

pyLMS7002Soapy
The screenshot of the error.

That is one of two things -

There is a bug in the python and “chipID” did not get set

or

It checked the possible chipIDs and yours is actually Unsupported.

You will have to look at the python - may be you can tell from that what is happening.