Python Forum
issues downloading xlsxwrite library
Thread Rating:
  • 3 Vote(s) - 2.33 Average
  • 1
  • 2
  • 3
  • 4
  • 5
issues downloading xlsxwrite library
#1
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!
Reply
#2
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
Reply
#3
(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
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

Thanks! this worked
Reply
#4
tenichols Wrote:xlsxwriter in c:\programdata\anaconda3\lib\site-packages
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 worked
Yes this work to for a normal OS install of Python 3.6,but that's really not the problem here Wink
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Downloading images from webpages H84Gabor 2 1,905 Sep-29-2021, 05:39 PM
Last Post: snippsat
  Downloading a module Xlsxwriter dan789 6 11,308 Jan-26-2019, 02:13 PM
Last Post: dan789
  "if statement" and downloading a dataset Alberto 1 2,507 Jan-25-2018, 01:44 PM
Last Post: ka06059
  Downloading and using pyperclip PMPythonlearner 2 5,062 Dec-31-2017, 04:37 PM
Last Post: PMPythonlearner
  Problem downloading 2.7.8 Mac OSX Benjipincus 2 3,042 Dec-18-2017, 01:33 PM
Last Post: snippsat
  PyInstaller, how to create library folder instead of library.zip file ? harun2525 2 4,839 May-06-2017, 11:29 AM
Last Post: harun2525
  FTP not downloading files but showing success python_lover 2 4,449 Jan-25-2017, 02:31 PM
Last Post: python_lover

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020