Some Famous Guy
Some Famous Guy
  • 3
  • 24 681
How to install python on flash drive & make it portable! Tutorial how to do it to Run code ANYWHERE
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:
ua-cam.com/video/SkqoDE0Wmaw/v-deo.html
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!
Переглядів: 22 780

Відео

Create your own Telegram Bot with python, crash course, as an example code of done project
Переглядів 4052 роки тому
In this video, how to create your own Telegram bot with python, using a ready-made cool project as an example, uses the aiogram asynchronous framework to create a Telegram bot in python. 00:00 Telegram Bot with python aiogram 00:30 Inline Telegram bot with aiogram 01:00 Create new bot in the BotFather menu 02:52 Create project. pip install aiogram, python-dotenv, youtube-search 04:56 start the ...

КОМЕНТАРІ

  • @MoveTrueRecords_
    @MoveTrueRecords_ 19 днів тому

    New Sub❤

  • @nakarmi0205
    @nakarmi0205 28 днів тому

    no bullshit + straight to point+ and it works = got subscriber. keep up the great work !!

  • @samareshroyram4612
    @samareshroyram4612 2 місяці тому

    Important areas were done in haste. Very difficult to comprehend. The screen using very small fonts. Almost illegible.

  • @saumitrasarkar6289
    @saumitrasarkar6289 4 місяці тому

    What if I want to use PyCharm with it? Please help me out.

  • @Lui_xx
    @Lui_xx 8 місяців тому

    i only have 2 files in the scirpts venv folder? no bat flies

  • @QorQar
    @QorQar 9 місяців тому

    Make a video to convert Pycharm to porable ide

  • @shahriarkabir9485
    @shahriarkabir9485 11 місяців тому

    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?

  • @MikaeilRajaei-u8t
    @MikaeilRajaei-u8t Рік тому

    Its veri veri an impressive you know?, keep going my bratan, i'm happy for you to go Famousi .!.

  • @YaroslavIakovlev
    @YaroslavIakovlev Рік тому

    Well doni, famosi, 80 subscriber impressive

  • @justsomeguy8982
    @justsomeguy8982 Рік тому

    please do a vscode portable version too so we can use that instead of idle

  • @juanorussi
    @juanorussi Рік тому

    Thanks... very helpfull ... Could you please put some tutorial to make it run on vscode?

    • @mrhonkymchonhonk
      @mrhonkymchonhonk 4 місяці тому

      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.

  • @robertonunez6626
    @robertonunez6626 Рік тому

    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.

  • @pyt3z
    @pyt3z Рік тому

    We all know why we are here

  • @jolojan125
    @jolojan125 Рік тому

    *Be sure to use the exact version he is using that is how it worked for me*

  • @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.

  • @AquaQuokka
    @AquaQuokka Рік тому

    At that point you may as well do this: for __ in range(9): print("what? 0_o")

  • @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

  • @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.

  • @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!

  • @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

    • @MikaeilRajaei-u8t
      @MikaeilRajaei-u8t Рік тому

      Well done

  • @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?

  • @yuotusaka8137
    @yuotusaka8137 Рік тому

    thank you very much great video :)

  • @dddodo0886
    @dddodo0886 Рік тому

    Thanks, really helpful tutorial, hope it works on school computers

  • @sarveshsataye603
    @sarveshsataye603 Рік тому

    Cool Man that was awesome! We can make desktop application using portable python