Skip to content
This repository has been archived by the owner on Oct 22, 2023. It is now read-only.

Problem installing demiurge #1

Closed
kapranos opened this issue Oct 5, 2016 · 6 comments
Closed

Problem installing demiurge #1

kapranos opened this issue Oct 5, 2016 · 6 comments

Comments

@kapranos
Copy link

kapranos commented Oct 5, 2016

Hi!

First, your project looks amazing,very nice idea and implementation.

I have a few problems with this, first:

  • When trying to install demiurge both in Ubuntu Server 16.04 and Raspbian i have the same problem.

The directory '/home/kapranos/.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/kapranos/.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): demiurge in /usr/local/lib/python2.7/dist-packages Requirement already satisfied (use --upgrade to upgrade): pyquery>=1.2.8 in /usr/local/lib/python2.7/dist-packages (from demiurge) Requirement already satisfied (use --upgrade to upgrade): cssselect>0.7.9 in /usr/local/lib/python2.7/dist-packages (from pyquery>=1.2.8->demiurge) Requirement already satisfied (use --upgrade to upgrade): lxml>=2.1 in /usr/local/lib/python2.7/dist-packages (from pyquery>=1.2.8->demiurge)

I make sudo pip install --upgrade but when i try to execute the script with "python3 wallapop_alert.py" i have this error:

Traceback (most recent call last):
File "wallapop_alert.py", line 3, in
import demiurge, os, pickle, tempfile
ImportError: No module named 'demiurge'

Can you help me please? Thanks in advance

@tanrax
Copy link
Owner

tanrax commented Oct 5, 2016

First, thank you for your interest in the project! I do a section in English so you can read the information more comfortably.

Second, you're having a problem with pip. No dependencies are installed. Try this

sudo chmod -R 777 /home/kapranos/.cache/
pip install demiurge

@kapranos
Copy link
Author

kapranos commented Oct 5, 2016

Hi!

Thanks for your fast reply,i do this but i have the same error again :(

On 5 October 2016 at 10:03, Andros Fenollosa notifications@github.com
wrote:

First, thank you for your interest in the project! I do a section in
English so you can read the information more comfortably.

Second, you're having a problem with pip. No dependencies are installed.
Try this

sudo chmod -R 777 /home/kapranos/.cache/
pip install demiurge


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#1 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVlZDWNV-meEUoXJnXcr3vPKI-AVRPYpks5qw1nHgaJpZM4KOff7
.

Juan Francisco Rodríguez García
Madrid- 2016

@tanrax
Copy link
Owner

tanrax commented Oct 5, 2016

And...
sudo -H pip install demiurge

@kapranos
Copy link
Author

kapranos commented Oct 5, 2016

Same, when i do sudo -H pip install demiurge :

kapranos@ntrserver:~$ sudo -H pip install demiurge

[sudo] password for kapranos:

Requirement already satisfied (use --upgrade to upgrade): demiurge in
/usr/local/lib/python2.7/dist-packages

Requirement already satisfied (use --upgrade to upgrade): pyquery>=1.2.8 in
/usr/local/lib/python2.7/dist-packages (from demiurge)

Requirement already satisfied (use --upgrade to upgrade): cssselect>0.7.9
in /usr/local/lib/python2.7/dist-packages (from pyquery>=1.2.8->demiurge)

Requirement already satisfied (use --upgrade to upgrade): lxml>=2.1 in
/usr/local/lib/python2.7/dist-packages (from pyquery>=1.2.8->demiurge)

When i execute the script:kapranos@ntrserver:~/python/wallapopalert$
python3 wallapop_alert.py

Traceback (most recent call last):

File "wallapop_alert.py", line 3, in

import demiurge, os, pickle, tempfile

ImportError: No module named 'demiurge'

Weird right?

thanks for your help

On 5 October 2016 at 11:08, Andros Fenollosa notifications@github.com
wrote:

And...
sudo -H pip install demiurge


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#1 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVlZDVliIQ1w0XXvPvU0LL07Qa4WBKXlks5qw2kGgaJpZM4KOff7
.

Juan Francisco Rodríguez García
Madrid- 2016

@tanrax
Copy link
Owner

tanrax commented Oct 5, 2016

Maybe the problem is not installed on python3

pip3 install demiurge

@kapranos
Copy link
Author

kapranos commented Oct 5, 2016

kapranos@ntrserver:~$ pip3 install demiurge

Requirement already satisfied (use --upgrade to upgrade): demiurge in
/usr/local/lib/python2.7/dist-packages

Requirement already satisfied (use --upgrade to upgrade): pyquery>=1.2.8 in
/usr/local/lib/python2.7/dist-packages (from demiurge)

Requirement already satisfied (use --upgrade to upgrade): cssselect>0.7.9
in /usr/local/lib/python2.7/dist-packages (from pyquery>=1.2.8->demiurge)

Requirement already satisfied (use --upgrade to upgrade): lxml>=2.1 in
/usr/local/lib/python2.7/dist-packages (from pyquery>=1.2.8->demiurge)

On 5 October 2016 at 11:14, Andros Fenollosa notifications@github.com
wrote:

Maybe the problem is not installed on python3

pip3 install demiurge


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#1 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVlZDZHWX3DC5K5rUvZBZDSd0Yrf2LA3ks5qw2pzgaJpZM4KOff7
.

Juan Francisco Rodríguez García
Madrid- 2016

@tanrax tanrax closed this as completed Dec 26, 2016
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

2 participants