How to install python on flash drive & make it portable! Tutorial how to do it to Run code ANYWHERE

  Рет қаралды 19,343

Some Famous Guy

Some Famous Guy

Күн бұрын

In this video, I'll show you how to install python on a flash drive and how to make python work from a flash drive on any computer. Also, the pip package manager will work and it will be possible to install additional packages and libraries using the pip package manager.
Build a portable python and carry it in your pocket!
00:00 download python
01:05 installing python on pendrive
03:12 making python virtual environment on flash drive
04:08 editing file pyvenv config
05:29 editing activate file
06:19 create a bat file
07:59 commands in bat files
11:31 install packages with pip package manager on flash drive
12:33 final tests
Web scraping course:
• Python Web Scraping Co...
If you liked the video, subscribe and like, and also write your opinion about it in the comments! And don't miss the next videos!
Good luck!
from Some Famous Guy!

Пікірлер: 41
@user-kr1fb8tt9s
@user-kr1fb8tt9s 9 ай бұрын
Its veri veri an impressive you know?, keep going my bratan, i'm happy for you to go Famousi .!.
@yuotusaka8137
@yuotusaka8137 Жыл бұрын
thank you very much great video :)
@sarveshsataye603
@sarveshsataye603 Жыл бұрын
Cool Man that was awesome! We can make desktop application using portable python
@dddodo0886
@dddodo0886 Жыл бұрын
Thanks, really helpful tutorial, hope it works on school computers
@Pookiebear4000
@Pookiebear4000 Жыл бұрын
hmmmmm
@malvin74s
@malvin74s Жыл бұрын
Thanks a lot! The only change I made was to use Python 3.11
@SomeFamousGuy_channel
@SomeFamousGuy_channel Жыл бұрын
👍 It's implemented so that the version doesn't matter. Yes, this does not work on some PCs, as one of the subscribers wrote, but this is due to problems in the OS itself (lack of components). And some libraries require, with rare exceptions, special installation conditions. In most cases this works. Good luck!
@user-uh1yt4ue1d
@user-uh1yt4ue1d 9 ай бұрын
Well doni, famosi, 80 subscriber impressive
@user-kr1fb8tt9s
@user-kr1fb8tt9s 9 ай бұрын
.!.
@jolojan125
@jolojan125 Жыл бұрын
*Be sure to use the exact version he is using that is how it worked for me*
@justsomeguy8982
@justsomeguy8982 10 ай бұрын
please do a vscode portable version too so we can use that instead of idle
@robertonunez6626
@robertonunez6626 11 ай бұрын
I installed Windows Terminal but when I right click on the File explorer to "Open with Terminal" it doesn't come out. That option does not appear, only my open with visual studio comes out.
@juanorussi
@juanorussi 11 ай бұрын
Thanks... very helpfull ... Could you please put some tutorial to make it run on vscode?
@mrhonkymchonhonk
@mrhonkymchonhonk 8 күн бұрын
I was able to do it eventually. The biggest hurdles were: 1) VScode limits functionality of workspaces in base drive folders like C:\ or D:\, so had to change the workspace's root to a subfolder on the drive (by removing the path "." from "folders" in the .code-workspace file and adding a subfolder) 2) VScode misinterpreted the path ..\python310 in the pyvenv.cfg file so had to change back to D:\python310.
@Lui_xx
@Lui_xx 4 ай бұрын
i only have 2 files in the scirpts venv folder? no bat flies
@shahriarkabir9485
@shahriarkabir9485 8 ай бұрын
It works when i do it directedly to a drive. But not work when i install python in a folder in a pen drive. What to do?
@saumitrasarkar6289
@saumitrasarkar6289 12 күн бұрын
What if I want to use PyCharm with it? Please help me out.
@bogdan-galuga
@bogdan-galuga Жыл бұрын
Hi! I've been doing what is shown in the video, but I can`t access Python via "python" word, but I still am able to open Python via clicking on "python.exe" file in the Python folder and by writing the whole address, like "E:\Python\python311\python.exe". Can you please help me? Should I add Python location to system variables?
@bonfacemwangi9689
@bonfacemwangi9689 Жыл бұрын
Am also having the same error
@matthias4748
@matthias4748 Жыл бұрын
you will have to navigate to the directory where python.exe is in. navigaate to your drive in cmd using "cd /d (drive prefix like E:/ or D:/)" and then your python folder
@bogdan-galuga
@bogdan-galuga Жыл бұрын
@@matthias4748 thank you! Still, it works only if I do write this script every time when I open cmd. Is there any way not to write this script every time to be able to call Python just by writing "python"? Also, I usually use PowerShell for opening Python files, not the cmd, so is there any solution for PowerPoint?
@matthias4748
@matthias4748 Жыл бұрын
@@bogdan-galuga have you tried putting it as an environment variable in PATH? there are plenty of how-to's online, check them out
@SRTIEP
@SRTIEP 9 ай бұрын
@user-kr1fb8tt9s
@user-kr1fb8tt9s 9 ай бұрын
@Arsen-hp4jq
@Arsen-hp4jq Жыл бұрын
Hi, thanks for your nice tutorial. Everything works perfectly as I install what you showed. But when I try to install haystack, I'll get an error message: "python setup.py egg_info did not run successfully. exit code 103. No python at '"..\python310\python.exe" can you help me? Same as you I deleted the text "file.py" in the "run python file.bat". Any help is appreciated. A
@Arsen-hp4jq
@Arsen-hp4jq Жыл бұрын
Hi Some Famous Guy, could you please help me with my problem. I am stuck in the exit code 103. Any help is appreciated. Have a good day, A
@bionzthegod
@bionzthegod Жыл бұрын
@@Arsen-hp4jq did you find a solution?
@Arsen-hp4jq
@Arsen-hp4jq Жыл бұрын
@@bionzthegod No not really.
@user-cb7yl4nr6h
@user-cb7yl4nr6h 5 ай бұрын
Make a video to convert Pycharm to porable ide
@henriquepaulo007
@henriquepaulo007 Жыл бұрын
Good job! But that solution only works if you put all scripts on the root diretory. Can you make a solution for run on any diretory?
@SomeFamousGuy_channel
@SomeFamousGuy_channel Жыл бұрын
Maybe I could... But this is a solution for narrow problems, not for universal use.
@ViralPatel1996s
@ViralPatel1996s Жыл бұрын
How to use VScode ide with this method?
@SomeFamousGuy_channel
@SomeFamousGuy_channel Жыл бұрын
Vscode is difficult to install on a flash drive. But if it is on your PC, then just select the interpreter in the settings.
@JB-mk3og
@JB-mk3og Жыл бұрын
@@SomeFamousGuy_channel can i do the same with pycharm? chosing the interpreter in the usb?
@Pookiebear4000
@Pookiebear4000 Жыл бұрын
i cant get any code it would on it
@SomeFamousGuy_channel
@SomeFamousGuy_channel Жыл бұрын
It's for windows. And, if you on windows, you need to find all mistakes in your code in configuration bat files
@Pookiebear4000
@Pookiebear4000 Жыл бұрын
@@SomeFamousGuy_channel i get code to start working but when i plug it into another computer it doesnt work i have tryed lots of things
@user-kr1fb8tt9s
@user-kr1fb8tt9s 9 ай бұрын
Well done
@pyt3z
@pyt3z Жыл бұрын
We all know why we are here
@Kattoe
@Kattoe 9 ай бұрын
Why are you here?
@user-kr1fb8tt9s
@user-kr1fb8tt9s 9 ай бұрын
you know?
How To Game On The Worst Modern GPU...
10:04
Dawid Does Tech Stuff
Рет қаралды 107 М.
100❤️
00:19
MY💝No War🤝
Рет қаралды 21 МЛН
БОЛЬШОЙ ПЕТУШОК #shorts
00:21
Паша Осадчий
Рет қаралды 10 МЛН
когда повзрослела // EVA mash
00:40
EVA mash
Рет қаралды 4,4 МЛН
15 Python Libraries You Should Know About
14:54
ArjanCodes
Рет қаралды 372 М.
Build an SQL Agent with Llama 3 | Langchain | Ollama
20:28
TheAILearner
Рет қаралды 4 М.
3 PYTHON AUTOMATION PROJECTS FOR BEGINNERS
17:00
Internet Made Coder
Рет қаралды 1,5 МЛН
Automating My Life with Python: The Ultimate Guide | Code With Me
11:26
The Complete Guide to Python Virtual Environments!
15:52
teclado
Рет қаралды 333 М.
5 Amazing Ways to Automate Your Life using Python
18:40
Internet Made Coder
Рет қаралды 222 М.
Super Lite Portable OS for USB Drive (Linux Slax)
16:48
Andriy Mikhailovich Tech
Рет қаралды 18 М.
Python RAG Tutorial (with Local LLMs): AI For Your PDFs
21:33
pixegami
Рет қаралды 147 М.
100❤️
00:19
MY💝No War🤝
Рет қаралды 21 МЛН