python / cpython

The Python programming language
https://www.python.org
Other
62.36k stars 29.95k forks source link

Python 3.8 Not Launching on Bootcamp Windows 10. #84437

Closed 736aac8d-1eb2-45d8-9768-a436bacfa8db closed 1 year ago

736aac8d-1eb2-45d8-9768-a436bacfa8db commented 4 years ago
BPO 40256
Nosy @terryjreedy, @pfmoore, @ronaldoussoren, @tjguk, @ned-deily, @zware, @zooba

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields: ```python assignee = None closed_at = None created_at = labels = ['type-bug', '3.8', 'OS-windows'] title = 'Python 3.8 Not Launching on Bootcamp Windows 10.' updated_at = user = 'https://bugs.python.org/YusufM' ``` bugs.python.org fields: ```python activity = actor = 'steve.dower' assignee = 'none' closed = False closed_date = None closer = None components = ['Windows'] creation = creator = 'YusufM' dependencies = [] files = [] hgrepos = [] issue_num = 40256 keywords = [] message_count = 12.0 messages = ['366217', '367717', '367750', '367752', '367754', '367755', '367757', '367758', '367768', '367780', '367995', '368046'] nosy_count = 8.0 nosy_names = ['terry.reedy', 'paul.moore', 'ronaldoussoren', 'tim.golden', 'ned.deily', 'zach.ware', 'steve.dower', 'YusufM'] pr_nums = [] priority = 'normal' resolution = 'wont fix' stage = None status = 'open' superseder = None type = 'behavior' url = 'https://bugs.python.org/issue40256' versions = ['Python 3.8'] ```

736aac8d-1eb2-45d8-9768-a436bacfa8db commented 4 years ago

Hello. I am having trouble running python IDLE on Windows 10 Bootcamp. When searching and opening from windows taskbar, no window appears and nothing else appears to happen.

Please help me!

terryjreedy commented 4 years ago

I presume you mean the Mac Bootcamp program that allows one to run Windows on Macs. I don't know if it runs *all* Windows programs or whether we specifically support running Windows python under Bootcamp. I imagine that there might be problems with some GUI and graphics programs.

IDLE depends on multiple stdlibs, in particular tkinter, which depends on tcl/tk. To test if the Windows versions work under Bootcamp, run "python -m tkinter" in Command Prompt. You should see a tk window with text and a click-me button. If that works, try "python -m turtle". It should draw and erase a couple of patterns. If both work, "python -m test". Then try "python -m idlelib" and report any error messages that appear.

ronaldoussoren commented 4 years ago

AFAIK Windows 10 in Bootcamp is just the regular Windows 10. Bootcamp (or technically "Bootcamp Assistent") creates a partition for the installation of W10 and adds some drivers for Apple hardware.

See als: https://support.apple.com/en-us/HT201468

736aac8d-1eb2-45d8-9768-a436bacfa8db commented 4 years ago

Hello, so when I type in python -m tkinter, nothing appears.

ronaldoussoren commented 4 years ago

How did you install Python?

Does "python" work as a command (should give you an interactive shell)?

Does "python -m test" work? This runs the testsuite.

736aac8d-1eb2-45d8-9768-a436bacfa8db commented 4 years ago

Hello, I installed python of their own website. No interactive command shell appears and python -m test also does not work.

ronaldoussoren commented 4 years ago

Do you get an error message when you start a command shell and type "python"?

736aac8d-1eb2-45d8-9768-a436bacfa8db commented 4 years ago

Nope, no error message just no response from the system.

terryjreedy commented 4 years ago

'their website' == Apple's website? Homebrew's? Microsoft's? What about the Windows installer from python.org?

736aac8d-1eb2-45d8-9768-a436bacfa8db commented 4 years ago

Sorry , the python windows installer from python.org

736aac8d-1eb2-45d8-9768-a436bacfa8db commented 4 years ago

Hello, I have just updated to the new version of python 3.8.3. The problem still occurs however, now an interactive black window does appear when an attempt to open any Python file.

zooba commented 4 years ago

I assume the Bootcamp side of this is irrelevant and it's just an issue with Windows.

Yusuf, can you open Powershell and run "py" on its own?

If you've been going there and running "python" and you didn't select to update PATH, you're probably triggering the redirect to install via the Microsoft Store. When you pass that arguments, it fails (correctly) but doesn't print a message (incorrectly - I'm trying to get it fixed). But when you run it interactively it'll jump you to the store page for Python.

You probably just want to use the "py" launcher, since you've installed that way. Or if you install from the Store instead then it'll configure python/python3/python3.8 commands for you.

terryjreedy commented 1 year ago

3.8 and 3.9 only get security fixes. Yusuf, if you have lost interest, please say so and we can close this.

terryjreedy commented 1 year ago

OP YusufM appears to not be a github id, so I presume my question above will not be delivered. Closing as there is nothing to do without OP participation.