How to install python packages to a running snap package?How can I correctly install multiple non-package Distribute/virtualenv/pip ecosystems on Ubuntu?How to install Err in a Python 3 virtual environment?Python Pip install LDTP failsapt-get install python-xxx vs pip installBuilding python2 snap with snapcraft, python setup.py egg_info errorHow to setup PYTHONPATH for a snap package?Reinstall/Upgrade all python user-site's packages and not Ubuntu global onesHow to update virtualenv from Python 3.5 to 3.6 on AWS with requirement.txt?How do I un-screw up a Python/Pip installation after doing the mistake of running sudo pip multiple times?

Should I replace fillable PDFs?

Why doesn't knowledge of how magic works break magic in this world?

Why is casting a DATE field to VARCHAR datatype non-deterministic and is there a way to make it deterministic?

C - random password generator

Students using the same flawed online solution sheet as the grading TA

Isn't Social Security set up as a Pension Fund as opposed to a Direct Transfers Scheme?

Is using Swiss Francs (CHF) cheaper than Euros (EUR) in Switzerland?

Why didn't the 6502 have increase/decrease opcodes for A?

Is Nessa or Vanessa a Catholic name?

Is rotating a pawn so that it faces a different direction and then moves in that direction technically permitted according to the 2018 FIDE Laws?

What specifically can swap do that RAM can't

Do i really need a $1500 rig for crisp sharp photos?

How to do code reviews to people whose programming skills are weak?

When is it not okay to cheap out on bike parts?

Reimbursed more than my travel expenses for interview

How to teach children Santa is not real, while respecting other kids beliefs?

writing Vec compare in a more compact way

Toy Vector Library - Magnitude & Unit Vector Functions

Expectation of 500 coin flips after 500 realizations

I shift the source code, you shift the input!

Is it safe to drink the water from the fountains found all over the older parts of Rome?

Largest smallest gap

Site is accessible by domain in all browsers but Chrome

Aligning the Arrows



How to install python packages to a running snap package?


How can I correctly install multiple non-package Distribute/virtualenv/pip ecosystems on Ubuntu?How to install Err in a Python 3 virtual environment?Python Pip install LDTP failsapt-get install python-xxx vs pip installBuilding python2 snap with snapcraft, python setup.py egg_info errorHow to setup PYTHONPATH for a snap package?Reinstall/Upgrade all python user-site's packages and not Ubuntu global onesHow to update virtualenv from Python 3.5 to 3.6 on AWS with requirement.txt?How do I un-screw up a Python/Pip installation after doing the mistake of running sudo pip multiple times?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









0


















As I understand it, Ubuntu Snap encapsulates and manages versions and dependencies. So if I'm using a python application which is installed as a classic snap, how do I pip install additional packages for the application to use inside the snap, without polluting my non-snap environment?



In this instance I want to add some packages to the 'atom' editor which have a bunch of python package dependencies.










share|improve this question

























  • Does the snap include it's own version of Python? Or does the snap use the system's Python?

    – user535733
    Sep 30 at 12:05











  • I don't know. Is there some way to test it? If I do snap run --shell atom and then play with python it presents like the system python. Looking at /snap/atom/current/snap/manifest.yaml there are many references to python, but in the snapcraft.yaml there are none. If it had python packaged into it, where would we expect to find it?

    – John Mee
    Sep 30 at 23:13











  • I'm thinking python is not included in the snap. Which would leave me kinda screwed: wrap the snap in a virtualenv, or modify the snap to include python and site-packages, or suck it up and install to system. :-/

    – John Mee
    Sep 30 at 23:22











  • Related and insightful... bugs.launchpad.net/snapcraft/+bug/1670749

    – John Mee
    Sep 30 at 23:25

















0


















As I understand it, Ubuntu Snap encapsulates and manages versions and dependencies. So if I'm using a python application which is installed as a classic snap, how do I pip install additional packages for the application to use inside the snap, without polluting my non-snap environment?



In this instance I want to add some packages to the 'atom' editor which have a bunch of python package dependencies.










share|improve this question

























  • Does the snap include it's own version of Python? Or does the snap use the system's Python?

    – user535733
    Sep 30 at 12:05











  • I don't know. Is there some way to test it? If I do snap run --shell atom and then play with python it presents like the system python. Looking at /snap/atom/current/snap/manifest.yaml there are many references to python, but in the snapcraft.yaml there are none. If it had python packaged into it, where would we expect to find it?

    – John Mee
    Sep 30 at 23:13











  • I'm thinking python is not included in the snap. Which would leave me kinda screwed: wrap the snap in a virtualenv, or modify the snap to include python and site-packages, or suck it up and install to system. :-/

    – John Mee
    Sep 30 at 23:22











  • Related and insightful... bugs.launchpad.net/snapcraft/+bug/1670749

    – John Mee
    Sep 30 at 23:25













