Hi John,
to run a python (.py) file, from the shell type :
python /path/to/your/file.py (just drug'n'drop the file inside the terminal
shell)
to know the directory where your shell is running type the command :
> pwd
it will show you the path.
to go inside the directory type :
> cd /path
I tried using the notes from here :
http://www.dabeaz.com/cgi-bin/wiki.pl?SwigFaqMaxOSXSharedLibraries
all works fine,
in the nex days i'll also try the "distutils way" and let you know :-)
thanks to helped me !!!
best regards,
Massimo.
Il giorno 18/set/2010, alle ore 12.00, pythonmac-sig-
thanks!
i haven't looked inside the faq :-(
thanks to point me to its page,
swig -python example.i
cc -c `python-config --cflags` example.c example_wrap.c
cc -bundle `python-config --ldflags` example.o example_wrap.o -o _example.so
fix the problems, now in the tutorial, all works as
Hello All,
i'm tring to run the swig - python example, from the page :
http://www.swig.org/tutorial.html
but running it i have a "wrong architecture" problem.
i tried using swig built from source version 2.0.
this the log, thanks for any help! :
MacBook-Pro-15-di-sasha:~ sasha$ /usr/local/bi
Hello All,
i'm ring to use py2applet to bundle a python application that uses several
python mudules (gdal, pyqt, pygame)
as suggested on the web page :
http://svn.pythonmac.org/py2app/py2app/trunk/doc/index.html#installing-with-easy-install
i removed the old py2applet and
i installed the la
> On Jun 12, 2010, at 7:47, Massimo Di Stefano wrote:
>
>> Hi,
>>
>> i tried to run py2app on the setup.py file,
>>
>> python setup.py py2app
>>
>> i had this log :
>>
>> http://www.geofemengineering.it/data/py2app_log.txt
>&g
le-ImageBrowser sasha$ open
/usr/lib/python2.6/lib-dynload/objc/
The file /usr/lib/python2.6/lib-dynload/objc does not exist.
MacBook-Pro-15-di-Massimo-Di-Stefano:~ sasha$ sudo /usr/libexec/locate.updatedb
MacBook-Pro-15-di-Massimo-Di-Stefano:~ sasha$ locate _objc.so
/Applications/Utilities/A
.
Massimo.
Il giorno 12/giu/2010, alle ore 16.03, Ronald Oussoren ha scritto:
>
> On 12 Jun, 2010, at 4:13, Massimo Di Stefano wrote:
>>
>>
>> but if i try to run the example from PyObjc :
>>
>> PyObjCExample-ImageBrowser
>>
>> i have th
Python has a simlink in "/usr/local/bin" but it is the system python.
setuptools doesn't work ... i tried to reinstall it from source and now i'm
able to import both setuptools and py2app.
python -v give me :
MacBook-Pro-15-di-Massimo-Di-Stefano:~ sasha$ which python
/
Hi All,
i'm tring to run py2app but i'm having problems to have it working,
here is the log :
(seems it fails to import setuptools, but it is already installed)
thanks foe any help1
Regards,
Massimo.
## log :
sudo easy_install py2app
Password:
Searching for py2app
Best match: py2app 0.4.3
Hi All,
tring to install Pytables on a mac osx 10.6.2 i get this error :
In [1]: from tables import *
Traceback (most recent call last):
File "", line 1, in
File "tables/__init__.py", line 56, in
from tables.utilsExtension im
3)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from first import *
>>> first()
Hello world
What is your name?epi
Thank you epi
>>>
Massimo Di Stefano
ma
TRENTINO-ALTO ADIGE POLYGON 13636192197.0
ABRUZZI POLYGON 10921890033.0
BASILICATA POLYGON 10082620411.6
MARCHE POLYGON 9801006025.43
UMBRIA POLYGON 8511757763 POLYGON.65
FRIULI-VENEZIA GIULIA MULTIPOLYGON 7571067911.64
LIGURIA MULTIPOLYGON 5451586208.43
MOLISE POLYGON 4534700124.13
VALLE D'AOSTA 3309252
TENSION
thanks for any suggestion
ciao,
Massimo
Il giorno 25/mar/09, alle ore 21:56, Ned Deily ha scritto:
In article <2d7d319e-094d-4d0e-8dd9-9ad51056a...@yahoo.it>,
massimo di stefano
wrote:
i followed that way too,
i downloaded the bynary version for pysqlite osx intel
i c
TH=/Users/Shared/source/spatialite/lib
export DYLD_LIBRARY_PATH
that seems to be what man dyld suggest me to use]
Massimo Di Stefano
massimodisa...@yahoo.it
epifanio on irc.freenode.net /join gfoss
Il giorno 25/mar/09, alle ore 16:49, Ned Deily ha scritto:
In article <259915b3-3a8a-495
IPOLYGON 4534700124.13
VALLE D'AOSTA MULTIPOLYGON 3309252833.27
SAN MARINO MULTIPOLYGON 60108921.7828
--
it works
[1] - http://www.gaia-gis.it/spatialite/index.html
[2] - test-2.3.7z
have you any suggestion on what i need to get it working on osx too ?
t
help!
regards,
Massimo Di Stefano
massimodisa...@yahoo.it
epifanio on irc.freenode.net /join gfoss
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
Hi,
i'm tring to runs the example files at :
http://pyobjc.sourceforge.net/examples/
but unluky something is wrong in my python system,
i tried from the python consolle :
>>import Foundation, AppKit
>>AppKit.NSBeep()
it works, but tring the examples code like ..
PyObjCExample-Python Addres
Hi
i'm tring to use py2app on a paython script
it create the executable myapp.app
but when i try to launch it
i've that it can't finde the modules
needed by myapp.app
liararies needed by
myapp.py :
#!/usr/bin/python
import os
from scipy import io, linalg
from numpy import *
from pylab import
Hi,
i'm tring for the first time to use py2app :-)
i need to create a .app
of a module that have the follow dependancies :
import os
from scipy import io, linalg
from numpy import *
from pylab import save
import sys
from PyQt4 import QtGui
from PyQt4 import QtCore
but unlucky tring " py2app -
Il giorno 03/ott/07, alle ore 07:28, Ronald Oussoren ha scritto:
>
> On 3 Oct, 2007, at 3:13, massimo di stefano wrote:
>>
>>
>> this is the error log :
>>
>> computer-di-epifanio:/Library/WebServer/CGI-Executables/
>> pywps-2.0.0-rc1 epifanio$ ./
hi i'm using python 2.5
from the python shall subprocess works :
host716:~ epifanio$ python
Python 2.5.1 (r251:54869, Apr 18 2007, 22:08:04)
[GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import subprocess
>>>
>
HI
Il giorno 03/ott/07, alle ore 00:36, Thomas Juntunen ha scritto:
> On Tue, 2 Oct 2007 21:35:52 +0200, massimo di stefano wrote:
>
>> grass, qgis, R, ossim, ossimplanet, mapserver + kamap
>> all works fine :-)
>
> Wow, you're way ahead of me. :-)
i've used
line 105, in __init__
raise NoApplicableCode(value)
pywps.Wps.wpsexceptions.NoApplicableCodePyWPS NoApplicableCode: No
module named subprocess
mybe i'm missing/wrong something :-(
thanks for your help :-)
Massimo.
Il giorno 02/ott/07, alle ore 22:11, Christopher Barker ha scri
point
apologize me for my englesh and for the bad explanation of what i
want try to do :-/
let me know if anyone wont help me toinstall pywps :-)
thanks for any suggestion!
Massimo.
Il giorno 02/ott/07, alle ore 14:19, Thomas Juntunen ha scritto:
> On Tue, 2 Oct 2007 12:25:29 +0200,
HI
Apologize me for this mail if it is off topic here...
i'm new to python,
i've just a little experience about this wonderfull language :-)
i'm tring to configure a python web processing server "pywps" on my mbp
http://pywps.wald.intevation.org/
it is an open project to port python environmen
26 matches
Mail list logo