Can't install stable-baselines3[extra] - reinforcement-learning

I am having trouble installing stable-baselines3[extra]. Not sure if I missed installing any dependency to make this work.
Machine: Mac M1,
Python: Python 3.10.9,
pip3: pip 23.0
!pip3 install 'stable-baselines3[extra]'
I used the above command to install and it produced the following output:
Requirement already satisfied: stable-baselines3[extra] in ./Library/Python/3.10/lib/python/site-packages (1.7.0)
Requirement already satisfied: importlib-metadata~=4.13 in ./Library/Python/3.10/lib/python/site-packages (from stable-baselines3[extra]) (4.13.0)
Requirement already satisfied: numpy in ./Library/Python/3.10/lib/python/site-packages (from stable-baselines3[extra]) (1.24.1)
Requirement already satisfied: pandas in ./Library/Python/3.10/lib/python/site-packages (from stable-baselines3[extra]) (1.5.3)
Requirement already satisfied: torch>=1.11 in ./Library/Python/3.10/lib/python/site-packages (from stable-baselines3[extra]) (1.13.1)
Requirement already satisfied: cloudpickle in ./Library/Python/3.10/lib/python/site-packages (from stable-baselines3[extra]) (2.2.1)
Requirement already satisfied: matplotlib in ./Library/Python/3.10/lib/python/site-packages (from stable-baselines3[extra]) (3.6.3)
Requirement already satisfied: gym==0.21 in ./Library/Python/3.10/lib/python/site-packages (from stable-baselines3[extra]) (0.21.0)
Requirement already satisfied: pillow in ./Library/Python/3.10/lib/python/site-packages (from stable-baselines3[extra]) (9.4.0)
Collecting tensorboard>=2.9.1
Using cached tensorboard-2.12.0-py3-none-any.whl (5.6 MB)
Collecting autorom[accept-rom-license]~=0.4.2
Using cached AutoROM-0.4.2-py3-none-any.whl (16 kB)
Collecting ale-py==0.7.4
Using cached ale_py-0.7.4-cp310-cp310-macosx_11_0_arm64.whl (1.0 MB)
Collecting rich
Using cached rich-13.3.1-py3-none-any.whl (239 kB)
Requirement already satisfied: psutil in /opt/homebrew/lib/python3.10/site-packages (from stable-baselines3[extra]) (5.9.4)
Collecting opencv-python
Using cached opencv_python-4.7.0.68-cp37-abi3-macosx_11_0_arm64.whl (31.1 MB)
Collecting tqdm
Using cached tqdm-4.64.1-py2.py3-none-any.whl (78 kB)
Collecting importlib-resources
Using cached importlib_resources-5.10.2-py3-none-any.whl (34 kB)
Requirement already satisfied: requests in /opt/homebrew/lib/python3.10/site-packages (from autorom[accept-rom-license]~=0.4.2->stable-baselines3[extra]) (2.28.2)
Collecting click
Using cached click-8.1.3-py3-none-any.whl (96 kB)
Collecting AutoROM.accept-rom-license
Using cached AutoROM.accept-rom-license-0.5.4.tar.gz (12 kB)
Installing build dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [12 lines of output]
Ignoring importlib-resources: markers 'python_version < "3.9"' don't match your environment
Collecting setuptools
Using cached setuptools-67.2.0-py3-none-any.whl (1.1 MB)
Collecting wheel
Using cached wheel-0.38.4-py3-none-any.whl (36 kB)
Collecting requests
Using cached requests-2.28.2-py3-none-any.whl (62 kB)
Collecting tqdm
Using cached tqdm-4.64.1-py2.py3-none-any.whl (78 kB)
ERROR: Could not find a version that satisfies the requirement libtorrent (from versions: none)
ERROR: No matching distribution found for libtorrent
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.

Related

why does installing imblearn with pip is failing?

