This is not a mistake. As I wrote in my first post, I was trying to
install python and ob on 3 different computers, and these two error
messages are from different computers: one running python 3.3 and the
other running 2.7.

But coming back to the point: adding openbabel's directory to windows
path did not solve the problem (at least on one of the systems,
haven't checked the others). Copying all openbabel's dll and obf files
to python directory is perhaps a messy workaround, but it works, so I
don't care ;)




On 7 October 2013 19:06, Dimitri Maziuk <dmaz...@bmrb.wisc.edu> wrote:
> On 10/07/2013 12:58 PM, Michal Krompiec wrote:
>
>>>>> import sys; print(sys.path)
>> ['', 'C:\\Python27\\Lib\\idlelib',
>> 'C:\\Windows\\system32\\python27.zip', 'C:\\Python27\\DLLs',
>> 'C:\\Python27\\lib', 'C:\\Python27\\lib\\plat-win',
>> 'C:\\Python27\\lib\\lib-tk', 'C:\\Python27',
>> 'C:\\Python27\\lib\\site-packages', 'C:\\Program Files
>> (x86)\\OpenBabel-2.3.2']
>
>>>> Traceback (most recent call last):
>>>>   File "<pyshell#1>", line 1, in <module>
>>>>     import pybel
>>>>   File "C:\Python33\lib\site-packages\pybel.py", line 69, in <module>
>>>>     informats = _formatstodict(_obconv.GetSupportedInputFormat())
>
> I think you should first figure out your python: is it 3.3 or 2.7?
>
> --
> Dimitri Maziuk
> Programmer/sysadmin
> BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu
>
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
> _______________________________________________
> OpenBabel-discuss mailing list
> OpenBabel-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openbabel-discuss
>

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to