Failed to create symbolic link error

Open
#197 1 comment 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
docker, python

Research direction

Start with the README's Docker setup and run make docker_build to reproduce the failure. Inspect the build step containing ln -s /usr/bin/python3.8 /usr/bin/python; done means the xblock-sdk Docker image builds successfully without the existing-link error.

Written by the indexing model from the issue text.

Description

I am trying to utilize this xblock-sdk and am installing it via Docker as explained in the readme file. However, when I run make docker_build I get the following error:

> [5/6] RUN ln -s /usr/bin/python3.8 /usr/bin/python &&     /usr/bin/python3 -m pip install --upgrade pip &&     pip install -r /usr/local/src/xblock-sdk/requirements/dev.txt:
#9 0.695 ln: failed to create symbolic link '/usr/bin/python': File exists
------
executor failed running [/bin/sh -c ln -s /usr/bin/python3.8 /usr/bin/python &&     /usr/bin/python3 -m pip install --upgrade pip &&     pip install -r /usr/local/src/xblock-sdk/requirements/dev.txt]: exit code: 1
ERROR: Service 'xblock_sdk' failed to build
make: *** [docker_build] Error 1

I interpret that error to mean that Python already exists, which seems like a good thing. How do I rectify this issue?

Dominant language
JavaScript
Stars
69
Forks
104
Avg merge
22h 11m
Merged PRs (30d)
9

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openedx/xblock-sdk

All issues in openedx/xblock-sdk

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.