I have just installed a bunch of packages to use MySQL on python, but I'm not sure which one did the trick (whichever it was, only worked after a reboot).
Now I'm trying to use it on a virtualenv, so I created a requirements.txt with pip freeze on my local machine, then, I created a virtualenv and tried pip install -r requirements.txt
. However, can't install any of the packages, and the error is:
Could not find a version that satisfies the requirement mysql-connector-python<=2.0.4 (from -r myvi/requirements.txt (line 1)) (from versions: )
No matching distribution found for mysql-connector-python<=2.0.4 (from -r myvi/requirements.txt (line 1))
Tried editing the file manually, but whatever the first line is, always report the same error.
Googling the subject, I've only found solutions that are particular to the packages, but I get errors for regardless of the package. Why is this happening?
EDIT: I thought that all the packages were raising error, but only some of them are. Namely:
adium-theme-ubuntu==0.3.4
mysql-connector-python==2.0.4
Pyste==0.9.10
unity-lens-photos==1.0
I thought that if it was built by pip freeze
, it would be possible to pip install
it.