[gpodder] mygpo setup issues

  • From: Romain Gontier <romaingontier@xxxxxxx>
  • To: gpodder@xxxxxxxxxxxxx
  • Date: Sun, 4 Jun 2017 14:47:59 +0200

Hello everybody

i'm following these instructions : https://github.com/gpodder/mygpo/blob/master/INSTALL.md in order to setup mygpo with linux mint 17.3 64bits (just for testing in localhost)

About Python and Postgresql :

/$ psql -V//
//psql (PostgreSQL) 9.3.10//
//
//$ python --version//
//Python 2.7.6/

Theses steps are allright :

/sudo apt-get install erlang git python-pip python-dev libevent-dev//
//sudo apt-get install libjpeg-dev zlib1g-dev libpng12-dev//
//git clone git://github.com/gpodder/mygpo.git//
//cd mygpo/

But this one encounters an error with python3-memcache dependency :

/pip install -r requirements.txt/

Here's the console log :

/Downloading/unpacking Babel==2.3.4 (from -r requirements.txt (line 1))
  Downloading Babel-2.3.4-py2.py3-none-any.whl (7.1MB): 7.1MB downloaded
Downloading/unpacking Pillow==3.3.0 (from -r requirements.txt (line 2))
  Downloading Pillow-3.3.0.zip (10.8MB): 10.8MB downloaded
Running setup.py (path:/tmp/pip_build_romain/Pillow/setup.py) egg_info for package Pillow

    warning: no files found matching '*.sh'
    no previously-included directories found matching 'docs/_static'
    warning: no previously-included files found matching '.coveragerc'
    warning: no previously-included files found matching '.editorconfig'
    warning: no previously-included files found matching '.landscape.yaml'
    warning: no previously-included files found matching 'appveyor.yml'
warning: no previously-included files found matching 'build_children.sh'
    warning: no previously-included files found matching 'tox.ini'
warning: no previously-included files matching '.git*' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
Downloading/unpacking Django==1.9.8 (from -r requirements.txt (line 3))
  Downloading Django-1.9.8-py2.py3-none-any.whl (6.6MB): 6.6MB downloaded
Downloading/unpacking celery==3.1.23 (from -r requirements.txt (line 4))
  Downloading celery-3.1.23-py2.py3-none-any.whl (520kB): 520kB downloaded
Downloading/unpacking dj-database-url==0.4.1 (from -r requirements.txt (line 5))
  Downloading dj-database-url-0.4.1.tar.gz
Running setup.py (path:/tmp/pip_build_romain/dj-database-url/setup.py) egg_info for package dj-database-url

Downloading/unpacking django-redis-sessions==0.5.6 (from -r requirements.txt (line 6))
  Downloading django-redis-sessions-0.5.6.tar.gz
Running setup.py (path:/tmp/pip_build_romain/django-redis-sessions/setup.py) egg_info for package django-redis-sessions

Downloading/unpacking python3-memcached==1.51 (from -r requirements.txt (line 7))
  Downloading python3-memcached-1.51.tar.gz
Running setup.py (path:/tmp/pip_build_romain/python3-memcached/setup.py) egg_info for package python3-memcached
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
File "/tmp/pip_build_romain/python3-memcached/setup.py", line 4, in <module>
        import memcache
      File "memcache.py", line 1251
print("Testing set/get {'%s': %s} ..." % (to_s(key), to_s(val)), end=' ')
^
    SyntaxError: invalid syntax
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 17, in <module>

File "/tmp/pip_build_romain/python3-memcached/setup.py", line 4, in <module>

    import memcache

  File "memcache.py", line 1251

print("Testing set/get {'%s': %s} ..." % (to_s(key), to_s(val)), end=' ')

^

SyntaxError: invalid syntax

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_romain/python3-memcached
Storing debug log for failure in /home/romain/.pip/pip.log/

/
/

Should i get python 3 packages too ? I prefer to ask before adding useless packages to my system.

Thanks a lot.
Romain


Other related posts: