Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with python2 and python3 #12

Open
alternativecoatl opened this issue May 21, 2019 · 0 comments
Open

Error with python2 and python3 #12

alternativecoatl opened this issue May 21, 2019 · 0 comments

Comments

@alternativecoatl
Copy link

I have the next issue, I've installed the library psutil yet, but when I tried to execute the example the next errors appear.

Python2:
ImportError: No module named psutil
Python3:
ModuleNotFoundError: No module named 'ISStreamer'

import psutil
import time
import ISStreamer.Streamer import Streamer
streamer = Streamer(bucket_name=mybname, bucket_key=mykey, access_key=myakey, debug_level=2)
streamer.log("Message: ", "hi")
cpu_percent = psutil.cpu_percent()
streamer.log("cpu_total", cpu_percent)
streamer.flush()
streamer.close()

any idea what I'am doing wrong or what step I missing?

greetings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant