slugify dependency is not allowing to install kaggle
See original GitHub issueslugify 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.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:5
- Comments:8 (1 by maintainers)
Top Results From Across the Web
Regarding kaggle installation on windows 10 pc
I created python environment 2 then installed kaggle using "pip install kaggle" as its successfully installed "Successfully built kaggle python-slugify ...
Read more >python-slugify - PyPI
This module, by default installs and uses text-unidecode (GPL & Perl Artistic) for its decoding needs. However, there is an alternative decoding package...
Read more >python - Unable to install Airflow even after setting ...
Airflow is not officially supporting python3.7 yet. enter image description here. I think pip might not be picking up your environment ...
Read more >Re: Exporting a dataset to Google Sheets - Dataiku Community
I'm still getting the same error. I already had all the dependencies installed. Is there anything else I can try to fix this?...
Read more >Tips & Tricks of Deploying Deep Learning Webapp on Heroku ...
Add tensorflow-cpu instead of tensorflow which will reduce the slug size from ... First, we will install a buildpack that will allow the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

The followings are my solution:
Clone kaggle-api master branch to your PC.
Mark slugify dependency package from setup.py in kaggle-api.git folder.
Install slugify by pip3. This is python3 version.
install kaggle-api in folder.
Done.
My environment:
@kalessin Hi! Finally, I figured out this problem. when i installed Tensorflow object detection api, this error came out. It was exactly same error message with your error
python3 doesn’t support slugiy-0.0.1 , so i searched slugify-0.0.1.tar.gz file on google and installed it by myself after then Tensorflow object detection api work!
i hope that this way will help you
here is my environment python 3.6 tensorflow 2.3