Git Product home page Git Product logo

Comments (5)

amishHammer avatar amishHammer commented on July 26, 2024

Also the - is not an ascii char

Traceback (most recent call last):
File "", line 1, in
File "setup.py", line 24, in
license=open('LICENSE', 'r').read(),
File "/usr/local/lib/python3.5/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 19: ordinal not in range(128)

from freesms.

bfontaine avatar bfontaine commented on July 26, 2024

Iā€™m able to install it without issue:

$ virtualenv --python python3 venv
Running virtualenv with interpreter /usr/local/bin/python3
Using base prefix '/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5'
New python executable in /private/tmp/venv/bin/python3.5
Not overwriting existing python script /private/tmp/venv/bin/python (you must use /private/tmp/venv/bin/python3.5)
Installing setuptools, pip, wheel...done.

# From Pypi
$ ./venv/bin/pip install freesms
Collecting freesms
  Downloading freesms-0.1.0.tar.gz
Building wheels for collected packages: freesms
  Running setup.py bdist_wheel for freesms ... done
  Stored in directory: /Users/baptiste/Library/Caches/pip/wheels/3a/62/aa/92e2044e58016261bd9828d88818f7e6125cba1c10834cf2dc
Successfully built freesms
Installing collected packages: freesms
Successfully installed freesms-0.1.0

$ ./venv/bin/pip uninstall --yes freesms
Uninstalling freesms-0.1.0:
  Successfully uninstalled freesms-0.1.0

# From this repo
$ git clone https://github.com/bfontaine/freesms
Cloning into 'freesms'...
remote: Counting objects: 47, done.
remote: Total 47 (delta 0), reused 0 (delta 0), pack-reused 47
Unpacking objects: 100% (47/47), done.
$ ./venv/bin/pip install ./freesms
Processing ./freesms
Installing collected packages: freesms
  Running setup.py install for freesms ... done
Successfully installed freesms-0.1.0

from freesms.

amishHammer avatar amishHammer commented on July 26, 2024

Please try with the LANG env var set to C.

Thanks

On Oct 28, 2016, at 1:26 AM, Baptiste Fontaine [email protected] wrote:

Iā€™m able to install it without issue:

$ virtualenv --python python3 venv
Running virtualenv with interpreter /usr/local/bin/python3
Using base prefix '/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5'
New python executable in /private/tmp/venv/bin/python3.5
Not overwriting existing python script /private/tmp/venv/bin/python (you must use /private/tmp/venv/bin/python3.5)
Installing setuptools, pip, wheel...done.

From Pypi

$ ./venv/bin/pip install freesms
Collecting freesms
Downloading freesms-0.1.0.tar.gz
Building wheels for collected packages: freesms
Running setup.py bdist_wheel for freesms ... done
Stored in directory: /Users/baptiste/Library/Caches/pip/wheels/3a/62/aa/92e2044e58016261bd9828d88818f7e6125cba1c10834cf2dc
Successfully built freesms
Installing collected packages: freesms
Successfully installed freesms-0.1.0

$ ./venv/bin/pip uninstall --yes freesms
Uninstalling freesms-0.1.0:
Successfully uninstalled freesms-0.1.0

From this repo

$ git clone https://github.com/bfontaine/freesms
Cloning into 'freesms'...
remote: Counting objects: 47, done.
remote: Total 47 (delta 0), reused 0 (delta 0), pack-reused 47
Unpacking objects: 100% (47/47), done.
$ ./venv/bin/pip install ./freesms
Processing ./freesms
Installing collected packages: freesms
Running setup.py install for freesms ... done
Successfully installed freesms-0.1.0
ā€”
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub #1 (comment), or mute the thread https://github.com/notifications/unsubscribe-auth/AA7UDKtU2piicwAoC3YoEoH35i6YzKdaks5q4ZV-gaJpZM4KjCcZ.

from freesms.

bfontaine avatar bfontaine commented on July 26, 2024

Thanks; I can now reproduce:

$ LANG=C ./venv/bin/pip install ./freesms
Processing ./freesms
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/var/folders/0d/mmrjgs1n0zdfdr386xlnx61h0000gn/T/pip-viu9q7l9-build/setup.py", line 24, in <module>
        license=open('LICENSE', 'r').read(),
      File "/private/tmp/venv/bin/../lib/python3.5/encodings/ascii.py", line 26, in decode
        return codecs.ascii_decode(input, self.errors)[0]
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 10: ordinal not in range(128)

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /var/folders/0d/mmrjgs1n0zdfdr386xlnx61h0000gn/T/pip-viu9q7l9-build/

from freesms.

bfontaine avatar bfontaine commented on July 26, 2024

Fixed; I just released 0.1.1. Thanks for the report!

from freesms.

Related Issues (3)

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.