I am trying to install the python package "imblearn" to balanace datasets,
with the command pip install imblearn.
but it keeps failing.
trying from cmdand from PowerShell with admin privileges,
with regular pip command, and with git clone to the repo and then pip install.
everything is failing.
the error is:
C:\Users\ronke>pip install imblearn
Collecting imblearn
Using cached imblearn-0.0-py2.py3-none-any.whl (1.9 kB)
Collecting imbalanced-learn
Using cached imbalanced_learn-0.10.1-py3-none-any.whl (226 kB)
Requirement already satisfied: scipy>=1.3.2 in c:\networks\python3.8\lib\site-packages (from imbalanced-learn->imblearn) (1.6.3)
Collecting scikit-learn>=1.0.2
Using cached scikit-learn-1.2.0.tar.gz (7.2 MB)
Installing build dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [73 lines of output]
Ignoring numpy: markers 'python_version == "3.10" and platform_system == "Windows" and platform_python_implementation != "PyPy"' don't match your environment
Collecting setuptools<60.0
Using cached setuptools-59.8.0-py3-none-any.whl (952 kB)
Collecting wheel
Using cached wheel-0.38.4-py3-none-any.whl (36 kB)
Collecting Cython>=0.29.24
Using cached Cython-0.29.32-py2.py3-none-any.whl (986 kB)
Collecting oldest-supported-numpy
Using cached oldest_supported_numpy-2022.11.19-py3-none-any.whl (4.9 kB)
Collecting scipy>=1.3.2
Using cached scipy-1.9.3.tar.gz (42.1 MB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Installing backend dependencies: started
Installing backend dependencies: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
Preparing metadata (pyproject.toml) did not run successfully.
exit code: 1
[37 lines of output]
+ meson setup --prefix=c:\networks\python3.8 C:\Users\ronke\AppData\Local\Temp\pip-install-n9p_hxtm\scipy_cef72cd617894d719469ea6e03d892cb C:\Users\ronke\AppData\Local\Temp\pip-install-n9p_hxtm\scipy_cef72cd617894d719469ea6e03d892cb\.mesonpy-jv80z8m8\build --native-file=C:\Users\ronke\AppData\Local\Temp\pip-install-n9p_hxtm\scipy_cef72cd617894d719469ea6e03d892cb\.mesonpy-native-file.ini -Ddebug=false -Doptimization=2
The Meson build system
Version: 1.0.0
Source dir: C:\Users\ronke\AppData\Local\Temp\pip-install-n9p_hxtm\scipy_cef72cd617894d719469ea6e03d892cb
Build dir: C:\Users\ronke\AppData\Local\Temp\pip-install-n9p_hxtm\scipy_cef72cd617894d719469ea6e03d892cb\.mesonpy-jv80z8m8\build
Build type: native build
Project name: SciPy
Project version: 1.9.3
Activating VS 17.1.3
C compiler for the host machine: cl (msvc 19.31.31105 "Microsoft (R) C/C++ Optimizing Compiler Version 19.31.31105 for x64")
C linker for the host machine: link link 14.31.31105.0
C++ compiler for the host machine: cl (msvc 19.31.31105 "Microsoft (R) C/C++ Optimizing Compiler Version 19.31.31105 for x64")
C++ linker for the host machine: link link 14.31.31105.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C supports arguments -Wno-unused-but-set-variable: NO
Compiler for C supports arguments -Wno-unused-but-set-variable: NO (cached)
Compiler for C supports arguments -Wno-unused-function: NO
Compiler for C supports arguments -Wno-conversion: NO
Compiler for C supports arguments -Wno-misleading-indentation: NO
Compiler for C supports arguments -Wno-incompatible-pointer-types: NO
Library m found: NO
..\..\meson.build:57:0: ERROR: Unknown compiler(s): [['ifort'], ['gfortran'], ['flang'], ['pgfortran'], ['g95']]
The following exception(s) were encountered:
Running `ifort --version` gave "[WinError 2] The system cannot find the file specified"
Running `ifort -V` gave "[WinError 2] The system cannot find the file specified"
Running `gfortran --version` gave "[WinError 2] The system cannot find the file specified"
Running `gfortran -V` gave "[WinError 2] The system cannot find the file specified"
Running `flang --version` gave "[WinError 2] The system cannot find the file specified"
Running `flang -V` gave "[WinError 2] The system cannot find the file specified"
Running `pgfortran --version` gave "[WinError 2] The system cannot find the file specified"
Running `pgfortran -V` gave "[WinError 2] The system cannot find the file specified"
Running `g95 --version` gave "[WinError 2] The system cannot find the file specified"
Running `g95 -V` gave "[WinError 2] The system cannot find the file specified"
A full log can be found at C:\Users\ronke\AppData\Local\Temp\pip-install-n9p_hxtm\scipy_cef72cd617894d719469ea6e03d892cb\.mesonpy-jv80z8m8\build\meson-logs\meson-log.txt
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
Encountered error while generating package metadata.
See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Does someone know how to fix it?
thanks
Ron
I've condensed this to show the key part of the error:
Collecting scipy>=1.3.2
Using cached scipy-1.9.3.tar.gz (42.1 MB)
...
..\..\meson.build:57:0: ERROR: Unknown compiler(s): [['ifort'], ['gfortran'], ['flang'], ['pgfortran'], ['g95']]
Which is saying that scipy==1.9.3 failed to compile because a Fortran compiler was not availalbe.
This is probably caused by a 32-bit version of Python / Windows, since pre-compiled scipy and scikit-learn wheels are being phased out for 32-bit systems, and we're no longer testing 32-bit Windows in imblearn (see PR#936).
One possible fix is to install a copy of Python with Anaconda or Miniconda, then:
conda install -c conda-forge imbalanced-learn

python setup.py egg_info did not run successfully. WARNING: Ignoring invalid distribution -yaudio

I need some help please... I tried to instal pydictionary and it give me the same errors and warnings. And for anything else the Warning is the same and I can not understand why. I went to that directory to see what is in there but is empty.
C:\WINDOWS\system32>pip install PyDictionary
WARNING: Ignoring invalid distribution -yaudio (c:\users\robi\appdata\local\programs\python\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -yaudio (c:\users\robi\appdata\local\programs\python\python310\lib\site-packages)
Collecting PyDictionary
Using cached PyDictionary-2.0.1-py3-none-any.whl (6.1 kB)
Collecting goslate
Using cached goslate-1.5.4.tar.gz (14 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: requests in c:\users\robi\appdata\local\programs\python\python310\lib\site-packages (from PyDictionary) (2.27.1)
Requirement already satisfied: click in c:\users\robi\appdata\local\programs\python\python310\lib\site-packages (from PyDictionary) (8.1.3)
Collecting bs4
Using cached bs4-0.0.1.tar.gz (1.1 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: beautifulsoup4 in c:\users\robi\appdata\local\programs\python\python310\lib\site-packages (from bs4->PyDictionary) (4.11.1)
Requirement already satisfied: colorama in c:\users\robi\appdata\local\programs\python\python310\lib\site-packages (from click->PyDictionary) (0.4.4)
Collecting futures
Using cached futures-3.0.5.tar.gz (25 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [27 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 14, in <module>
File "C:\Users\Robi\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\__init__.py", line 247, in <module>
monkey.patch_all()
File "C:\Users\Robi\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\monkey.py", line 97, in patch_all
patch_for_msvc_specialized_compiler()
File "C:\Users\Robi\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\monkey.py", line 157, in patch_for_msvc_specialized_compiler
patch_func(*msvc14('_get_vc_env'))
File "C:\Users\Robi\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\monkey.py", line 147, in patch_params
mod = import_module(mod_name)
File "C:\Users\Robi\AppData\Local\Programs\Python\Python310\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "C:\Users\Robi\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 20, in <module>
import unittest.mock as mock
File "C:\Users\Robi\AppData\Local\Programs\Python\Python310\lib\unittest\mock.py", line 26, in <module>
import asyncio
File "C:\Users\Robi\AppData\Local\Programs\Python\Python310\lib\asyncio\__init__.py", line 8, in <module>
from .base_events import *
File "C:\Users\Robi\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 18, in <module>
import concurrent.futures
File "C:\Users\Robi\AppData\Local\Temp\pip-install-jx1giu6v\futures_b2c696095539418c98c7048813756f80\concurrent\futures\__init__.py", line 8, in <module>
from concurrent.futures._base import (FIRST_COMPLETED,
File "C:\Users\Robi\AppData\Local\Temp\pip-install-jx1giu6v\futures_b2c696095539418c98c7048813756f80\concurrent\futures\_base.py", line 357
raise type(self._exception), self._exception, self._traceback
^
SyntaxError: invalid syntax
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
WARNING: Ignoring invalid distribution -yaudio (c:\users\robi\appdata\local\programs\python\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -yaudio (c:\users\robi\appdata\local\programs\python\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -yaudio (c:\users\robi\appdata\local\programs\python\python310\lib\site-packages)
I also tried to see my list and upgrade the setup tools but...
C:\WINDOWS\system32>pip list
WARNING: Ignoring invalid distribution -yaudio (c:\users\robi\appdata\local\programs\python\python310\lib\site-packages)
Package Version
beautifulsoup4 4.11.1
cachetools 5.1.0
calculator1 1.0.0
certifi 2021.10.8
cffi 1.15.0
charset-normalizer 2.0.12
click 8.1.3
colorama 0.4.4
comtypes 1.1.11
DateTime 4.4
distlib 0.3.4
ez-setup 0.9
filelock 3.7.0
Flask 2.1.2
future 0.18.2
google-api-core 2.8.0
google-api-python-client 2.48.0
google-auth 2.6.6
google-auth-httplib2 0.1.0
google-auth-oauthlib 0.5.1
googleapis-common-protos 1.56.1
gTTS 2.2.4
httplib2 0.20.4
idna 3.3
iso8601 1.0.2
itsdangerous 2.1.2
Jinja2 3.1.2
keyboard 0.13.5
MarkupSafe 2.1.1
MouseInfo 0.1.3
numpy 1.23.4
oauthlib 3.2.0
Pillow 9.1.1
pip 22.3.1
platformdirs 2.5.2
playsound 1.3.0
protobuf 3.20.1
pyAlarm 1.0.1
pyasn1 0.4.8
pyasn1-modules 0.2.8
PyAudio 0.2.12
PyAutoGUI 0.9.53
pycparser 2.21
PyGetWindow 0.0.9
pyjokes 0.6.0
PyMsgBox 1.0.9
pyparsing 3.0.9
pyperclip 1.8.2
pypiwin32 223
PyRect 0.2.0
PyScreeze 0.1.28
pyserial 3.5
pyttsx3 2.90
pytweening 1.0.4
pytz 2022.1
pywhatkit 5.3
pywin32 304
PyYAML 6.0
requests 2.27.1
requests-oauthlib 1.3.1
rsa 4.8
scipy 1.9.3
serial 0.0.97
setuptools 65.5.1
six 1.16.0
sounddevice 0.4.4
soupsieve 2.3.2.post1
SpeechRecognition 3.8.1
uritemplate 4.1.1
urllib3 1.26.9
virtualenv 20.14.1
Werkzeug 2.1.2
wheel 0.38.4
wikipedia 1.4.0
xgboost 1.7.1
zope.interface 5.4.0
WARNING: Ignoring invalid distribution -yaudio (c:\users\robi\appdata\local\programs\python\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -yaudio (c:\users\robi\appdata\local\programs\python\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -yaudio (c:\users\robi\appdata\local\programs\python\python310\lib\site-packages)
I tried to upgrade pip and tools in cmd but that warning is still there. I uninstall the pyaudio to see if that is the problem but still the same errors. I hope someone can help me with this problem please
I appreciate your help

trio + httpx gives TrioDeprecationWarning

The following testcase gives a warning:
import trio, httpx
async def amain():
async with httpx.AsyncClient() as client:
r = await client.get('https://icanhazip.com/')
print(r.text)
trio.run(amain)
Output:
> python test.py
/path/to/.venv/lib/python3.10/site-packages/anyio/_backends/_trio.py:164:
TrioDeprecationWarning: trio.MultiError is deprecated since Trio 0.22.0;
use BaseExceptionGroup (on Python 3.11 and later) or exceptiongroup.BaseExceptionGroup
(earlier versions) instead (https://github.com/python-trio/trio/issues/2211)
class ExceptionGroup(BaseExceptionGroup, trio.MultiError):
193.37.32.201
Fresh .venv using latest Python (installed with latest pyenv (installed with up-to-date brew)).
pip show trio reports 0.22.0. pip show httpx reports 0.23.0. Both of these are latest releases on pypi.
What's going on here? And how to silence the warning?
I raised this in https://github.com/encode/httpx/discussions/2409
To silence the warning:
import warnings
from trio import TrioDeprecationWarning
warnings.filterwarnings(action='ignore', category=TrioDeprecationWarning)
As far as I understand, lastest Trio release is using some exception-handling machinery that's only just been added into Python in 3.11.0, which hasn't been released yet (it SHOULD have been, but release-date got pushed back). Presumably that's what has created this unusual situation, where a deprecation warning requires a Python-version that does not yet exist.

Cabal ExitFailure 1

I'm getting this error when trying to install csv using Cabal (OS X):
Resolving dependencies...
Configuring csv-0.1.2...
Building csv-0.1.2...
Failed to install csv-0.1.2
Build log ( /Users/roshnal/.cabal/logs/csv-0.1.2.log ):
Configuring csv-0.1.2...
Building csv-0.1.2...
Preprocessing library csv-0.1.2...
[1 of 1] Compiling Text.CSV ( Text/CSV.hs, dist/build/Text/CSV.o )
Text/CSV.hs:70:1:
Bad interface file: /Library/Haskell/ghc-7.10.2-x86_64/lib/parsec-3.1.9/Text/ParserCombinators/Parsec.hi
Something is amiss; requested module parsec-3.1.9#parse_8fSmqig53hOL2SEu1k9Tv0:Text.ParserCombinators.Parsec differs from name found in the interface file AwpZ7A1As1bGsDMsWSTZ1J:Text.ParserCombinators.Parsec
cabal: Error: some packages failed to install:
csv-0.1.2 failed during the building phase. The exception was:
ExitFailure 1
I tried updating Cabal, ghc-pkg recache, and as another answer on SO suggested, setting library-profiling to False (in ~/.cabal/config). None of them are working.
Any idea what I can do to install this package? Earlier I have installed other packages using cabal install successfully.
Thanks!
EDIT
As ErirR suggested in his answer, I ran ghc-pkg list and this is the output I got. I don't appear to be having multiple installs of parsec.
/Library/Frameworks/GHC.framework/Versions/7.10.2-x86_64/usr/lib/ghc-7.10.2/package.conf.d
Cabal-1.22.4.0
GLURaw-1.5.0.1
GLUT-2.7.0.1
HTTP-4000.2.20
HUnit-1.2.5.2
ObjectName-1.1.0.0
OpenGL-2.12.0.1
OpenGLRaw-2.5.1.0
QuickCheck-2.8.1
StateVar-1.1.0.0
array-0.5.1.0
async-2.0.2
attoparsec-0.13.0.1
base-4.8.1.0
bin-package-db-0.0.0.0
binary-0.7.5.0
bytestring-0.10.6.0
case-insensitive-1.2.0.4
cgi-3001.2.2.2
containers-0.5.6.2
deepseq-1.4.1.1
directory-1.2.2.0
exceptions-0.8.0.2
fgl-5.5.2.1
filepath-1.4.0.0
ghc-7.10.2
ghc-prim-0.4.0.0
hashable-1.2.3.3
haskeline-0.7.2.1
haskell-src-1.0.2.0
hoopl-3.10.0.2
hpc-0.6.0.2
hscolour-1.23
html-1.0.1.2
integer-gmp-1.0.0.0
mtl-2.2.1
multipart-0.1.2
network-2.6.2.1
network-uri-2.6.0.3
old-locale-1.0.0.7
old-time-1.1.0.3
parallel-3.2.0.6
parsec-3.1.9 // <-- Here's parsec
pretty-1.1.2.0
primitive-0.6
process-1.2.3.0
random-1.1
regex-base-0.93.2
regex-compat-0.95.1
regex-posix-0.95.2
rts-1.0
scientific-0.3.3.8
split-0.2.2
stm-2.4.4
syb-0.5.1
template-haskell-2.10.0.0
terminfo-0.4.0.1
text-1.2.1.3
tf-random-0.5
time-1.5.0.1
transformers-0.4.2.0
transformers-compat-0.4.0.4
unix-2.7.1.0
unordered-containers-0.2.5.1
vector-0.11.0.0
xhtml-3000.2.1
zlib-0.5.4.2
This SO thread might be relevant:
"requested module differs from name found in the interface file"
I would run ghc-pkg list and see if you have multiple installs of the parsec package.

Having trouble with ZMySQLDb with Plone 4.0.4 on Windows

I'm installing ZMYSQLDA for Z MYSQL Databae connection through buildout.
Here are my initial definitions:
parts=
.....
zmysqlda
[zmysqlda]
recipe = cns.recipe.zmysqlda
target = ${productdistros:location}
It seem ok, does build the instance and site works.
For information I have already installed MySQL_python throught exe file so I''m able to import MySQLdb.
When I introduce Products.ZMySQLDA in the eggs it tries to fetch MYSQL-python. I don't understand why since it's already installed.
Buidout log is
Unused options for buildout: 'eggs' 'download-directory'.
Updating productdistros.
Installing instance.
Getting distribution for 'MySQL-python==1.2.3'.
install_dir C:\Program Files\Plone 404/buildout-cache/eggs\tmparsmo9
error: The system cannot find the file specified
An error occured when trying to install MySQL-python 1.2.3. Look above this mess
age for any errors that were output by easy_install.
While:
Installing instance.
Getting distribution for 'MySQL-python==1.2.3'.
Error: Couldn't install: MySQL-python 1.2.3
*************** PICKED VERSIONS ****************
[versions]
collective.saconnect = 1.3
pas.plugins.sqlalchemy = 0.2
products.ploneboard = 2.2
products.ploneboardsubscription = 0.2
products.zmysqlda = 3.1.1
sqlalchemy = 0.6.6
#Required by:
#collective.saconnect 1.3
plone.app.z3cform = 0.5.3
#Required by:
#collective.saconnect 1.3
rwproperty = 1.0
#Required by:
#pas.plugins.sqlalchemy 0.2
z3c.saconfig = 0.12
#Required by:
#pas.plugins.sqlalchemy 0.2
zope.sqlalchemy = 0.6.1
It's trying to install mysql-python because the one you've already installed is not on the buildout's PYTHONPATH.
I would start by removing the 'target=' option in the [zmysqlda] section. You really shouldn't be pointing anything at 'productdistros' these days. It may just be that buildout can't find zmysqlda's dependencies in 'target'. If that doesn't solve it, rerun the buildout with the -vv option and post the results here.
However, as long as you're using sqlalchemy anyway, why not use the SQLAlchemyDA which plays well with it...? Then you just need to add Products.SQLAlchemyDA (and the MySql db adapter - which I presume you have for sqlalchemy anyway) to the eggs list, and you don't need anything corresponding to the [zmysqlda] part.