Skip to content

can't install by pip #298

Closed
Closed
@wwqgtxx

Description

@wwqgtxx

I had try on the raspbain(RaspberryPI's Linux)

root@raspberrypi:/ST# pip3.6 install git+https://github.com/MongoEngine/flask-mongoengine.git
Collecting git+https://github.com/MongoEngine/flask-mongoengine.git
  Cloning https://github.com/MongoEngine/flask-mongoengine.git to /tmp/pip-dj4yycwg-build
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-dj4yycwg-build/setup.py", line 10, in <module>
        long_description = open(doc_path).read()
      File "/usr/local/lib/python3.6/encodings/ascii.py", line 26, in decode
        return codecs.ascii_decode(input, self.errors)[0]
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 4182: ordinal not in range(128)

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-dj4yycwg-build/

and the windows 10

Collecting flask-mongoengine>=0.8.2
  Downloading flask-mongoengine-0.8.2.tar.gz (111kB)
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\Administrator\AppData\Local\Temp\pycharm-packaging\flask-mongoengine\setup.py", line 10, in <module>
        long_description = open(doc_path).read()
    UnicodeDecodeError: 'gbk' codec can't decode byte 0xa6 in position 3978: illegal multibyte sequence
    
    ----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in C:\Users\Administrator\AppData\Local\Temp\pycharm-packaging\flask-mongoengine\

But it's work fine in a standard ubuntu server 16.04.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions