I can't reproduce what you're seeing. In fact, I can't run setup.py at
all unless my current working directory is at the root of the
SQLAlchemy archive:

C:\Users\simonk>C:\Python27\python.exe
Downloads\SQLAlchemy-0.9.7\setup.py install
running install
running bdist_egg
error: error in 'egg_base' option: 'lib' does not exist or is not a directory

If I change to the SQLAlchemy-0.9.7 directory first, it installs properly.

However, note that on my system the install steps are:

  running install
  running bdist_egg

whereas yours are:

  running install
  running bdist

Perhaps you could try installing setuptools
(https://pypi.python.org/pypi/setuptools) first?

Simon

On Wed, Nov 19, 2014 at 7:58 AM, Xiaohua Zou <xiaohua....@tieto.com> wrote:
> Hello Simon,
>
> Thanks for your reply.
>
> But that's all install log. I wonder why SQLAlchemy package is NOT copied to
> ..\python\Lib\site-packages\.
>
> I suspect setup.py may have some problems. Attached are the SQLAlchemy
> package and setup.py file.
>
> Could you please help me to look into it?
> Thanks in advance!
>
> Best Regards,
>
>
> 在 2014年11月18日星期二UTC+8下午7时55分54秒,Simon King写道:
>>
>> On Tue, Nov 18, 2014 at 10:07 AM, Xiaohua Zou <xiaoh...@tieto.com> wrote:
>> >
>> > I have install python 2.7.2 and sqlalchemy 0.9.7, but I found that
>> > python
>> > can't import sqlalchemy.
>> > And I found that sqlalchemy folder is not copy to
>> > ...\python\Lib\site-packages\, I think that's why it can't be imported
>> > by
>> > python, is it right?
>> >
>> > A screenshot is attached, which show some error info when install
>> > sqlalchemy.
>> > Could you please help me to solve this problem?
>> >
>>
>> The messages in your screenshot are only warnings - they shouldn't
>> prevent SQLAlchemy from being installed. What does the rest of the
>> install log say? (The bit that is off the bottom of your screenshot)
>>
>> Simon
>
> --
> You received this message because you are subscribed to the Google Groups
> "sqlalchemy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sqlalchemy+unsubscr...@googlegroups.com.
> To post to this group, send email to sqlalchemy@googlegroups.com.
> Visit this group at http://groups.google.com/group/sqlalchemy.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to