Skip to content
This repository was archived by the owner on Feb 21, 2024. It is now read-only.
This repository was archived by the owner on Feb 21, 2024. It is now read-only.

Import Error #50

@emailtoalex

Description

@emailtoalex

Hello,
I have a problem and I ask for help.
I am sing Python 3.4.2, downloaded from github the pyPushBullet, which created a folder. I copied the script: pushbullet.py into my project folder and installed additional packages via:

  • sudo pip install websocket-client
  • sudo pip install requests
  • sudo pip install python-magic

when running a test script as following:

import time
from pushbullet import PushBullet
api_key
t=time.strftime("%Y-%m-%d-%H:%M:%S")
api_key = "xxxxxxxx"
pb = PushBullet(api_key)
devices = pb.getDevices()
pb.pushNote(devices[0]["iden"], 'Monitoring is active!', t)

I am gettting the following ERROR code, that:
No module named 'websocket'

I am getting crazy, I have downloaded websocket-client several times and tried out several possible solutions, but I can not solve this problem. I am glad for any help.
Thank you in advance, best regards,
Alex

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions