-
-
Notifications
You must be signed in to change notification settings - Fork 211
Closed
Description
Description
Installing opeml in an ubuntu:18.04 docker container leads to this error:
Step 4/4 : RUN pip3 install openml
---> Running in d9c37780f2d7
Collecting openml
Downloading https://files.pythonhosted.org/packages/a4/5d/30ce4d1af609ba389d55654e6a7271619253dbbe7006a33bb20c703f0234/openml-0.11.0.tar.gz (110kB)
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-cqdtdqzh/openml/setup.py", line 20, in <module>
README = fid.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 1722: ordinal not in range(128)
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-cqdtdqzh/openml/
ERROR: Service 'ba' failed to build: The command '/bin/sh -c pip3 install openml' returned a non-zero code: 1
Steps/Code to Reproduce
Here is the Dockerfile:
FROM ubuntu:18.04
#Make sure that we don't get interactive prompts during installs:
ENV DEBIAN_FRONTEND=noninteractive
#Install system dependencies:
RUN apt-get update && apt-get install -y \
bc \
build-essential \
gawk \
git \
gosu \
htop \
imagemagick \
nano \
python3-opencv \
python3-pip \
software-properties-common \
sudo \
&& rm -rf /var/lib/apt/lists/*
RUN pip3 install openml
Expected Results
A successful install of openml.
Note
Changing the FROM line to ubuntu:20.04 resolves the issue, but I have GPU driver compatibility constraints that require i use 18.04. 18.04 is supposed to be maintained for several more years, so it would be great if openml would install on that too.
Metadata
Metadata
Assignees
Labels
No labels