0
python setup.py install

the second line is what I get when I try to run the code in terminal

python: can't open file 'setup.py': [Errno 2] No such file or directory

And if anyone can help setup the module folium in python, that will be great. It's why am going so much trouble. I have tried pip, conda. It works in pycharm, but I want the module to work alone when I open idle by itself.

Stephen Rauch
  • 47,830
  • 31
  • 106
  • 135
Andrews
  • 209
  • 1
  • 2
  • 3
  • pip or conda should work and is the preferred route. I'm guessing you can do either with no error, but you're getting a `no module found` error in IDLE? If thats true, you likely have two (or more) python installs. One where you installed folium and one where IDLE runs – Bob Haffner May 20 '18 at 14:30

1 Answers1

0

You are executing command from a different path. It has 2 solution.

  1. You move to that directory where the file setup.py exists and run the script.

  2. Provide the complete path in command like

    python c:\temp\setup.py install

Usama Jamil
  • 68
  • 10