(please cc to the list)

Let's take a step back. When you are not in a virtualenv, is Pybel working
for you?

- Noel

On 7 January 2018 at 07:06, jaidev joshi <jaidev53s...@gmail.com> wrote:

> Thanks for you reply, I am working with Ubuntu-16.04 and python-2.7. I
> have tried to install python bindings with pip but, shows error like given
> bellow.
>
> (APP) jai@jaiPC:~/Desktop/APP$ pip install openbabel
>
>
> Error log.
>
>
> running install
>     running build_ext
>     Warning: package openbabel-2.0 could not be found by pkg-config.
>     Guessing Open Babel location:
>     - include_dirs: ['/usr/include/python2.7',
> '/usr/local/include/openbabel-2.0']
>     - library_dirs: ['/usr/local/lib']
>     building '_openbabel' extension
>     swigging openbabel-python.i to openbabel-python_wrap.cpp
>     swig -python -c++ -small -O -templatereduce -naturalvar
> -I/usr/include/python2.7 -I/usr/local/include/openbabel-2.0 -o
> openbabel-python_wrap.cpp openbabel-python.i
>     unable to execute 'swig': No such file or directory
>
>     Error: SWIG failed. Is Open Babel installed?
>     You may need to manually specify the location of Open Babel include
> and library directories. For example:
>       python setup.py build_ext -I/usr/local/include/openbabel-2.0
> -L/usr/local/lib
>       python setup.py install
>
> Error log end.
>
> further I have tried to install with suggested method by pip itself
>
> python setup.py build_ext -I/usr/local/include/openbabel-2.0
> -L/usr/local/lib
>
> but it is alos not working.
>
> thanks and regards.
>
>
>
>
>
> On 7 January 2018 at 01:38, Noel O'Boyle <baoille...@gmail.com> wrote:
>
>> I think you are asking how to use the Open Babel Python bindings within a
>> python virtualenv. All you need to do is to install the bindings within the
>> virtualenv. One way to do this is to use "pip install openbabel", after
>> activating the virtualenv. I haven't tested this, but I believe it should
>> work. If it doesn't, please provide more information about your Python
>> setup (e.g. what OS, versions, etc.)
>>
>> Regards,
>> - Noel
>>
>> On 5 January 2018 at 12:27, jaidev joshi <jaidev53s...@gmail.com> wrote:
>>
>>> I have build a webapp using Django which uses openbabel but I am not
>>> able to install it on pythonvirtualenv.
>>>
>>> ------------------------------------------------------------
>>> ------------------
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> _______________________________________________
>>> OpenBabel-discuss mailing list
>>> OpenBabel-discuss@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/openbabel-discuss
>>>
>>>
>>
>
>
> --
> *JAYADEV JOSHI*
>
> *-------------------------*
>
>
> *Scientist-IIBiomedical Informatics Center,*
>
> *National Institute of Cholera & Enteric Diseases,*
>
>
> *Belia Ghata, Kolkata-700010 West Bengal. India. *
>
> *www.bicniced.org <http://www.bicniced.org> *
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to