Failed to create symbolic link error
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
- Domain
- build-system, devops
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
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openedx/xblock-sdk
-
code health
Difficulty 5/5 Over a week Newbie friendliness 25/100
openedx/xblock-sdk#419 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
openedx/xblock-sdk#389 ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
openedx/xblock-sdk#215 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 50/100
openedx/xblock-sdk#207 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
openedx/xblock-sdk#199 ·
Maintainers usually reply within 1 day
All issues in openedx/xblock-sdk
Similar issues
-
db-d1-sqlite: upsert is aliased to updateOne, so payload.kv.set never inserts new keysPossibly taken @pcbeingused333 claimed this today. OpenBug db: d1-sqlite Payload OSS
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
payloadcms/payload#19766 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
HarperFast/rocksdb-js#1131 ·
Maintainers usually reply within 1 day
-
Reveal: resolved but blocked Pending boundary hides its fallbackPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
anothaDev/luci-theme-vantage#137 ·
Maintainers usually reply within 1 day
-
Area/DeveloperPortal Aspect/UI Severity/Minor Type/Bug
Difficulty 1/5 Under an hour Newbie friendliness 88/100
wso2/api-platform#4369 ·
Maintainers usually reply within 1 day