getting Error while running python script

Mayra65

New Member
Credits
87
I am following this tutorial.
while running the following '''perf script --gen-script python''' command I am getting an error.
'''
Python scripting not supported. Install libpython and rebuild per>
For example:
# apt-get install python-dev (ubuntu)
# yum install python-devel (Fedora)
etc.
'''
even though I have already install python-dev latest version.
could anyone please help me why I am getting this error?
 


wizardfromoz

Administrator
Staff member
Gold Supporter
Credits
18,240
Moving this to Command Line, where scripting inquiries are also handled.

Good luck

Chris Turner
wizardfromoz
 
I am following this tutorial.
while running the following '''perf script --gen-script python''' command I am getting an error.
'''
Python scripting not supported. Install libpython and rebuild per>
For example:
# apt-get install python-dev (ubuntu)
# yum install python-devel (Fedora)
etc.
'''
even though I have already install python-dev latest version.
could anyone please help me why I am getting this error?
Try installing the necessary libpython packages. I’m unsure if they are packaged with dev-python, but the error wants libpython.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Members online


Top