On 25 mai 07:38, Szymczyk, Jacek Janusz (HP Labs - Fusionopolis, South Twr #14 
floor) wrote:
> +   I've installed  yapss2 - no problems there
> 
> ++   I've unzipped and untar-red the  fyzz-0.1.0.tar.gz file and got the 
> following, directory in place:
> 
> jacek@jacek-001:~/dev/fyzz-0.1.0$ ls
> antlrparser  ChangeLog  __init__.py  __pkginfo__.py   setup.py  yappsparser
> ast.py       doc        PKG-INFO     __pkginfo__.pyc  test
> 
> +++  I've tried to follow instructions from doc/README.rst , I've started 
> python and tried to execute, the import instruction from the package:
> ### The following lines of code should be enough to start::
>     >>> from fyzz.yappsparser import parse
>     >>> ast = parse("""PREFIX doap: <http://usefulinc.com/ns/doap#>
>   .......
> 
> ++++ python throws an error message saying the it cannot recognize   
> fyzz.yappsparser  package (obviously ...???) so I tried  >> from  fyzz-0.1.0. 
> yappsparser ..., with similar results.
> 
> There is no question about the fact that I have no idea how to import the 
> fyzz package into python. Could you please let me know the steps to enable 
> the package. I must be missing something really obvious, or am I've pulled 
> wrong fyzz package. 

you should first run 'python setup.py install' to install a package 
(you may type 'python setup.py install -h' for options).

That should help :)

-- 
Sylvain Thénault                               LOGILAB, Paris (France)
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
CubicWeb, the semantic web framework:    http://www.cubicweb.org

_______________________________________________
Python-Projects mailing list
[email protected]
http://lists.logilab.org/mailman/listinfo/python-projects
  • [Pyth... Szymczyk, Jacek Janusz (HP Labs - Fusionopolis, South Twr #14 floor)
    • ... Sylvain Thénault
      • ... Nicolas Chauvat
        • ... Szymczyk, Jacek Janusz (HP Labs - Fusionopolis, South Twr #14 floor)
      • ... Szymczyk, Jacek Janusz (HP Labs - Fusionopolis, South Twr #14 floor)
        • ... Sylvain Thénault
        • ... Nicolas Chauvat
          • ... Szymczyk, Jacek Janusz (HP Labs - Fusionopolis, South Twr #14 floor)
            • ... Nicolas Chauvat
              • ... Szymczyk, Jacek Janusz (HP Labs - Fusionopolis, South Twr #14 floor)
                • ... Adrien Di Mascio

Reply via email to