Re: Install problems

Adrian Klaver <[email protected]>
Newsgroups gmane.comp.python.db.psycopg.devel
Message-ID <[email protected]>
On Tuesday 31 March 2009 1:48:41 pm Peter Sheats wrote:
> Hi,
>
> I just successfully installed pscopg2-2.0.9 on my mac and another server.
> But now I try all the following and nothing works.  Can anyone provide me
> with any help?
>
> Thanks,
>
> Peter
>
> ~ # easy_install psycopg2==2.0.9
> Searching for psycopg2==2.0.9
> Reading http://pypi.python.org/simple/psycopg2/
> Reading http://initd.org/projects/psycopg2
> Reading http://initd.org/pub/software/psycopg/
> Best match: psycopg2 2.0.9
> Downloading http://initd.org/pub/software/psycopg/psycopg2-2.0.9.tar.gz
> Processing psycopg2-2.0.9.tar.gz
> Running psycopg2-2.0.9/setup.py -q bdist_egg --dist-dir
> /tmp/easy_install-mSvjpM/psycopg2-2.0.9/egg-dist-tmp-8xDqJz
> error: Setup script exited with error: No such file or directory
>
>
> /var/src/psycopg/psycopg2-2.0.9 # easy_install .
> Processing .
> Running setup.py -q bdist_egg --dist-dir
> /var/src/psycopg/psycopg2-2.0.9/egg-dist-tmp-JXR5e5
> error: Setup script exited with error: No such file or directory
> mhe-palmbeachpost5:/var/src/psycopg/psycopg2-2.0.9 # sudo easy_install .
> Processing .
> Running setup.py -q bdist_egg --dist-dir
> /var/src/psycopg/psycopg2-2.0.9/egg-dist-tmp-ztn1qq
> error: Setup script exited with error: No such file or directory
>
>
> /var/src/psycopg/psycopg2-2.0.9 # python setup.py install
> running install
> running build
> running build_py
> creating build
> creating build/lib.linux-i686-2.5
> creating build/lib.linux-i686-2.5/psycopg2
> copying lib/tz.py -> build/lib.linux-i686-2.5/psycopg2
> copying lib/errorcodes.py -> build/lib.linux-i686-2.5/psycopg2
> copying lib/psycopg1.py -> build/lib.linux-i686-2.5/psycopg2
> copying lib/extensions.py -> build/lib.linux-i686-2.5/psycopg2
> copying lib/extras.py -> build/lib.linux-i686-2.5/psycopg2
> copying lib/__init__.py -> build/lib.linux-i686-2.5/psycopg2
> copying lib/pool.py -> build/lib.linux-i686-2.5/psycopg2
> running build_ext
> error: No such file or directory
>
>
> /var/src/psycopg/psycopg2-2.0.9 # python setup.py build
> running build
> running build_py
> running build_ext
> error: No such file or directory


Generally when I get "error: No such file or directory" errors I find it is 
either a permissions or path issue. 

-- 
Adrian Klaver
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.