Python Forum
I can not get python3 to work... frustrating... something about directory?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I can not get python3 to work... frustrating... something about directory?
#1
I've reinstalled and installed sublime text and python over and over again in Windows. And for some reason python works but not python3.

in CMD prompt window if I type python it opens python 3.8.1 but if I type python3 it says it is not recognized.

so is python actually python3? Or am I not doing something correctly?

Because when I run Sublime Text with Build -> Python3

I get this error:

[WinError 2] The system cannot find the file specified
[cmd: ['python3', '-u', 'C:\\Users\\DELL-T3500\\Desktop\\python_work\\apostrophe.py']]
[dir: C:\Users\DELL-T3500\Desktop\python_work]
[path: C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Users\DELL-T3500\AppData\Local\Smartbar\Application\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\project2\casperjs\bin;C:\project2\phantomjs\bin;C:\Users\DELL-T3500\AppData\Local\Programs\Python\Python38\Scripts\;C:\Users\DELL-T3500\AppData\Local\Programs\Python\Python38\;C:\Users\DELL-T3500\AppData\Local\Programs\Python\Python38-32\Scripts\;C:\Users\DELL-T3500\AppData\Local\Programs\Python\Python38-32\]
[Finished]
Reply
#2
In Windows it's only python,do test with python and pip from cmd as in this tutorial
python3 is a command Linux distros use.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Python3/Flask/LDAP-Active Directory tundrwd 1 30,962 Dec-13-2019, 05:48 PM
Last Post: Clunk_Head
  Gnuradio python3 is not compatible python3 xmlrpc library How Can I Fix İt ? muratoznnnn 3 4,820 Nov-07-2019, 05:47 PM
Last Post: DeaD_EyE
  Installed Python3.7 from package, trying to run pip3.7 does not work JBristow1729 4 7,467 Aug-11-2019, 08:24 AM
Last Post: michaellossagk
  installation directory of modules in python3.7 srm 2 2,680 Jul-11-2019, 01:06 PM
Last Post: joe_momma
  How does this definition/directory work? mistertimmy952 2 2,536 Nov-07-2018, 08:57 AM
Last Post: mistertimmy952

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020