Forums

trying to install a googlesharing proxy

I'm trying to install GoogleSharing (https://github.com/timkuijsten/GoogleSharing) on pythonanywhere. I'm stalled because the install script returns an error:

20:25 ~/GoogleSharing/server (master)$ python setup.py install


running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/googleshare
copying googleshare/ActiveIdentityPool.py -> build/lib.linux-x86_64-2.7/googleshare
copying googleshare/ClientRequest.py -> build/lib.linux-x86_64-2.7/googleshare
copying googleshare/Cookie.py -> build/lib.linux-x86_64-2.7/googleshare
copying googleshare/GoogleConnection.py -> build/lib.linux-x86_64-2.7/googleshare
copying googleshare/GoogleConnectionFactory.py -> build/lib.linux-x86_64-2.7/googleshare
copying googleshare/GoogleEncryptedConnection.py -> build/lib.linux-x86_64-2.7/googleshare
copying googleshare/GoogleEncryptedConnectionFactory.py -> build/lib.linux-x86_64-2.7/googleshare
copying googleshare/GoogleProxy.py -> build/lib.linux-x86_64-2.7/googleshare
copying googleshare/Identity.py -> build/lib.linux-x86_64-2.7/googleshare
copying googleshare/IdentityProvider.py -> build/lib.linux-x86_64-2.7/googleshare
copying googleshare/LanguagePreferences.py -> build/lib.linux-x86_64-2.7/googleshare
copying googleshare/ThreadDumpServer.py -> build/lib.linux-x86_64-2.7/googleshare
copying googleshare/UserAgents.py -> build/lib.linux-x86_64-2.7/googleshare
copying googleshare/UserAgentsFirefox.py -> build/lib.linux-x86_64-2.7/googleshare
copying googleshare/init.py -> build/lib.linux-x86_64-2.7/googleshare
copying googleshare/daemonize.py -> build/lib.linux-x86_64-2.7/googleshare
running build_scripts
creating build/scripts-2.7
copying and adjusting googleshare/googleshare -> build/scripts-2.7
changing mode of build/scripts-2.7/googleshare from 664 to 775
running install_lib
creating /usr/local/lib/python2.7/dist-packages/googleshare
error: could not create '/usr/local/lib/python2.7/dist-packages/googleshare': Permission denied

Anybody can help? Thank you.

[edited by admin: formatting]

Is this the same GoogleSharing as this one on PyPI? If so, then if you rn the following command from a Bash console, it should work:

pip install --user collective.googlesharing

Thank you for your reply. However no, the app I'm interested in is the server proxy which makes the following Firefox addon working: https://addons.mozilla.org/en-us/firefox/addon/googlesharing/

Ah, I see. Unfortunately it looks like that runs as a socket server instead of as a WSGI web server, so I don't think it will work here at all :-(