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

pip issue - PIL installation no longer working #9

Open
louwersj opened this issue Jan 31, 2015 · 5 comments
Open

pip issue - PIL installation no longer working #9

louwersj opened this issue Jan 31, 2015 · 5 comments

Comments

@louwersj
Copy link

When you try to run install.sh it will try to execute pip and install PIL. However some things have changed and due to this the installation will fail on line 116.

Line 116 of install.sh (AS-IS)
pip install lxml beautifulsoup requests PIL mitmproxy ipaddr publicsuffix twisted cryptacular Flask_SQLAlchemy

To resolve this issue lijne 116 needs to be changed to the below:
pip install lxml beautifulsoup requests mitmproxy ipaddr publicsuffix twisted cryptacular Flask_SQLAlchemy

And a second line needs to be added to be able to install PIL seperatly. New line shown below:
pip install PIL --allow-external PIL --allow-unverified PIL

This will give the following codeblock:
116 pip install lxml beautifulsoup requests mitmproxy ipaddr publicsuffix twisted cryptacular Flask_SQLAlchemy
117 pip install PIL --allow-external PIL --allow-unverified PIL
118 if [ "$?" -ne 0 ]; then echo "[!] Failed :("; exit 1; fi
119

Regards,
Johan

@aljawo
Copy link

aljawo commented Sep 1, 2016

Hi Johan. Not sure how involved you are with this but no matter what THANKS!

I am trying to install the framework (14.04) and even after the changes with PIP I still have issues after your note. In the end I googled how to install PIP manually and commented that line out of the script so it could go on...

Let's see how it goes with the rest.

thanks !!

@nemanjan00
Copy link

nemanjan00 commented Sep 1, 2016

Change line 116 in install.sh to this:

pip install lxml beautifulsoup requests mitmproxy ipaddr publicsuffix twisted cryptacular Flask_SQLAlchemy
pip install --no-index -f http://dist.plone.org/thirdparty/ -U PIL

I think it installed this way... (I do not really remmember if I changed anything else and did it fully work)

@aljawo
Copy link

aljawo commented Sep 1, 2016

Thanks. But tried it separately and still get an error:

Could not find a version that satisfies the requirement PIL (from versions: )
No matching distribution found for PIL

@nemanjan00
Copy link

It seams like PIL is depracted and Pillow is fork that is still maintained...

Try installing Pillow instead...

@aljawo
Copy link

aljawo commented Sep 1, 2016

Thanks Sir!
I had installed Pillow just in case.. My server menu runs but status shows Stopped. That is why I went and check if it could be an issue with some python module.


2016-09-01 15:50:31 INFO snoopy_server.py: Main Snoopy Process starting. Divert all power to the engines!
2016-09-01 15:50:31 INFO prox_guid.py: Starting proximity calculator...
2016-09-01 15:50:31 INFO facebook.py: Starting Facebook stalker
2016-09-01 15:50:31 INFO ssid_to_loc.py: Starting Wigle GeoLocator
2016-09-01 15:50:31 INFO pytail.py: Staring database population engine
2016-09-01 15:50:31 INFO init.py: create_all() complete
2016-09-01 15:50:31 INFO _internal.py: * Running on http://0.0.0.0:5000/

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

3 participants