On Sep 17, 2012, at 5:19 PM, Frank Schima macsforever2...@macports.org wrote:
I have installed the py27-django port and I'm running through the django
tutorial at projectdjango [1]. I modified the project settings.py file to use
sqlite3 as follows:
'ENGINE
Hi all,
I have installed the py27-django port and I'm running through the django
tutorial at projectdjango [1]. I modified the project settings.py file to use
sqlite3 as follows:
'ENGINE': 'django.db.backends.sqlite3', # Add
'postgresql_psycopg2', 'mysql', 'sqlite3
Hi, all.
I'm getting:
`$ type virtualenv
bash: type: virtualenv: not found
[Fri Aug 24 10:52:03 dobbin@darkstar:~ ] $ type django-admin.py
bash: type: django-admin.py: not found
[Fri Aug 24 10:52:20 dobbin@darkstar:~ ] $ python
Python 2.7.3 (default, Apr 13 2012, 00:05:08)
[GCC 4.2.1 (Apple Inc
On 24 aug 2012, at 12:21, Phil Dobbin wrote:
Hi, all.
I'm getting:
`$ type virtualenv
bash: type: virtualenv: not found
[Fri Aug 24 10:52:03 dobbin@darkstar:~ ] $ type django-admin.py
bash: type: django-admin.py: not found
Do you have
'/opt/local/Library/Frameworks/Python.framework
Daniel Ericsson wrote:
On 24 aug 2012, at 12:21, Phil Dobbin wrote:
Hi, all.
I'm getting:
`$ type virtualenv
bash: type: virtualenv: not found
[Fri Aug 24 10:52:03 dobbin@darkstar:~ ] $ type django-admin.py
bash: type: django-admin.py: not found
Do you have
'/opt/local/Library
In article 50376297.8090...@gmail.com,
Phil Dobbin phildob...@gmail.com wrote:
That did the trick. Now running:
`$ django-admin.py`
gets the desired result. Don't know if this mentioned anywhere in the
docs but if it isn't, maybe it should be. Probably at the tail end of
the install
Hello
I do computational genomics to study autism. I'd like to use py27 Django, but
installing it fails. I don't understand why.
Also, I wonder whether this might be related to problems with installing XCode.
My environment is Mac OS X Lion 10.7.4 (11E53):
$ uname -a
Darwin
Thanks Jeremy
I ran
$ sudo port clean --all Xft2
--- Cleaning Xft2
without error,
but the install still fails
$ sudo port install py27-django
--- Computing dependencies for py27-django
--- Cleaning py27-django
--- Scanning binaries for linking errors: 100.0%
--- Found 2 broken file(s
/django/bin/django-admin.py
startproject
on the command line.
OK, I did (And read some more about $PATH):
Jaspers-MacBook-Pro:~ jasper$
/opt/local/lib/python2.4/site-packages/django/bin/django-admin.py
-bash: /opt/local/lib/python2.4/site-packages/django/bin/django-admin.py:
Permission denied
On Jan 22, 2010, at 11:09 PM, Jasper Frumau wrote:
On Sat, Jan 23, 2010 at 6:26 AM, Scott Haneda talkli...@newgeo.com wrote:
Do what Daniel suggested in the beginning of this thread.
First, test with the full path, so run:
/opt/local/lib/python2.4/site-packages/django/bin/django-admin.py
On Sat, Jan 23, 2010 at 12:39 PM, Scott Haneda talkli...@newgeo.com wrote:
On Jan 22, 2010, at 11:09 PM, Jasper Frumau wrote:
I am not sure how the command can not be found, since it was called
implicitly. How about we try a few other things, keeping in mind, I know
nothing about django
On Jan 23, 2010, at 2:19 AM, Jasper Frumau wrote:
On Sat, Jan 23, 2010 at 12:39 PM, Scott Haneda talkli...@newgeo.com wrote:
On Jan 22, 2010, at 11:09 PM, Jasper Frumau wrote:
Looking over some more notes, it does look as though people are symbolic
linking their Django stuff into some
On Sat, Jan 23, 2010 at 2:24 PM, Scott Haneda talkli...@newgeo.com wrote:
Can you supply the following:
$head -n1 /opt/local/lib/python2.4/site-packages/django/bin/django-admin.py
$ head -n1 /opt/local/lib/python2.4/site-packages/django/bin/django-admin.py
#!/usr/bin/env python
On Jan 23, 2010, at 3:55 AM, Jasper Frumau wrote:
On Sat, Jan 23, 2010 at 2:24 PM, Scott Haneda talkli...@newgeo.com wrote:
Can you supply the following:
$head -n1 /opt/local/lib/python2.4/site-packages/django/bin/django-admin.py
$ head -n1 /opt/local/lib/python2.4/site-packages/django
I thought I installed Django:
Jaspers-MacBook-Pro:~ jasper$ sudo port install py-django
Password:
--- Computing dependencies for py-django
--- Fetching python24
--- Attempting to fetch Python-2.4.6.tar.bz2 from
http://arn.se.distfiles.macports.org/python24
--- Attempting to fetch Python-2.4.6
--- Activating python_select @0.3_0+darwin_10
--- Cleaning python_select
Jaspers-MacBook-Pro:~ jasper$ sudo python_select python24
Selecting version python24 for python
Jaspers-MacBook-Pro:~ jasper$ django-admin.py startproject
-bash: django-admin.py: command not found
On Fri, Jan 22, 2010 at 6
On Jan 22, 2010, at 10:49 AM, Jasper Frumau wrote:
Jaspers-MacBook-Pro:~ jasper$ django-admin.py startproject
-bash: django-admin.py: command not found
so django-admin.py isn't in your $PATH maybe?
try running port contents py-django and see where port installed it (and then
adjust your $PATH
On Jan 22, 2010, at 12:42 PM, Jasper Frumau wrote:
On Fri, Jan 22, 2010 at 6:51 PM, Daniel J. Luke dl...@geeklair.net wrote:
On Jan 22, 2010, at 10:49 AM, Jasper Frumau wrote:
Jaspers-MacBook-Pro:~ jasper$ django-admin.py startproject
-bash: django-admin.py: command not found
so django
On Fri, Jan 22, 2010 at 8:50 PM, Daniel J. Luke dl...@geeklair.net wrote:
On Jan 22, 2010, at 12:42 PM, Jasper Frumau wrote:
On Fri, Jan 22, 2010 at 6:51 PM, Daniel J. Luke dl...@geeklair.net
wrote:
On Jan 22, 2010, at 10:49 AM, Jasper Frumau wrote:
Jaspers-MacBook-Pro:~ jasper$ django
I found:
*On Unix-like systems, create a symbolic link to the file
django-trunk/django/bin/django-admin.py in a directory on your system path,
such as /usr/local/bin. For example:
ln -s `pwd`/django-trunk/django/bin/django-admin.py /usr/local/bin
This simply lets you type django-admin.py from
, you could open a
ticket and assign it to the port's maintainer to ask for this.
Should I simply move django-admin.py to a proper locations together with
the other django .pys? If so where?
No, if you move stuff that macports has installed, it won't know where
you've moved it to and it won't
Do what Daniel suggested in the beginning of this thread.
First, test with the full path, so run:
/opt/local/lib/python2.4/site-packages/django/bin/django-admin.py startproject
on the command line.
If that works, then add the django bin to your path, which is probably in one
of the do files
On Sat, Jan 23, 2010 at 6:26 AM, Scott Haneda talkli...@newgeo.com wrote:
Do what Daniel suggested in the beginning of this thread.
First, test with the full path, so run:
/opt/local/lib/python2.4/site-packages/django/bin/django-admin.py
startproject
on the command line.
OK, I did
from the system. I then reinstalled
everything, using MacPorts defaults and following the rules with no
modifications or customizations.
Though I finally got my database users, etc. down and my django up and
running, when it came time to use the Python-Postgresql functionality, I got
the following
24 matches
Mail list logo