I am trying to install mysqlclient using pip and getting red text, saying there is no config.h file. I started fixing that and stucked on installing libmysqlcppconn-dev on Ubuntu 20. Terminal says
The following packages have unmet dependencies:
libmysqlcppconn-dev : Depends: libmysqlcppconn8-2 (= 8.0.27-1ubuntu18.04) but it is not going to be installed
After trying sudo apt install -f libmysqlcppconn8-2 I see
The following packages have unmet dependencies:
libmysqlcppconn8-2 : Depends: mysql-community-client-plugins but it is not installable
How can I fix that? Thanks everybody.
Related
I'm using python 3.6.9 on Ubuntu 18.04
$ sudo apt-get install python3-venv
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
python3-venv : Depends: python3.6-venv (>= 3.6.5-2~) but it is not going to be installed
Depends: python3 (= 3.6.5-3) but 3.6.7-1~18.04 is to be installed
E: Unable to correct problems, you have held broken packages.
I followed the installation instructions in the website:
https://git.skewed.de/count0/graph-tool/-/wikis/installation-instructions
for installing graph-tool on Ubuntu 18.04, but when I write "sudo apt-get install python3-graph-tool" in the terminal, it gives me the following error:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
python3-graph-tool : Depends: libboost-context1.67.0 but it is not installable
Depends: libboost-iostreams1.67.0 but it is not installable
Depends: libboost-python1.67.0 but it is not installable
Depends: libboost-python1.67.0-py38 but it is not installable
Depends: libboost-regex1.67.0-icu63 but it is not installable
Depends: libc6 (>= 2.29) but 2.27-3ubuntu1 is to be installed
Depends: libgcc-s1 (>= 3.4) but it is not installable
Depends: libgomp1 (>= 9) but 8.4.0-1ubuntu1~18.04 is to be installed
Depends: libstdc++6 (>= 9) but 8.4.0-1ubuntu1~18.04 is to be installed
E: Unable to correct problems, you have held broken packages.
Does anyone know how I can fix it?
try to change the distribution
deb [ arch=amd64 ] https://downloads.skewed.de/apt DISTRIBUTION main
of the options on the page (bullseye, buster, sid, bionic, eoan, focal, groovy), only "focal" worked correctly for me.
When I try running
sudo apt-get install python-pip python-dev libmysqlclient-dev
I get the following
Reading package lists...
Done Building dependency tree
Reading state information...
Done libmysqlclient-dev is already the newest
version.
Some packages could not be installed.
This may mean that you
have requested an impossible situation or if you are using the
unstable distribution that some required packages have not yet been
created or been moved out of Incoming.
The following information may
help to resolve the situation:
The following packages have unmet dependencies: python-pip : Depends:
python-setuptools (>= 0.6c1) but it is not going to be installed
Depends: python-requests but it is not going to be installed
Recommends: python-dev-all (>= 2.6) but it is not installable E: Unable to correct problems, you have held broken
packages
The Error says that you libmysqlclient-dev is already installed and on the newest version.
Please check that.
But it also says you need the following packages:
python-setuptools
python-requests
python-dev-all
Consider downloading/updating these via pip install and then try again :)
I'm trying to install MatPlotLib for Python3 using Debian 8. The pip3
command asks for the missing dependency: libfreetype. However, this is what happens when I try to install this package!
debnub#debhub:~$ sudo apt-get install libfreetype6-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libfreetype6-dev : Depends: libfreetype6 (= 2.5.2-3+deb8u2) but 2.
6.3-3.2 is to be installed
E: Unable to correct problems, you have held broken packages.
debnub#debhub:~$
I've tried a lot of different solutions including using aptitude. Is there anything I might be missing in this case?
This was solved by running:
sudo aptitude -f install libfreetype6-dev
And then selecting no to downgrade the installed version of libfreetype6.
So I was trying to setup theano on my Linux14.04 machine .
Steps done so far :
Installed miniconda
installed dependencies - conda install numpy scipy mkl <nose> <sphinx> <pydot-ng>
Did not install the GPU drivers .... do not need the higher computation as of now.
Tried installing theano with : <sudo> pip install <--user> Theano[test, doc]
It exited with the following error :
Theano terminal error gist
Been trying to solve the same, max online references are related to upgrading pip :
Ran this :
pip install --upgrade pip
Requirement already up-to-date: pip in ./miniconda2/lib/python2.7/site-packages
Package error :
Solved by installing :
sudo apt-get install python-dev
Gave error for installing dependencies Theano[test, doc] :
Clean install with only :
sudo pip install Theano