atom-community / atom-community/atom-script

Getting Python to run on Windows 10

Open
#527 18 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
730
Forks
264
PR merge metrics
No merged PRs in 30d

Description

I am using Atom (1.0.4) on Windows 10. I have a couple of Python packages installed, seeing as I'm new to Python and still learning.
- autocomplete-python
- linter-flake8
- script
- language-python (core)

I installed Python here: C:\Users\bramv\AppData\Local\Programs\Python\Python35\python.exe (default). I put this path in the settings of autocomplete-python, which requires the path to Python. However, when I try to execute a script with ctrl+shift+b, I get the following error:

```
Unable to run

python
Is it in your PATH?

PATH: C:\Users\bramv\AppData\Local\Programs\Python\Python35;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Skype\Phone\;C:\Users\bramv\AppData\Local\atom\bin;/usr/local/bin;/usr/bin;/bin;/usr/sbin;/sbin
```

I also get this error when I launch atom from command prompt with `start atom`.

As I said, I'm quite new to Python so maybe there's something with my code, but for now even trying to print a string doesn't work, for instance `print "I like bananas"`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.