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

[INSTALL, Dockerfile] ply 3.3 not anymore in the dependency repository #2

Open
folkvir opened this issue Jul 9, 2018 · 2 comments
Open

Comments

@folkvir
Copy link

folkvir commented Jul 9, 2018

ply 3.3 is not anymore in the dependency repository of pip. There are only version 3.4 and newer versions. The only way to get it work is to manually download the dependency and install it by hand.

or use this Dockerfile

FROM python:2.7
WORKDIR /app
RUN wget http://www.dabeaz.com/ply/ply-3.3.tar.gz
RUN pip install ./ply-3.3.tar.gz
COPY . /app
RUN python /app/setup.py install
# build the docker file:
docker build . -t anapsid
# run the dockerfile in bash mode: 
docker run -it anapsid bash
# then run the example inside the container: 
python scripts/run_anapsid -e example/endpoints/dbpediaEndpoint -q example/dbpediaQueries/example.sparql -p b -s False -o False -d SSGM -a True -w False -r False
@Lars-H
Copy link

Lars-H commented Jul 16, 2018

Alternatively, you can get the required PLY version (3.3) from the official page, untar it and use the setup.py to install it.

@folkvir
Copy link
Author

folkvir commented Jul 26, 2018

Of course. This is what I did in the dockerfile. Download the tar, and install it using pip. But you can do it without the Dockerfile 😃

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