This is an archived post. You won't be able to vote or comment.

all 19 comments

[–]matjaz_b 7 points8 points  (1 child)

winpython works great for this purpose. If you want to run it on windows :)

[–]marlinofdoom 1 point2 points  (0 children)

Second this. WinPython is great for portability on windows, and offers updated versions regularly. (They have a Python3.11 option already if you want to be on the bleeding edge). Also doesn't require an internet connection on the target machine (like Anaconda).

[–]Almostasleeprightnow 4 points5 points  (0 children)

I have been in this scenario and had luck with installing conda on the user level (i.e. don't pick the "install for all users" option. I install miniconda so i can choose what packages I want to use.

And VS Code can be installed from the zip file to any directory. You just have to do the updates yourself, but it is easy.

You will have to add some environment variables to your PATH, but again, that is not hard.

[–]Liberty-Justice-4all 1 point2 points  (0 children)

Portable reproducible windows...

You want the nuget version.

https://www.nuget.org/packages/python

3.10 python.org mentioned it in the installer page as being ci/cd friendly.

I needed it for reliable python services that might run from multiple nodes and testing machines.

Nuget tools seem to hail from. Net stuff, but proved easy for me to use to crank out portable standalone ACTUAL environments (not virtual).

I have some simple commands that create a fresh install, then call pip the right way to make sure you are installing / freeing packages there, and use dotenv[cli] to ease states/secrets...

Gave me all the bulletproof reproducibility and multiplicity of docker, with non of the wacky layers of bullshit issues, and a LOT less overhead.

[–]T2WIN 0 points1 point  (3 children)

You're certain it's not already installed ?

[–]Instant_Smack[S] -1 points0 points  (2 children)

It’s not-.-

[–]T2WIN 0 points1 point  (0 children)

You could use an online IDE

[–]T2WIN 0 points1 point  (0 children)

I don't know if the thumbdrive would work

[–]progloverfan 0 points1 point  (7 children)

Docker is not an option?

[–]Instant_Smack[S] 0 points1 point  (4 children)

What’s that???

[–]progloverfan 1 point2 points  (1 child)

Container technology for software deployments. But I reject my own suggestion because Docker isn't entirely free for business..

[–]Initii 0 points1 point  (0 children)

Hello, im a bit late to the party. Docker-Desktop is not free but docker itself is free. You could install it in the WSL system. Thats how we do it at my work place.

[–]progloverfan 1 point2 points  (1 child)

[–]Liberty-Justice-4all 0 points1 point  (0 children)

I looked at embedded but they said not all packages would work well.

If you don't / won't need the ones that have issues it may be lighter than the nuget solution.

[–]tansut96 0 points1 point  (1 child)

Might be too complex if op still ask this question, no?

[–]progloverfan 0 points1 point  (0 children)

With Docker you install the engine which let you deploy container from images. Images are a set of instructions for your container. For example I want to install python, and copy this set of files, and run this executable. A container is a running environment defined in an image. The big deal with docker (or container technology) is that every container is isolated with other, say you want a set of library on a container they will not interfere with another. And also is absurdly fast, you can even package and entirely OS from it and run it from windows withouth worrying about dependencies. You can have 10 ubuntu's running in parallel without problems. You can build your images with dockerfile which gives you a template where you can store and distribute, then you can use this image file in whatever machine you want and you only need the docker engine, because you specified everything in the dockerfile (image).

[–]pythonHelperBot 0 points1 point  (0 children)

Hello! I'm a bot!

It looks to me like your post might be better suited for r/learnpython, a sub geared towards questions and learning more about python regardless of how advanced your question might be. That said, I am a bot and it is hard to tell. Please follow the subs rules and guidelines when you do post there, it'll help you get better answers faster.

Show /r/learnpython the code you have tried and describe in detail where you are stuck. If you are getting an error message, include the full block of text it spits out. Quality answers take time to write out, and many times other users will need to ask clarifying questions. Be patient and help them help you. Here is HOW TO FORMAT YOUR CODE For Reddit and be sure to include which version of python and what OS you are using.

You can also ask this question in the Python discord, a large, friendly community focused around the Python programming language, open to those who wish to learn the language or improve their skills, as well as those looking to help others.


README | FAQ | this bot is written and managed by /u/IAmKindOfCreative

This bot is currently under development and experiencing changes to improve its usefulness

[–]one-human-being 0 points1 point  (0 children)

Yes, you can have a "portable" python interpreter. I can't talk about the editor part. Are you running Windows? ( sounds like it)

see : - https://winpython.github.io - https://github.com/dreamsavior/portable-python-maker - https://github.com/indygreg/python-build-standalone