How to install python package in ERPNext server

Hello,

I am currently installing the Python library xlwt for my project. I successfully installed it locally using the command bench pip install xlwt.

Could you please guide me on installing this library on the server?

Thank you for your assistance.

Best regards,

Anisha Jain

first u have start bench environment and then install your python library

source env/bin/activate

and then add your library

pip install xlwt

1 Like

Thank you for your response.

I have already tried starting the bench environment using the command source env/bin/activate and then installing the library with pip install xlwt. Unfortunately, this approach is not working for me.

Could you please provide further assistance or suggest any alternative methods?

I appreciate your help.