Pybel Python Bindings (Windows)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Pybel Python Bindings (Windows)

Dlanor Slegov

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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss
Reply | Threaded
Open this post in threaded view
|

Re: Pybel Python Bindings (Windows)

Noel O'Boyle
Administrator
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 <[hidden email]> 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
> [hidden email]
> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss
Reply | Threaded
Open this post in threaded view
|

Re: Pybel Python Bindings (Windows)

Dlanor Slegov
Works after I reinstalled stuffed. Many Thanks.


From: Noel O'Boyle <[hidden email]>
To: Dlanor Slegov <[hidden email]>
Cc: [hidden email]
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 <[hidden email]> 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
> [hidden email]
> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss
Reply | Threaded
Open this post in threaded view
|

Re: Pybel Python Bindings (Windows)-- SWIG error

Dlanor Slegov
In reply to this post by Noel O'Boyle
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 <[hidden email]>
To: Dlanor Slegov <[hidden email]>
Cc: [hidden email]
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 <[hidden email]> 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
> [hidden email]
> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss
Reply | Threaded
Open this post in threaded view
|

Re: Pybel Python Bindings (Windows)-- SWIG error

Noel O'Boyle
Administrator
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 <[hidden email]> 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 <[hidden email]>
> To: Dlanor Slegov <[hidden email]>
> Cc: [hidden email]
> 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 <[hidden email]> 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
>> [hidden email]
>> 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
> [hidden email]
> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss
Reply | Threaded
Open this post in threaded view
|

Re: Pybel Python Bindings (Windows)-- SWIG error

Dlanor Slegov
Python 2.7 and Binding 3.1 (thought it'd be back compatible) Now reinstalled Python 2.6(.5) and binding 2.6- works fine.
Thanks a lot.

From: Noel O'Boyle <[hidden email]>
To: Dlanor Slegov <[hidden email]>
Cc: [hidden email]
Sent: Wed, August 11, 2010 12:04:29 PM
Subject: Re: [Open Babel] Pybel Python Bindings (Windows)-- SWIG error

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 <[hidden email]> 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 <[hidden email]>
> To: Dlanor Slegov <[hidden email]>
> Cc: [hidden email]
> 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 <[hidden email]> 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
>> [hidden email]
>> 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
> [hidden email]
> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss