You are not logged in.
Hello,
I am trying to run localserver to develop a webpage with python and django. When I run "make" command to download and configure python packages, I get this error:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 196: ordinal not in range(128)
An error occurred when trying to install hexagonit.recipe.download 1.7. Look above this message for any errors that were output by easy_install.
While:
Installing.
Getting section jquery.
Initializing section jquery.
Installing recipe hexagonit.recipe.download.
Getting distribution for 'hexagonit.recipe.download==1.7'.
Error: Couldn't install: hexagonit.recipe.download 1.7
Makefile:40: recipe for target 'bin/django' failed
make: *** [bin/django] Error 1What could be the problem here? I have successfully created this working environment on Linux Mint by the way.
If I need to post more info or error logs, let me know.
Thanks
Vim is not just an editor (...); it is for all intents and purposes a universal design pattern. -- Jason Ryan
Offline
On the face of it, the problem seems to be that the script is trying to decode non-ASCII data as ASCII, and getting stuck when it encounters a non-ASCII character. One way I can think of that this could come about is if the script is intended to run in Python2. Archlinux uses Python3 by default. Many distributions are still using Python2. IIRC, Python3 and Python2 have different handling for unicode strings. Try changing the makefile (or scripts if you're using a shebang) to use /usr/bin/env python2 rather than python3.
Offline