0













0









0








As I understand it, Ubuntu Snap encapsulates and manages versions and dependencies. So if I'm using a python application which is installed as a classic snap, how do I pip install additional packages for the application to use inside the snap, without polluting my non-snap environment?



In this instance I want to add some packages to the 'atom' editor which have a bunch of python package dependencies.










share|improve this question














As I understand it, Ubuntu Snap encapsulates and manages versions and dependencies. So if I'm using a python application which is installed as a classic snap, how do I pip install additional packages for the application to use inside the snap, without polluting my non-snap environment?



In this instance I want to add some packages to the 'atom' editor which have a bunch of python package dependencies.







python snap pip






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Sep 30 at 7:04









John MeeJohn Mee

5131 gold badge5 silver badges13 bronze badges




5131 gold badge5 silver badges13 bronze badges















  • Does the snap include it's own version of Python? Or does the snap use the system's Python?

    – user535733
    Sep 30 at 12:05











  • I don't know. Is there some way to test it? If I do snap run --shell atom and then play with python it presents like the system python. Looking at /snap/atom/current/snap/manifest.yaml there are many references to python, but in the snapcraft.yaml there are none. If it had python packaged into it, where would we expect to find it?

    – John Mee
    Sep 30 at 23:13











  • I'm thinking python is not included in the snap. Which would leave me kinda screwed: wrap the snap in a virtualenv, or modify the snap to include python and site-packages, or suck it up and install to system. :-/

    – John Mee
    Sep 30 at 23:22











  • Related and insightful... bugs.launchpad.net/snapcraft/+bug/1670749

    – John Mee
    Sep 30 at 23:25

















  • Does the snap include it's own version of Python? Or does the snap use the system's Python?

    – user535733
    Sep 30 at 12:05











  • I don't know. Is there some way to test it? If I do snap run --shell atom and then play with python it presents like the system python. Looking at /snap/atom/current/snap/manifest.yaml there are many references to python, but in the snapcraft.yaml there are none. If it had python packaged into it, where would we expect to find it?

    – John Mee
    Sep 30 at 23:13











  • I'm thinking python is not included in the snap. Which would leave me kinda screwed: wrap the snap in a virtualenv, or modify the snap to include python and site-packages, or suck it up and install to system. :-/

    – John Mee
    Sep 30 at 23:22











  • Related and insightful... bugs.launchpad.net/snapcraft/+bug/1670749

    – John Mee
    Sep 30 at 23:25
















Does the snap include it's own version of Python? Or does the snap use the system's Python?

– user535733
Sep 30 at 12:05





Does the snap include it's own version of Python? Or does the snap use the system's Python?

– user535733
Sep 30 at 12:05













I don't know. Is there some way to test it? If I do snap run --shell atom and then play with python it presents like the system python. Looking at /snap/atom/current/snap/manifest.yaml there are many references to python, but in the snapcraft.yaml there are none. If it had python packaged into it, where would we expect to find it?

– John Mee
Sep 30 at 23:13





I don't know. Is there some way to test it? If I do snap run --shell atom and then play with python it presents like the system python. Looking at /snap/atom/current/snap/manifest.yaml there are many references to python, but in the snapcraft.yaml there are none. If it had python packaged into it, where would we expect to find it?

– John Mee
Sep 30 at 23:13













I'm thinking python is not included in the snap. Which would leave me kinda screwed: wrap the snap in a virtualenv, or modify the snap to include python and site-packages, or suck it up and install to system. :-/

– John Mee
Sep 30 at 23:22





I'm thinking python is not included in the snap. Which would leave me kinda screwed: wrap the snap in a virtualenv, or modify the snap to include python and site-packages, or suck it up and install to system. :-/

– John Mee
Sep 30 at 23:22













Related and insightful... bugs.launchpad.net/snapcraft/+bug/1670749

– John Mee
Sep 30 at 23:25





Related and insightful... bugs.launchpad.net/snapcraft/+bug/1670749

– John Mee
Sep 30 at 23:25










0






active

oldest

votes













Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);














draft saved

draft discarded
















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1177599%2fhow-to-install-python-packages-to-a-running-snap-package%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown


























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1177599%2fhow-to-install-python-packages-to-a-running-snap-package%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown









Popular posts from this blog

Tamil (spriik) Luke uk diar | Nawigatjuun

Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?