Skip to content

slugify dependency is not allowing to install kaggle #299

@kalessin

Description

@kalessin

slugify is an old library that doesn't support python3, so I don't get why kaggle, which is a python3 package, is requiring it. When trying to install via pypi, I get this error:

Collecting slugify
  Using cached slugify-0.0.1.tar.gz (1.2 kB)
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-y15tsfxk/slugify/setup.py'"'"'; __file__='"'"'/tmp/pip-install-y15tsfxk/slugify/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 /tmp/pip-pip-egg-info-69zmzca8
         cwd: /tmp/pip-install-y15tsfxk/slugify/
    Complete output (11 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-y15tsfxk/slugify/setup.py", line 26, in <module>
        version          = get_version(),
      File "/tmp/pip-install-y15tsfxk/slugify/setup.py", line 20, in get_version
        data = read_from(rel_file('src', 'slugify.py'))
      File "/tmp/pip-install-y15tsfxk/slugify/setup.py", line 15, in read_from
        return fp.read()
      File "/usr/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 0xc3 in position 254: 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.

Metadata

Metadata

Assignees

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