What version of Python are you using? And which installer did you use
for the Python bindings?

- Noel

On 11 August 2010 10:17, Dlanor Slegov <dlanorsle...@rocketmail.com> wrote:
> I INSTALLED PyBEL and OPENBABEL Successfully but get the following Swig
> error when trying to use:
>
>>>> import pybel
> Traceback (most recent call last):
>   File "<pyshell#1>", line 1, in <module>
>     import pybel
>   File "C:\Python32\lib\site-packages\pybel.py", line 16, in <module>
>     import openbabel as ob
>   File "C:\Python32\lib\site-packages\openbabel.py", line 25, in <module>
>     _openbabel = swig_import_helper()
>   File "C:\Python32\lib\site-packages\openbabel.py", line 24, in
> swig_import_helper
>     return _mod
> UnboundLocalError: local variable '_mod' referenced before assignment
>
> ________________________________
> From: Noel O'Boyle <baoille...@gmail.com>
> To: Dlanor Slegov <dlanorsle...@rocketmail.com>
> Cc: openbabel-discuss@lists.sourceforge.net
> Sent: Tue, August 10, 2010 5:39:21 PM
> Subject: Re: [Open Babel] Pybel Python Bindings (Windows)
>
> Do you have the same problem with other Python packages? If so, try
> reinstalling Python and making sure you have administrator rights,
> etc.
>
> - Noel
>
> On 10 August 2010 12:03, Dlanor Slegov <dlanorsle...@rocketmail.com> wrote:
>> I am trying to install on windows the OpenBabel python bindings (in order
>> to
>> use pybel) for windows as described on:
>>
>>
>>
>> http://openbabel.org/wiki/Install_Python_bindings
>>
>>
>>
>> When I click on 2.6  (my Python installation is 2.6.5), I get to the setup
>> stage, where I get the following message:
>>
>>
>>
>> “No Python installation found in the registry”
>>
>> Anyway, if I proceed to “next”, I can see “Select python installation to
>> use.. Python Directory:…Installation Directory:”
>>
>> I am unable to paste the appropriate path to these fields (python
>> directory
>> and installation directory).
>>
>>
>>
>> Can anybody point to workarounds?
>>
>>
>>
>> Thanks,
>> DS
>>
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by
>>
>> Make an app they can't live without
>> Enter the BlackBerry Developer Challenge
>> http://p.sf.net/sfu/RIM-dev2dev
>> _______________________________________________
>> OpenBabel-discuss mailing list
>> OpenBabel-discuss@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/openbabel-discuss
>>
>>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> OpenBabel-discuss mailing list
> OpenBabel-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openbabel-discuss
>
>

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to