issues downloading xlsxwrite library - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: issues downloading xlsxwrite library (/thread-3537.html) |
issues downloading xlsxwrite library - tenichols - Jun-01-2017 I'm having some issues downloading the xlsxwrite library In my command prompt I typed "pip install xlsxwrite" and got the following: Requirement already satisfied: xlsxwriter in c:\programdata\anaconda3\lib\site-packages In a shell I tried to import xlsxwrite and got the following: Traceback (most recent call last): File "<pyshell#0>", line 1, in <module> import xlsxwriter ImportError: No module named 'xlsxwriter'Any idea what is going on? thanks in advance! RE: issues downloading xlsxwrite library - Larz60+ - Jun-01-2017 Your path is probably pointing to a different version of python which will cause you to use the wrong version of pip pip is located in the directory named Scripts, which is directly below the python root. To overcome this, supply the full path to pip, for example on windows 7: C:\Python36\Scripts\pip install xlsxwriter RE: issues downloading xlsxwrite library - tenichols - Jun-01-2017 (Jun-01-2017, 03:10 AM)Larz60+ Wrote: Your path is probably pointing to a different version of python which will cause you to use the wrong version of pip Thanks! this worked RE: issues downloading xlsxwrite library - snippsat - Jun-01-2017 tenichols Wrote:xlsxwriter in c:\programdata\ You are using Anaconda then xlsxwrite is already a part of what's is installed Package list.Do of course have to use Python version that's in anaconda/bin folder to use all pre installed packages.There also a navigator that can start editor like Spyder or Jupyter note book. Both of these will use Python version in anaconda/bin .[Image: exnEsw.jpg] tenichols Wrote:Thanks! this workedYes this work to for a normal OS install of Python 3.6,but that's really not the problem here |