Giter Site home page Giter Site logo

Comments (2)

braun-steven avatar braun-steven commented on May 28, 2024 1

Sorry, I should have posted the complete environment that I was testing it in. I tried to reproduce it on different machines now with no success.

I was using the nvidia docker cuda-10.1-cudnn7-devel image (ubuntu 18.04 as base) from which the above-mentioned error occurred.

Setting encoding='utf-8' in fact solves the issue.

I'm not sure why this specific setup causes the issue in the first place but it might be a good idea to set it to utf-8 as default for compatibility reasons.

from e2cnn.

Gabri95 avatar Gabri95 commented on May 28, 2024

Hi @Steven-LANG

Unfortunately, I am not able to reproduce this issue..

I am trying to install the legacy version with

pip install git+https://github.com/QUVA-Lab/e2cnn@legacy_py3.6

and I am using pip 20.2.2.

I guess the problem is that long_description contains the source of the file README.md, which might have some special characters.

I found a similar problem (and a possible solution) here: https://github.com/facebookresearch/fastText/pull/834/files
They just explicitly add encoding='utf-8' when loading the README file.

However, since I can not reproduce this issue on my machines, I also can not check if this solves the problem.
Would you mind trying it on you machine?

Please, let me know if this solves your problem :)

Gabriele

from e2cnn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.