question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

pip install factory_boy error on python3.3

See original GitHub issue

I’m on FreeBSD 9.1-RELEASE-p7 with python3.3 running on a virtualenv pip install factory_boy return UnicodeDecode Error

(.env)# pip install factory_boy
Downloading/unpacking factory-boy
  Downloading factory_boy-2.2.1.tar.gz (71kB): 71kB downloaded
  Running setup.py egg_info for package factory-boy
    Traceback (most recent call last):
      File "<string>", line 16, in <module>
      File "/home/cdp/.env/lib/python3.3/encodings/ascii.py", line 26, in decode
        return codecs.ascii_decode(input, self.errors)[0]
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1018: ordinal not in range(128)
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

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

  File "/home/cdp/.env/lib/python3.3/encodings/ascii.py", line 26, in decode

    return codecs.ascii_decode(input, self.errors)[0]

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1018: ordinal not in range(128)

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /home/cdp/.env/build/factory-boy
Storing complete log in /root/.pip/pip.log

Am I doing anything wrong ?

Issue Analytics

  • State:closed
  • Created 10 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
edouard-lopezcommented, Sep 7, 2015

I used the following command on a Debian GNU/Linux 7.8 (wheezy)

# rebuild locale
dpkg-reconfigure locales
# set default (need to logout, log back)
update-locale LC_ALL=fr_FR.utf8
# for current session
export LC_ALL=fr_FR.UTF-8
0reactions
guillaumevincentcommented, Dec 26, 2013

thank you, I going to reconfigure my locale to handle this on my servers

Read more comments on GitHub >

github_iconTop Results From Across the Web

Trouble installing factory_boy with pip - python
I'm setting up my environment on another machine and when I run pip install factory_boy , I get the following traceback:.
Read more >
factory-boy
factory_boy is a fixtures replacement based on thoughtbot's factory_bot. As a fixtures replacement tool, it aims to replace static, hard to maintain ...
Read more >
Welcome to pytest-factoryboy's documentation! — pytest ...
pytest-factoryboy makes it easy to combine factory approach to the test setup with ... pip install pytest-factoryboy ... We now support only python...
Read more >
Django | Ecommerce | Pytest Testing including Factory Boy
Python | Django | Ecommerce | Pytest Testing including Factory Boy ... We build factories using Pytest Factory Boy, create fixtures and use ......
Read more >
Tools for Testing in Django: Nose, Coverage and Factory Boy
Let's start with Django Nose! First, activate your testing environment and install nose and django-nose via pip: $ pip install nose
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found