Dear Noel,
Yes, you are right! The conflict was with Avogadro. When I removed it
from the path, everything works just fine!
Thanks again.
Best wishes,
Michal
On 7 October 2013 19:07, Noel O'Boyle wrote:
> Aha. The conflict is with Avogadro. It includes openbabel-2.dll.
> Whichever one is first o
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
pat
Regarding the difference between the paths, that's my mistake. One is
the system PATH, the other is where Python searches for .py files..
- Noel
On 7 October 2013 18:47, Michal Krompiec wrote:
> Dear Noel,
> Yes, but the system path is OK:
> C:\Users\Michal>echo %path%
> C:\Program Files\Common
Aha. The conflict is with Avogadro. It includes openbabel-2.dll.
Whichever one is first on the path wins. Just remove Avogadro's bin
from the PATH. I have Avogadro installed and it works fine without it
being on the PATH.
- Noel
On 7 October 2013 18:47, Michal Krompiec wrote:
> Dear Noel,
> Yes,
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\\
After adding OpenBabel's directory to the path manually
(sys.path.append), the error persists:
>>> 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-
Dear Noel,
Yes, but the system path is OK:
C:\Users\Michal>echo %path%
C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x8
6)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\
Windows;C:\
Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\
If that solved your problem, then your problem was the PATH. You can
check the path that Python sees with "import sys; print(sys.path)".
If the Open Babel directory is on the PATH, then the only thing I can
think of is that you opened a command prompt window before the PATH
was updated.
If want t
Hello, this problem is solved (by copying openbabel's dlls to python
directory. I'm able to import openbabel now, but when I try to import
pybel, I get the following error:
Traceback (most recent call last):
File "", line 1, in
import pybel
File "C:\Python33\lib\site-packages\pybel.py", li
Hello, I need urgent help with the openbabel python library. I can't
get it to work (on 3 different Windows 7 computers).
I installed OpenBabel GUI 2.3.2 first, then Python 3.3 32-bit, then
OpenBabel python bindings 1.8 for python 3.3.
When I try to import openabel or pybel, I get the following e
10 matches
Mail list logo