New to python, spyder won't add my PATH directory
by maschelsea from LinuxQuestions.org on (#5KDDK)
OK. I am new to python. I have a SkillShare membership, so I take as many python courses as I can. The latest course is titled "Webscraping for Python". I was a ComSci student about twenty years ago. I pick up concepts pretty fast because I saw similar concepts in school. But life happened since then, and I'm just now trying to get back into it. The instructor of this course was using Spyder. No problem. (I can get that too!!!!) I installed it, successfully. This particular part of the webscraping tutorial, he's had us install selenium and phantomjs. Now he says that we need to pass an "executable path" variable to the phantomjs initializer to get it to work. I'm pretty shaky in confidence when it comes to using IDEs. I had VB6 back in the day, but nowadays I generally stick to text editors like VIM and nano. Spyder looked nice. It had syntax completion, which was always very helpful in VB6 and the ipython interface looked nice. I decided I wanted to try it. I've been getting lots of experience using pip, so I issued a "pip install spyder" It did it's thing, and long story short, it installed. I went through the tour. I marveled at the apparent lack of HCI. (Who puts the View menu way over there next to "Help"?) But, I'm still willing to try to figure out Spyder despite all the flaws. I found the PATH interface. I located my copy of phantomjs. It's in ~/.local/python-3.7/site-packages/phantomjs. Every time I try to add it to my PATH variable though, I get a message saying "This directory cannot be added to the PATH. If you want to set a different Python interpreter, please go to Preferences > Main Interpreter." which doesn't exist as far as I can tell. Please tell me how I may resolve this issue. Thank you to anyone willing to help me.