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

Comment

用户名: 密码:
验证码: 匿名发表

你可以使用这些语言

查看评论:ImportError: No module named 'xlsxwriter': Error in bamboo