Skip to content
This repository has been archived by the owner on Jul 7, 2022. It is now read-only.

ImportError: cannot import name Pushbullet #134

Closed
Cristianistrate opened this issue May 20, 2018 · 7 comments
Closed

ImportError: cannot import name Pushbullet #134

Cristianistrate opened this issue May 20, 2018 · 7 comments

Comments

@Cristianistrate
Copy link

Hi,
After I installed the lib on 2.7 Win x64 it worked. After reboot I got cannot import Pushbullet
The solution: uninstall Python, reinstall and it works but after first reboot the same issue.
Please help. On Raspbian is ok!

@simonporter007
Copy link
Contributor

How did you install the library? Are you using virtualenv or anything similar? Have you searched the sys.path for the pushbulletpy dir?

import sys
for path in sys.path:
  print(path)

@Cristianistrate
Copy link
Author

Install:
python setup.py install
no virtualenv
result from print(path):

C:/Python27
C:\Python27\Lib\idlelib
C:\WINDOWS\SYSTEM32\python27.zip
C:\Python27\DLLs
C:\Python27\lib
C:\Python27\lib\plat-win
C:\Python27\lib\lib-tk
C:\Python27
C:\Python27\lib\site-packages

@simonporter007
Copy link
Contributor

Can you confirm pushbullet directory gets created in site-packages once you install first time? Is it there on the next reboot?

If the directory is removed it sounds like there's some external issue going on. pushbulletpy certainly shouldn't unload itself from site-packages.

@Cristianistrate
Copy link
Author

Yes:
C:\Python27\Lib\site-packages\pushbullet

@simonporter007
Copy link
Contributor

And does it exist on reboot?

@Cristianistrate
Copy link
Author

Yes

@simonporter007
Copy link
Contributor

It doesn't sound like an issue with pushbulletpy then. Good luck.

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

No branches or pull requests

3 participants