Casey Hagen
Casey Hagen

Reputation: 1

Issue with Python on Windows 10

Specifically on my shiny new Surface Pro 2017 (i5, 256GB, 8GB RAM). So I'm trying to set up my dev environment and I'm running into a bit of a snag.

It shows up as installed through Powershell -and I'm able to run Python fine through it- but when I try the same on my Bash and Hyper terminals, no luck. I'm realizing now that Bash is not pictured in the screenshot, but it says the same thing when I try to run python commands. Did my due diligence in searching through the Surface subreddit, Google, and of course, Stack.

Anyone know what could be the issue? Screenshot

Upvotes: 0

Views: 124

Answers (2)

user8528838
user8528838

Reputation:

Do yourself a huge favor and install Anaconda, and use command line prompt from now on and don't even Touch Powershell or bash. It's windows not linux. The reason I say anaconda is because it gives you a huge array of libraries and also you can create a virtual environment meaning if Python gets screwed on or corrupted at least your file paths will be okay.

Upvotes: 0

zimmerrol
zimmerrol

Reputation: 4951

In my opinion the best solution is to install python inside your bash environment, too. What is the main reason you even want to call the Windows version of python from the bash? If installing python inside the Ubuntu subsystem/the bash again, then you might try to find out the path to the python.exe inside your Windows installation and try to add these path to your bash's path, too.

Upvotes: 1

Related Questions