UnicodeDecodeError

33 views
Skip to first unread message

Tarek Al Beb

unread,
Apr 19, 2015, 4:27:47 PM4/19/15
to formh...@googlegroups.com
Hello everyone, I'm CS student at North American University. I'm trying to deploy FormHub on our server, I was following the steps on this guide https://github.com/tarekbeb/formhub/tree/master/docs/install but I had an error in step#5 installing formhub on this command: sudo pip install -r /home/fhuser/formhub/requirements.pip
I'm getting this error:

compilation terminated.

error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

----------------------------------------
  Rolling back uninstall of Pillow
Cleaning up...
Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_root/Pillow/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-d1jjsL-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_root/Pillow
Traceback (most recent call last):
  File "/usr/bin/pip", line 9, in <module>
    load_entry_point('pip==1.5.4', 'console_scripts', 'pip')()
  File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 185, in main
    return command.main(cmd_args)
  File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 161, in main
    text = '\n'.join(complete_log)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 72: ordinal not in range(128)


I had the same error using ubuntu 14.04 on virtual machine, public Formhub Virtual Disk Image in virtualbox, and on a virtual server using PUTTY. can anyone help?

Cesar Andrés Quiroga Coronado

unread,
Apr 29, 2015, 1:13:28 PM4/29/15
to formh...@googlegroups.com
Hello.

After try and try without success. I found this:

#cd /usr/include
#ln -s freetype2 freetype

Regards
Reply all
Reply to author
Forward
0 new messages