52067

ImportError: No module named 'xlsxwriter': Error in bamboo

I have used pip to install a package named 'xlsxwriter', by using the command 'pip3 install xlsxwriter'. The code is working fine on my system, but when I am trying to run the same code on bamboo then it throwing an ImportError as "No module named 'xlsxwriter'." I have used other packages too like argparse and requests, they are working fine but for this particular package bamboo is throwing an error. When not using this particular package, the bamboo plan is successfully running, so I believe the requirements and other things for python are fine in bamboo.

Answer1:

1-make sure/or change directory of your windows python 27 or python 33 is C:\Python27

2-download XlsxWriter package ( https://pypi.python.org/pypi/XlsxWriter )

3-extrat tar file (lookup for tar extractor tool for windows)

4-open cmd

5-go to your downlaoded and extracted package directory

6-type in command prompt: python setup.py install you can now check module intalled in C:\Python27\Lib\site-packages or you could type: sudo pip install xlsxwriter

Recommend

  • argparse - Build back command line
  • SyntaxError trying to execute python 3 code with python 2.7
  • psn parameter by MacOSX launchd. what can I do with it?
  • Check for instance of Python multiprocessing.Connection?
  • How to debug charts package 'No module named 'plot' ' Error
  • Javascript variables for Get http
  • Error while importing scikits.talkbox
  • Generating random numbers directly inside a .htaccess file
  • C++/CLI Thread synchronization including managed and unmanaged code
  • Is is safe to use HSQLDB for production? (JBoss AS5.1)
  • Fully customized Python Help Usage
  • ImportError: cannot import name Pubnub
  • File extension of zlib zipped html page?
  • android google indoor map
  • pillow imaging ImportError
  • Web.config system.webserver errors
  • Problems installing Yesod for Haskell
  • error importing numpy
  • How do I exclude a dependency in provided scope when running in Maven test scope?
  • Is there a perl module to validate passwords stored in “{crypt}hashedpassword” “{ssha}hashedpassword
  • Checking free space on FTP server
  • Meteor helpers not available in Angular template
  • Alert pop up with LWUIT
  • Change Inet root folder for iis 7
  • Disabling Alt-F4 on a Win Forms NotifyIcon
  • Cross-Platform Protobuf Serialization
  • Updated Ionic CLI but shows previous version (Windows)
  • How to make Safari send if-modified-since header?
  • Web-crawler for facebook in python
  • Calling of Constructors in a Java
  • Traverse Array and Display in markup
  • Transpose CSV data with awk (pivot transformation)
  • AngularJs get employee from factory
  • Why can't I rebase on to an ancestor of source changesets if on a different branch?
  • using HTMLImports.whenReady not working in chrome
  • Hits per day in Google Big Query
  • FormattedException instead of throw new Exception(string.Format(…)) in .NET
  • How to CLICK on IE download dialog box i.e.(Open, Save, Save As…)
  • Linking SubReports Without LinkChild/LinkMaster
  • XCode 8, some methods disappeared ? ex: layoutAttributesClass() -> AnyClass