AguaClara / SWOT

CEE 4520 course material
MIT License
17 stars 8 forks source link

Python not working on Atom #35

Closed rafaelheryapriadi closed 5 years ago

rafaelheryapriadi commented 5 years ago

When I try to run python on Atom I get this error message "Unable to start the Python language server." Could use some help with this issue.

rafaelheryapriadi commented 5 years ago

@oliver-leung @MattCimini @jillianwhiting

monroews commented 5 years ago

Enter these commands in anaconda prompt python -m pip install ipykernel python -m ipykernel install --user

Then restart atom and see if that fixes it.

rafaelheryapriadi commented 5 years ago

I just did it and it did not help to solve the problem

On Wed, Jan 30, 2019 at 5:32 PM Monroe Weber-Shirk notifications@github.com wrote:

Enter these commands in anaconda prompt python -m pip install ipykernel python -m ipykernel install --user

Then restart atom and see if that fixes it.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/AguaClara/CEE4520/issues/35#issuecomment-459136798, or mute the thread https://github.com/notifications/unsubscribe-auth/AszKLMoQkVNApHGKyN-pjLWNmKTtNUhqks5vIh2LgaJpZM4abMVL .

-- Rafael Heryapriadi rh563@cornell.edu

monroews commented 5 years ago

Is your error this one? Did you try doing what the error says?

Or try this python -m pip install 'python-language-server[all]'

rafaelheryapriadi commented 5 years ago

I tried both, and 'python-language-servel[all]' as well. I am now trying to downgrading my python from 3.7 to lower version. Yitzy also have the same problem, I guess because we both are using Surface

monroews commented 5 years ago

@HannahSi do you have any advice for this problem?

oliver-leung commented 5 years ago

@rafaelheryapriadi What was the error message when you ran python -m pip install 'python-language-server[all]'?

Also, can you run python --version in both Anaconda Prompt and PowerShell, and show me what they output?

rafaelheryapriadi commented 5 years ago

I just downgraded it to 3.6.6, which already fixed the "python -m pip install 'python-language-server[all]' problem. However, now I am encountering another problem which reading the aguaclara package through the server.

monroews commented 5 years ago

Leave specific details of what you were doing and what error message or other result you observed.

oliver-leung commented 5 years ago

Resolved in Thursday office hours.