windows pyspark validation in anaconda, Python was not found

Viewed 11

I have been stuck by pyspark for a few days. I am following the instructions here, I followed the instructions closely, installed anaconda, java, pyspark and findpyspark. Everything is good and smooth, no error, until I validate pyspark by running pyspark. It gave me error like this:

(my-env) C:\Users\chili>pyspark

Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases. The system cannot find the path specified. The system cannot find the path specified.

I add path to the path system veriable, the path is C:\ProgramData\Anaconda3

If I type python, it runs just fine.

(my-env) C:\Users\chili>python

Python 3.9.13 (main, Aug 25 2022, 23:51:50) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32 Type "help", "copyright", "credits" or "license" for more information.

I have been searching long time, I tried the solution here It's not helpful to me.

I am really confused. Anybody could help me please? Thank you so much.

0 Answers
Related