Windows 10: python download_model.py 117M

Discus and support python download_model.py 117M in Windows 10 Drivers and Hardware to solve the problem; I'm trying to download an 3rd party app but I have to put this code in the cmd python download_model.py 117M I got an error saying Traceback most... Discussion in 'Windows 10 Drivers and Hardware' started by Chainslinger, Oct 11, 2020.

  1. python download_model.py 117M


    I'm trying to download an 3rd party app but I have to put this code in the cmd python download_model.py 117M

    I got an error saying


    Traceback most recent call last:

    File "download_model.py", line 3, in <module>

    import requests

    ModuleNotFoundError: No module named 'requests'



    any help?

    :)
     
    Chainslinger, Oct 11, 2020
    #1

  2. python script does not run from commandline

    hello,

    I'm having problems suddenly running .py scripts from the command line. (CMD)

    Before, *.py was associated with python.exe (The association was created during python installation, associating python scripts (.py) with the proper executable.

    With the proper association of the .py file to python.exe , the location of the python.exe in the %PATH% variable - and the python extension in the %PATHEXT% , just typing '.\myscript.py' would launch the script in using the correct python.exe (using the
    CMD line)

    However, for some reason this suddenly changed last week. Now, typing '.\myscript.py' does nothing - simply shows me the next prompt in the CMD window.

    typing 'python myscript.py' still works, but since there are a load of batch files lingering around running the .py scripts without the explicit 'python' prefix - I have no idea what changed and i'd like to find out what's going on and fix this.

    I browsed various forums - mentioning assoc and ftype, but these do not seem to do the trick

    (in fact, on my tablet, typing .\myscript.py perfectly executes, and assoc/ftype seem to have nothing set for python scripts in the CMD window)

    On the pc in question:

    assoc .py returns 'Python.File' , ftype Python.File shows the path/python.exe to my python executable - yet when typing myscript.py in the CMD line, it does nothing.

    I also tried associating the .py extension using the 'Run with' again, (was still showing 'python') but this too changed nothing.

    I also checked the registry, to see what windows might be doing with .py extension, but although there are some references to the .py extension, some of which referring to the python.exe I like to use, it's hard to see what's going on there (not sure which
    registry items are or used for what or even if they are used in win10.)

    I 'repaired' my python install - then completely reinstalled python (adding registry entries) but nothing changed.

    when typing '.\myscript.py' on the command line - nothing happens, just the next prompt.

    when double clicking the python script - it does seem to be associated with the proper python version, it does start using the right python.exe

    My question(s)

    - if possible, how do I see (using the cmd line) what is windows is actually doing (trying to do) when I type 'myscript.py' (can I start CMD using some debug/verbose options?)

    - How/where in windows do i control how a .py script runs in the commandline? - apart from the 'run with' is there any way to tell windows how to run my python script, when I type myscript.py on the command line?

    - are there additional options for the powershell to deal with this?

    - is there a way, again from windows, to add details to the 'run with' , rather then just starting the .py using a python from the list, to tell it to use certain arguments?

    - When using 'run with' , and seeing a python logo - is there a way to tell the exact path/execution line associated with that logo?

    (if not, i really think it should be possible to see this when that list pops up using some advanced settings or something )

    any help and insights would be much appreciated.

    cheers

    GJ
     
    GertJanOurensma, Oct 11, 2020
    #2
  3. hadimassa Win User
    Python on N86

    Python is a patform like Java. Some apps need it to run. The extension is .py and for Java .jar
     
    hadimassa, Oct 11, 2020
    #3
  4. DaveM121 Win User

    python download_model.py 117M

    python files are curropted.

    Hi kiranbh

    I am Dave, an Independent Advisor, I will help you with this . . .

    If the icon on your .py files has changed,that means the file association on your python files has changed and they are trying to open in the wrong application

    To fix the file association, you need to locate pythonw.exe in your Python installation, then, right click a .py file, choose Properties. On the resulting dialog, click 'Change' then navigate to find that pythonw.exe executable

    That should reset the file association on Python files . . .
     
    DaveM121, Oct 11, 2020
    #4
Thema:

python download_model.py 117M

Loading...
  1. python download_model.py 117M - Similar Threads - python download_model 117M

  2. Python installation not full and python not working 3.11.0

    in Windows 10 Software and Apps
    Python installation not full and python not working 3.11.0: Hello all, I would like to ask you for help. I have been using Python 3.8 for almost 2 years and I decided to update to 3.11 installed with admin rights. Initially everything was correct. But at some point Windows shows me that Python is being reinstalled I don't have a...
  3. python

    in Windows 10 Software and Apps
    python: Por favor ajude, não consigo executar os comando na python traves destapequena mensagem Qt: Untested Windows version 10.0 detected o meu assistente virtual que estou acriar não esta a funcionar atraves da mesma ajude-me! ESTOU SEMPRE A TENTAR DESDE MUITO TEMPO ATE AGORA NAO...
  4. python

    in Windows 10 Gaming
    python: Por favor ajude, não consigo executar os comando na python traves destapequena mensagem Qt: Untested Windows version 10.0 detected o meu assistente virtual que estou acriar não esta a funcionar atraves da mesma ajude-me! ESTOU SEMPRE A TENTAR DESDE MUITO TEMPO ATE AGORA NAO...
  5. python

    in Windows 10 BSOD Crashes and Debugging
    python: Por favor ajude, não consigo executar os comando na python traves destapequena mensagem Qt: Untested Windows version 10.0 detected o meu assistente virtual que estou acriar não esta a funcionar atraves da mesma ajude-me! ESTOU SEMPRE A TENTAR DESDE MUITO TEMPO ATE AGORA NAO...
  6. Python Program

    in Windows 10 Software and Apps
    Python Program: Hey Team, So basically I am new to python programming. Wanted suggestions on whether running programs on which python compilers: offline or online are preferable.? I have windows 10, how do I understand the offline compiler's compatibility with my laptop?...
  7. python compiler

    in Windows 10 Installation and Upgrade
    python compiler: i've been trying to install multiple python compiler but none of them seem to be compatible with my pc , it always sends a notification that says " this app can't run on your pc , to find a version for your pc , check with the software publisher "...
  8. Python Output

    in Microsoft Windows 10 Store
    Python Output: Hello everyone, I am trying to earn a Python certification. My GF and I are taking an introductory course in python. It requires the Python 3.8 and Microsoft Visual Studio Code extension. We were learning the 'Hello World' segment, and our code is sound, no errors or...
  9. users python vs c:\python

    in Windows 10 Support
    users python vs c:\python: Hi all, I have an issue that's been bothering me for a while. I have python 3.8 installed on my laptop. I will try to import various modules from the python repository and I have a feeling that my path my been wrong. I have python installed here C:\python AND it seems like...
  10. Iron Python

    in Windows 10 Installation and Upgrade
    Iron Python: This product was property of the Microsoft, this is a implementation of a Python. I have dificulty to install IronPython API, using Visual Studio Professional 2019. How i do? I need install the iron python on the environment. I need 2 environment on my program. Someone can...