Skip to content

failed to executre after locally installed #4

@thummim

Description

@thummim

I have done installation locally, but there was an error at the installation
but I get this error when I try to use it

root@pcvm:~/ovs-dpdk-telemetry-exporter# ovsDpdkTelemetryExporter  -h
Traceback (most recent call last):
  File "/usr/local/bin/ovsDpdkTelemetryExporter", line 11, in <module>
    load_entry_point('ovsDpdkTelemetryExporter==0.1', 'console_scripts', 'ovsDpdkTelemetryExporter')()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 490, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2854, in load_entry_point
    return ep.load()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2445, in load
    return self.resolve()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2451, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
ModuleNotFoundError: No module named 'ovsDpdkTelemetryExporter'

and this was the error message at the installation

running install_lib
warning: install_lib: 'build/lib' does not exist -- no Python modules to install

creating build
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying ovsDpdkTelemetryExporter.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying ovsDpdkTelemetryExporter.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying ovsDpdkTelemetryExporter.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying ovsDpdkTelemetryExporter.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying ovsDpdkTelemetryExporter.egg-info/not-zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO
copying ovsDpdkTelemetryExporter.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying ovsDpdkTelemetryExporter.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
creating dist
creating 'dist/ovsDpdkTelemetryExporter-0.1-py3.8.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing ovsDpdkTelemetryExporter-0.1-py3.8.egg
creating /usr/local/lib/python3.8/dist-packages/ovsDpdkTelemetryExporter-0.1-py3.8.egg
Extracting ovsDpdkTelemetryExporter-0.1-py3.8.egg to /usr/local/lib/python3.8/dist-packages
Adding ovsDpdkTelemetryExporter 0.1 to easy-install.pth file
Installing ovsDpdkTelemetryExporter script to /usr/local/bin

Installed /usr/local/lib/python3.8/dist-packages/ovsDpdkTelemetryExporter-0.1-py3.8.egg
Processing dependencies for ovsDpdkTelemetryExporter==0.1
Searching for schedule
Reading https://pypi.org/simple/schedule/
Downloading https://files.pythonhosted.org/packages/f0/1a/e5a65c08d708ee4c002f3f938ba69b2282af478755700c40f037eacc92ef/schedule-1.2.1-py2.py3-none-any.whl#sha256=14cdeb083a596aa1de6dc77639a1b2ac8bf6eaafa82b1c9279d3612823063d01
Best match: schedule 1.2.1
Processing schedule-1.2.1-py2.py3-none-any.whl
Installing schedule-1.2.1-py2.py3-none-any.whl to /usr/local/lib/python3.8/dist-packages
Adding schedule 1.2.1 to easy-install.pth file

Installed /usr/local/lib/python3.8/dist-packages/schedule-1.2.1-py3.8.egg
Searching for prometheus_client
Reading https://pypi.org/simple/prometheus_client/
Downloading https://files.pythonhosted.org/packages/c7/98/745b810d822103adca2df8decd4c0bbe839ba7ad3511af3f0d09692fc0f0/prometheus_client-0.20.0-py3-none-any.whl#sha256=cde524a85bce83ca359cc837f28b8c0db5cac7aa653a588fd7e84ba061c329e7
Best match: prometheus-client 0.20.0
Processing prometheus_client-0.20.0-py3-none-any.whl
Installing prometheus_client-0.20.0-py3-none-any.whl to /usr/local/lib/python3.8/dist-packages
Adding prometheus-client 0.20.0 to easy-install.pth file

Installed /usr/local/lib/python3.8/dist-packages/prometheus_client-0.20.0-py3.8.egg
Searching for pathos
Reading https://pypi.org/simple/pathos/
Downloading https://files.pythonhosted.org/packages/f4/7f/cea34872c000d17972dad998575d14656d7c6bcf1a08a8d66d73c1ef2cca/pathos-0.3.2-py3-none-any.whl#sha256=d669275e6eb4b3fbcd2846d7a6d1bba315fe23add0c614445ba1408d8b38bafe
Best match: pathos 0.3.2
Processing pathos-0.3.2-py3-none-any.whl
Installing pathos-0.3.2-py3-none-any.whl to /usr/local/lib/python3.8/dist-packages
Adding pathos 0.3.2 to easy-install.pth file
Installing pathos_connect script to /usr/local/bin
Installing portpicker script to /usr/local/bin

Installed /usr/local/lib/python3.8/dist-packages/pathos-0.3.2-py3.8.egg
Searching for ovs
Reading https://pypi.org/simple/ovs/
Downloading https://files.pythonhosted.org/packages/52/a2/3a8e6c21e926560599018a4a3d721f17bf4c01705a9d75365952098ce3f6/ovs-3.1.2.tar.gz#sha256=582340a803b220aa1a0ad150916f3060775198d498340b589e93f81000b007df
Best match: ovs 3.1.2
Processing ovs-3.1.2.tar.gz
Writing /tmp/easy_install-rv_hoc94/ovs-3.1.2/setup.cfg
Running ovs-3.1.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-rv_hoc94/ovs-3.1.2/egg-dist-tmp-yl672rm1
unable to execute 'x86_64-linux-gnu-gcc': No such file or directory
***************************************************************************
WARNING: The C extension could not be compiled, speedups are not enabled.
Failure information, if any, is above.
Retrying the build without the C extension.
***************************************************************************

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions