You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We want to incorporate Kover in an environment fully working with python3 and we were wondering if there is any way to assign the path to python2.7 to be used by kover. Thanks for the great tool by the way.
The text was updated successfully, but these errors were encountered:
As you said, Kover only works with Python 2.7 at the moment, but this is mostly due to minor incompatibility issues (e.g., using print without parenthesis). You have a few options:
Get Kover to run in Python 3 by making modifications to the code and make a pull request (your contribution would be very appreciated)
Use the docker image: obtain it by pulling docker pull https://hub.docker.com/r/aldro61/kover and then docker run [OPTIONS] aldro61/kover sh -c 'kover [COMMAND]'. This will run Kover inside the docker image (configured with Python 2.7) and output the result to your filesystem. You would need to add arguments to the docker run command to mount the appropriate directories (-v localpath:containerpath).
Execute the command line interface with Python 2.7. By default, Kover will be run using your system's default python distribution (the one you see when running which python). Instead, you could install a separate Python 2.7 environment and use it's Python executable to run the command line interface, which is a normal Python file (https://github.com/aldro61/kover/blob/kover2/interfaces/command_line.py).
We want to incorporate Kover in an environment fully working with python3 and we were wondering if there is any way to assign the path to python2.7 to be used by kover. Thanks for the great tool by the way.
The text was updated successfully, but these errors were encountered: