question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Docker and modules (eg slack_sdk)

See original GitHub issue

Trying to look at the official image. As I’m using slack, I need to pip install slack_sdk. At this stage, I’m just planning on running docker run --it <volume> jpmens/mqttwarn pip install slack_sdk.

But i get a permissions error:

WARNING: The directory '/home/mqttwarn/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
Defaulting to user installation because normal site-packages is not writeable
Collecting slack_sdk
  Downloading slack_sdk-3.6.0-py2.py3-none-any.whl (225 kB)
     |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 225 kB 566 kB/s
Installing collected packages: slack-sdk
ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: '/home/mqttwarn'
Check the permissions.

How have others done this?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
psyciknzcommented, Jun 8, 2021

hmm at 100mb bigger, Its probably not worth me fiddling around with a custom build command in compose.

I just need to work out how to re-integrate my custom β€œservices”

1reaction
psyciknzcommented, Jun 7, 2021

Whoops, did that go into master? Apologies, I was only meant to push that to my fork!

@sumnerboy12 breaking mqttwarn since ages ago - lol

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python Slack SDK
Construct UI components using easy-to-use builders. slack_sdk.models. The Python module documents are available at https://slack.dev/python-slack- ...
Read more >
Examples using the Docker Engine SDKs and Docker API
Examples on how to perform a given Docker operation using the Go and Python SDKs ... This first example shows how to run...
Read more >
slackapi/java-slack-sdk: Slack Developer Kit (including Bolt for ...
Within the SDK, there are two different modules: Bolt for Java, which is a framework with a simple API that makes it easy...
Read more >
Docker SDK for Python - Read the Docs
A Python library for the Docker Engine API. It lets you do anything the docker command does, but from within Python apps –...
Read more >
Developers - Docker and modules (eg slack_sdk) - - Bountysource
Docker and modules (eg slack_sdk) ... docker run --it <volume> jpmens/mqttwarn pip install slack_sdk. But i get a permissions error:
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found