This was helpful. Thank you. :)
On Thursday, March 24, 2011 11:49:05 AM UTC-4, Shawn Milochik wrote:
>
> This actually has nothing to do with Python -- I'm talking about your
> PATH, not your PYTHONPATH.
>
> Short version: Type 'which pg_config' at the command line. If it is
> found, then it's on
One possibility is that you have it, but it is in a directory that is not
on you path. Try:
find / -name pg_config 2> /dev/null
If this finds the executable, you can add the directory your current
invocation of the shell (It will be gone when you log out and back in) to
do the pip install.
Hi - When installing psycopg2 and errors like ...
Error: pg_config executable not found
do the following
[root@localhost ~]# which -a pg_config
/usr/bin/which: no pg_config in
(/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
[root@localhost ~]# find / -iname
Hi - If you get errors like this when install via pip install psycopg2 ...
Error: pg_config executable not found.
do the the following ...
[root@localhost ~]# which -a pg_config
/usr/bin/which: no pg_config in
(/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
Hi - If you get errors like this when install via pip install psycopg2 ...
Error: pg_config executable not found.
do the the following ...
[root@localhost ~]# which -a adrian
/usr/bin/which: no pg_config in
(/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
ow Street
>Sent: Wednesday, June 04, 2014 6:52 PM
>To: django-users@googlegroups.com
>Subject: Re: How to install psycopg2 using Pip?
>
>My understanding is that psycopg2 looks for some postgres files during the
install.
>If you have postgres already installed on the same box, you should be
My understanding is that psycopg2 looks for some postgres files during the
install. If you have postgres already installed on the same box, you should be
able to resolve this problem by adding the postgres folder to your PATH
environment variable before running 'pip install psycopg2'. The
If Ubuntu 12.04 or higher
do:
sudo apt-get install libpq-dev
Em quinta-feira, 24 de março de 2011 12h01min43s UTC-3, Andre Lopes
escreveu:
>
> Hi,
>
> This question is not directly related with Django, but with Python.
>
> I have installed "virtualenv" to have a virtual environment. Now I
Where can I find the setup.cfg file on a mac?
On Monday, July 23, 2012 3:18:02 PM UTC-4, Mehrdad Majzoobi wrote:
>
> Ok, I realized what the issue was. In the setup.cfg file, the pg_config
> path had to include the pg_config executable name as well:
>
> pg_config = /usr/pgsql-9.1/bin/pg_config
>
Ok, I realized what the issue was. In the setup.cfg file, the pg_config
path had to include the pg_config executable name as well:
pg_config = /usr/pgsql-9.1/bin/pg_config
On Monday, July 23, 2012 2:01:29 PM UTC-5, Mehrdad Majzoobi wrote:
>
> Guys, I have a similar problem but the difference is
Guys, I have a similar problem but the difference is pg_config is actually
in my PATH:
$ which pg_config
/usr/pgsql-9.1/bin/pg_config
I get the following error when I try to pip install psychopg2
###
Error: pg_config executable not found.
Please add the directory containing
On Thu, Mar 24, 2011 at 12:03 PM, Andre Lopes wrote:
> I have solved.
>
> I just edited "setup.cfg" on the psycopg2 and added:
>
> pg_config=C:\Program Files\PostgreSQL\8.4\bin\pg_config.exe
Yeah, that's the easiest method, but you specifically wanted to know
how to
I have solved.
I just edited "setup.cfg" on the psycopg2 and added:
pg_config=C:\Program Files\PostgreSQL\8.4\bin\pg_config.exe
Thanks for the help.
Best Regards,
On Mar 24, 3:49 pm, Shawn Milochik wrote:
> This actually has nothing to do with Python -- I'm talking
Thanks for the reply.
How can I do that? I'm new to Python, I'm not aware of what is Python
path.
Best Regards,
On Mar 24, 3:10 pm, Shawn Milochik wrote:
> Ensure that pg_config is on your PATH and it should work.
--
You received this message because you are subscribed
This actually has nothing to do with Python -- I'm talking about your
PATH, not your PYTHONPATH.
Short version: Type 'which pg_config' at the command line. If it is
found, then it's on your PATH. Otherwise, it's not, which appears to
be the case.
If you want to just do a temporary fix, you can
Hi Andre --
This indicates that you don't have the development packages for
PostgreSQL. psycopg2 is written mostly in C, and needs to be compiled
and linked against PostgreSQL. It does this by running a command
called pg_config, which is part of the PostgreSQL dev package.
You haven't indicated
Ensure that pg_config is on your PATH and it should work.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
Hi,
This question is not directly related with Django, but with Python.
I have installed "virtualenv" to have a virtual environment. Now I
need to instal "psycopg2" in my virtual environment, but I have not
successfully installed.
My steps:
[quote]
pip install
18 matches
Mail list logo