I got a bit further, but still need help. Was trying to install 64b when Python is 32b, so I now have Tox installed, but still not able to run tests. Seeing the following:
Processing c:\users\brad\documents\chirp-dev\chirp.hg.tox.tmp\package\1\unknown-0.0.0.zip ERROR: Command errored out with exit status 1: command: 'C:\Users\Brad\Documents\CHIRP-dev\chirp.hg.tox\driver\Scripts\python.EXE' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'c:\users\brad\appdata\local\temp\pip-req-build-ctvfix\setup.py'"'"'; __file__='"'"'c:\users\brad\appdata\local\temp\pip-req-build-ctvfix\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'c:\users\brad\appdata\local\temp\pip-pip-egg-info-p_uptb' cwd: c:\users\brad\appdata\local\temp\pip-req-build-ctvfix\ Complete output (5 lines): Traceback (most recent call last): File "<string>", line 1, in <module> File "c:\users\brad\appdata\local\temp\pip-req-build-ctvfix\setup.py", line 5, in <module> from chirp import CHIRP_VERSION ImportError: No module named chirp ---------------------------------------- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Brad Schuler K0BAS
From: Brad & Cindy Schuler Sent: Saturday, November 14, 2020 3:36 PM To: 'chirp_devel@intrepid.danplanet.com' chirp_devel@intrepid.danplanet.com Subject: Testing on widows
I too am trying to test. I develop on Windows. I've installed pip to facilitate installing tox. Both are now installed.
When I try to run tests (all or just my new driver), I get the following: GLOB sdist-make: C:\Users\Brad\Documents\CHIRP-dev\chirp.hg\setup.py ERROR: invocation failed (exit code 1), logfile: C:\Users\Brad\Documents\CHIRP-dev\chirp.hg.tox\log\GLOB-0.log ================================== log start ================================== No handlers could be found for logger "chirp.drivers.anytone778uv" Traceback (most recent call last): File "setup.py", line 156, in <module> win32_build() File "setup.py", line 32, in win32_build import py2exe ImportError: No module named py2exe
=================================== log end =================================== ERROR: FAIL could not package project - v = InvocationError(u"'c:\python27\python.exe' setup.py sdist --formats=zip --dist-dir 'C:\Users\Brad\Documents\CHIRP-dev\chirp.hg\.tox\dist'", 1)
I figured I might need a package called py2exe. I'm trying to install it, but the installer complains that Python 2.7 is not in the registry. I have Python 2.7.8 for chirp development but it's installer didn't register it - I guess.
Any ideas on how to get py2exe installed?
Please help, Brad Schuler K0BAS