Hello All,

I just started learning Pyramid & Python together. Pyramid
documentation is amazing, step by step instructions  are really
helpful for a basic learner like me.

I created a simple Pyramid (SqlAlchemy) application using
http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/tutorials/wiki2/index.html
documentation. Now I want to switch from SqlLite to MySql. So I made
below changes to my application
development.ini
----------------------
sqlalchemy.url = mysql://root:welcome@localhost/deals

Added python-mysql to setup.py
-----------------------------------------------
requires = [
    'pyramid',
    'mysql-python',
    'SQLAlchemy',
    'transaction',
    'pyramid_tm',
    'pyramid_debugtoolbar',
    'zope.sqlalchemy',
    'waitress',
    ]

Now when I try to install the application using "python setup.py
develop", I get "error: The system cannot find the file specified"
error.
I tried copying mysql dll file to python bin directory thinking mysql
is not accessible from python & searched on the web but no luck.

Any help is much appreciated. Thanks for your time.

Complete execution details
(pyramid) D:\learner\python\pyramid\projects\tutorial>python setup.py
develop
running develop
running egg_info
writing requirements to tutorial.egg-info\requires.txt
writing tutorial.egg-info\PKG-INFO
writing top-level names to tutorial.egg-info\top_level.txt
writing dependency_links to tutorial.egg-info\dependency_links.txt
writing entry points to tutorial.egg-info\entry_points.txt
reading manifest file 'tutorial.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.rst'
warning: no files found matching '*.jpg' under directory 'tutorial'
warning: no files found matching '*.txt' under directory 'tutorial'
warning: no files found matching '*.mak' under directory 'tutorial'
warning: no files found matching '*.mako' under directory 'tutorial'
warning: no files found matching '*.js' under directory 'tutorial'
warning: no files found matching '*.html' under directory 'tutorial'
warning: no files found matching '*.xml' under directory 'tutorial'
writing manifest file 'tutorial.egg-info\SOURCES.txt'
running build_ext
Creating d:\learner\python\pyramid\lib\site-packages\tutorial.egg-link
(link to .)
tutorial 0.0 is already the active version in easy-install.pth
Installing initialize_tutorial_db-script.py script to D:\learner\python
\pyramid\Scripts
Installing initialize_tutorial_db.exe script to D:\learner\python
\pyramid\Scripts
Installing initialize_tutorial_db.exe.manifest script to D:\learner
\python\pyramid\Scripts

Installed d:\learner\python\pyramid\projects\tutorial
Processing dependencies for tutorial==0.0
Searching for mysql-python
Reading http://pypi.python.org/simple/mysql-python/
Reading http://sourceforge.net/projects/mysql-python/
Reading http://sourceforge.net/projects/mysql-python
Best match: MySQL-python 1.2.3
Downloading 
http://download.sourceforge.net/sourceforge/mysql-python/MySQL-python-1.2.3.tar.gz
Processing MySQL-python-1.2.3.tar.gz
Running MySQL-python-1.2.3\setup.py -q bdist_egg --dist-dir c:\users
\learner\appdata\local\temp\easy_install-klhsdv\MySQL-python-1.2.3\egg-
dist-tmp-whnjbg
error: The system cannot find the file specified


cheers


Completed

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to