Closed alesolano closed 2 years ago
Hi, this is not related to LuxPythonEnvGym
, is it?
Yes. It's an error that arises when doing python setup.py install
in the repo directory.
We can also see this issue as: "what are the dependencies needed to run python setup.py install
successfully?"
I haven't tried to run it, some "what if" I would consider:
install numpy cython
?python3.7
directly instead of ubuntu 18
Edit, running it, I have a bazillion cc1plus: warning: command line option ‘-std=gnu99’ is valid for C/ObjC but not for C++
@alesolano found it, since we are using python setup.py install
we need in the dockerfile
:
RUN python3.7 -m pip install --upgrade setuptools
, this will trigger warnings about deprecation but it runs ok (thanks to this SO post, since grpcio was the last thing before the problems show up)RUN cd LuxPythonEnvGym && python3.7 setup.py install
<< use the softlink python3.7
declared earlier in the dockerfile
Also I commented out the following lines:
#RUN apt-get update && apt-get install -y python3.7-dev
python3.7 is installed no need of the dev version#RUN python3.7 -m pip install numpy Cython
And Successfully tagged lux:latest
@nosound2 yeah this is not an environment per say, I thought it was worth helping since packaging code with docker is a common practice :)
Worked! Thanks :D
Hi! I saw your post in Kaggle introducing this engine and it looks very promising. I'm trying to install it to give it a try but I'm having some problems.
In particular, there's this error that's stopping the installation:
Here is the Dockerfile that I'm using so you can see all the dependencies installed.
Here's the last lines of the logs:
Hope you've encountered this before! If you have some idea of how I can fix it, please let me know.
Thanks and congrats for the repo :D