Pip install plotly error


I followed the instruction to install: pip install plotly. But following error pops up. Is there any solution for this? I am using window 7 with python 2.7. Many thanks!


C:\Python27>easy_install plotly
Fatal Python error: Py_Initialize: unable to load the file system codec
File “C:\Python27\Lib\encodings_init_.py”, line 123
raise CodecRegistryError,
SyntaxError: invalid syntax

Current thread 0x00003ea4 (most recent call first):

Hi, I am using windows 10 with python 3.6. Here are my steps to install plotly on my pc.

  1. cd to catalog which python3.6 is installed by cmd.
  2. insert ’ pip install plotly’ then Enter.
  3. It will be installed automatically.