I am running Ubuntu and have both python 2.7 and python 3.5 on my system
I changed the settings so that when I do
python test.py
python3 launches
I wanted to install the pyperclip module in python3 ..
pip install pyperclip
installed it for python 2
A quick google search suggested using
pip3 install pyperclip
but i get
pip3 is currently not installed . You can install it by typing
sudo apt install python3-pip
When I run this command, I get the following:
The following packages have unmet dependencies:
python3-pip : Depends: python-pip-whl (= 8.1.1-2) but 8.1.1- 2ubuntu0.2 is to be installed
Recommends: python3-dev (>= 3.2) but it is not going to be installed
Recommends: python3-setuptools but it is not going to be installed
Recommends: python3-wheel but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
What should I do?
source
share