CINPLA / exdir

Directory structure standard for experimental pipelines.
http://exdir.rtfd.io
MIT License
72 stars 13 forks source link

Installation with Pip gives UnicodeDecodeError #94

Closed titusjan closed 3 years ago

titusjan commented 4 years ago

When I try to install Exdif using pip i get the following error.

$> pip install exdir
Collecting exdir
  Using cached exdir-0.4.1.tar.gz (37 kB)
    ERROR: Command errored out with exit status 1:
     command: /Users/kenter/miniconda3/envs/argosdev35/bin/python3.5 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/3d/ycgkp7cd7557g64h01_4nzsc0000gn/T/pip-install-r9ygw1g3/exdir/setup.py'"'"'; __file__='"'"'/private/var/folders/3d/ycgkp7cd7557g64h01_4nzsc0000gn/T/pip-install-r9ygw1g3/exdir/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/3d/ycgkp7cd7557g64h01_4nzsc0000gn/T/pip-install-r9ygw1g3/exdir/pip-egg-info
         cwd: /private/var/folders/3d/ycgkp7cd7557g64h01_4nzsc0000gn/T/pip-install-r9ygw1g3/exdir/
    Complete output (7 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/3d/ycgkp7cd7557g64h01_4nzsc0000gn/T/pip-install-r9ygw1g3/exdir/setup.py", line 9, in <module>
        long_description = open("README.md").read()
      File "/Users/kenter/miniconda3/envs/argosdev35/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 3076: ordinal not in range(128)
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

It seems that there is a non-ascii character in the README.md file. Can you please take a look?

lepmik commented 3 years ago

This should be fixed in #95, although the pip version is not yet updated. @dragly maybe it's time to make a new version - would you mind updating on pypi?

titusjan commented 3 years ago

Thanks for fixing it.

BTW, I just made a new release of Argos, a data viewer for various file formats. It can also handle Exdir files, thanks to the plug-in that @luihabl wrote. Take a look if you're interested.

lepmik commented 3 years ago

Looks very nice! Thank you for including exdir :)

tir. 23. feb. 2021 kl. 19:38 skrev Pepijn Kenter notifications@github.com:

Thanks for fixing it.

BTW, I just made a new release of Argos https://github.com/titusjan/argos, a data viewer for various file formats. It can also handle Exdir files, thanks to the plug-in that @luihabl https://github.com/luihabl wrote. Take a look if you're interested.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/CINPLA/exdir/issues/94#issuecomment-784421924, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2CP4GKDNZHNIDMZ6P6XVTTAPY3DANCNFSM4LRLFRZQ .

-- Mikkel Elle Lepperød http://cinpla.org/people/ Centre for Integrative Neuroplasticity (CINPLA http://cinpla.org) University of Oslo (UiO http://uio.no) Kristine Bonnevies hus, room 2513

dragly commented 3 years ago

This should be fixed in #95, although the pip version is not yet updated. @dragly maybe it's time to make a new version - would you mind updating on pypi?

Version v0.4.2 is available on PyPI now :rocket: