Python 3.4.3 modules installation in linux error

2019-03-06 23:40发布

问题:

I just installed the python-3.4.3 via putty. I'm very new to Linux and it's operation. I created a script for docx operation in windows and it's working great but my manager wants to host it into the server, so that everyone in my team can use that. My problem is installing the packages into the Linux. Here i uploaded the image that what I'm getting. Please let me know the correct way.

回答1:

Installing on Debian and Ubuntu (Trusty Tahr and newer) for Python 3.x

Run the following commands from a terminal:

sudo apt-get install python3-pip python-dev build-essential 
sudo pip install --upgrade pip
sudo apt-get update

Check your pip version :

pip --version