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

Python Package #5

Closed
natesire opened this issue Jun 4, 2016 · 1 comment
Closed

Python Package #5

natesire opened this issue Jun 4, 2016 · 1 comment

Comments

@natesire
Copy link

natesire commented Jun 4, 2016

The package is installing in pip for python. But I can't import it into a script.

dataguy2020@dataguy2020-XPS-13-9343:~/grabit$ sudo pip install Grabzit
[sudo] password for dataguy2020:
The directory '/home/dataguy2020/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/dataguy2020/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Requirement already satisfied (use --upgrade to upgrade): Grabzit in /usr/local/lib/python2.7/dist-packages


dataguy2020@dataguy2020-XPS-13-9343:~/grabit$ python main.py
Traceback (most recent call last):
File "main.py", line 1, in
import GrabzItClient
ImportError: No module named GrabzItClient

@GrabzIt
Copy link
Owner

GrabzIt commented Jul 19, 2016

Rather than referencing the GrabzItClient using:
import GrabzItClient
try:
from GrabzIt import GrabzItClient

@GrabzIt GrabzIt closed this as completed Jul 19, 2016
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

2 participants