Giter Club home page Giter Club logo

Comments (4)

Jc2k avatar Jc2k commented on August 22, 2024 1

You aren't actually using python 3, look:

  File "/usr/local/lib/python2.7/dist-packages/vmware_exporter/vmware_exporter.py", line 305

It's installed as a python 2.7 package.

BTW, It's generally frowned upon to comment on issues that have been close for over a year.

from vmware_exporter.

dannyk81 avatar dannyk81 commented on August 22, 2024

We use and test the exporter against Python3, not sure it will work with Python2.

@Jc2k wdyt?

from vmware_exporter.

pryorda avatar pryorda commented on August 22, 2024

We dropped python2 support.

from vmware_exporter.

Linuxmatrix avatar Linuxmatrix commented on August 22, 2024

i'm getting same but i'm using python 3
can any one have solution for this issue

root@prometheus-virtual-machine:~#  vmware_exporter -c config.ym
Traceback (most recent call last):
  File "/usr/local/bin/vmware_exporter", line 7, in <module>
    from vmware_exporter.vmware_exporter import main
  File "/usr/local/lib/python2.7/dist-packages/vmware_exporter/vmware_exporter.py", line 305
    return list(metrics.values())   # noqa: F705
SyntaxError: 'return' with argument inside generator

from vmware_exporter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.