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
I currently have python-hpilo installed and loaded in a virtualenv.
The example file "hpilo_ca" currently has shebang "#!/usr/bin/python". If execute it from the shell like this: ./hpilo_ca -h it can't find the hpilo module.
$ ./hpilo_ca -h
Traceback (most recent call last):
File "./hpilo_ca", line 10, in <module>
import hpilo
ImportError: No module named hpilo
Changing the shebang to #!/usr/bin/env python fixes the problem.
The text was updated successfully, but these errors were encountered:
I currently have python-hpilo installed and loaded in a virtualenv.
The example file "hpilo_ca" currently has shebang "#!/usr/bin/python". If execute it from the shell like this:
./hpilo_ca -h
it can't find the hpilo module.Changing the shebang to
#!/usr/bin/env python
fixes the problem.The text was updated successfully, but these errors were encountered: