Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing devml on Spark 2.3 fails with UnicodeDecodeError #28

Open
sedgewickmm18 opened this issue Jun 6, 2019 · 1 comment
Open

Comments

@sedgewickmm18
Copy link

Installing devml locally or on a standalone Jupyter notebook works fine, but installation on a Spark executor fails.

Spark Initialization Done! ApplicationId = app-20190606023318-0000
KERNEL_ID = c65ad2be-4590-4e27-ae70-010473362fb7
Collecting devml
  Downloading https://files.pythonhosted.org/packages/fc/b7/7fc5c02b9741ba3ba5966347f1231fc0e6f384f3311a3a00f514ac282165/devml-0.5.1.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-8cqaw681/devml/setup.py", line 11, in <module>
        LONG = open('README.rst').read()
      File "/opt/ibm/conda/miniconda36/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 0xe2 in position 1190: ordinal not in range(128)Waiting for a Spark session to start...
Spark Initialization Done! ApplicationId = app-20190606023318-0000
KERNEL_ID = c65ad2be-4590-4e27-ae70-010473362fb7
Collecting devml
  Downloading https://files.pythonhosted.org/packages/fc/b7/7fc5c02b9741ba3ba5966347f1231fc0e6f384f3311a3a00f514ac282165/devml-0.5.1.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-8cqaw681/devml/setup.py", line 11, in <module>
        LONG = open('README.rst').read()
      File "/opt/ibm/conda/miniconda36/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 0xe2 in position 1190: ordinal not in range(128)
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-8cqaw681/devml/
----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-8cqaw681/devml/

@noahgift
Copy link
Owner

hmm, that is interesting! pull requests are accepted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants