"No distribution at all found for bob>1.1.0" for Antispoofing.motion and antispoofing.optflow

43 views
Skip to first unread message

Devrim Doner

unread,
Feb 19, 2015, 8:59:46 AM2/19/15
to bob-...@googlegroups.com
Hi,

I installed all dependencies and all bob packages using pip on Ubuntu 14.04.1 LTS 64 bit system. Afterward i wanted to install antispoofing.motion and antispoofing.optflow. I got an error;

"Could not find any downloads that satisfy the requirement bob>=1.1.0 (from antispoofing.optflow)

Cleaning up...
No distributions at all found for bob>=1.1.0 (from antispoofing.optflow)
Storing debug log for failure in /home/ubuntu/.pip/pip.log"



Could you help me handle this issue?

Thanks a lot.

André Anjos

unread,
Feb 19, 2015, 9:10:38 AM2/19/15
to bob-...@googlegroups.com

On Thu, Feb 19, 2015 at 2:59 PM, Devrim Doner <devrim...@gmail.com> wrote:

I installed all dependencies and all bob packages using pip on Ubuntu 14.04.1 LTS 64 bit system. Afterward i wanted to install antispoofing.motion and antispoofing.optflow. I got an error;


Some info: Because of the way Bob 1.x was conceived it needs to be installed before you go through the pip or buildout installation. (FYI Bob 2.x is more PyPI friendly, but we're still upgrading our antispoofing packages so, no luck there.)

Unfortunately, Bob 1.x is not Ubuntu 14.x compatible (there is a nasty problem with the Python installation path).

What I recommend:

1. Use one of the supported distros: Ubuntu 10.x up to Ubuntu 13.10 should be fine.
3. Then, run your installation from the top as you already did.

It should work out of the box. We tested it many times.

Let us know otherwise, A

--
Dr. André Anjos
Idiap Research Institute
Centre du Parc - rue Marconi 19
CH-1920 Martigny, Suisse
Phone: +41 27 721 7763
Fax: +41 27 721 7712
http://andreanjos.org

Devrim Doner

unread,
Feb 20, 2015, 4:37:14 AM2/20/15
to bob-...@googlegroups.com
Hi Andre

I installed ubuntu 13.10 64 bit and then i downloaded BOB 1.1.0. Unfortunately the installation produced an error about ImageMagick++. The error text is below;

-- checking for module 'ImageMagick++>=6.5'
--   package 'ImageMagick++>=6.5' not found
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:279 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:333 (_pkg_check_modules_internal)
  src/io/CMakeLists.txt:50 (pkg_check_modules)


-- Configuring incomplete, errors occurred!



But, imagemagick is already installed as you see;

$ identify -version
Version: ImageMagick 6.9.0-6 Q8 x86_64 2015-02-19 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC
Features: DPC Modules
Delegates (built-in): bzlib djvu fftw fontconfig freetype jbig jng jpeg lcms lqr ltdl lzma openexr pangocairo png tiff xml zlib

I dont have any idea what is problem or to do wrong. What should i do or check now?

André Anjos

unread,
Feb 23, 2015, 6:02:19 AM2/23/15
to bob-...@googlegroups.com
Hello,

What I meant is that, if you installed Ubuntu 13.10, you don't need to compile Bob 1.x from scratch. Just do:

sudo add-apt-repository ppa:biometrics
sudo apt-get install bob-dev

This will automatically install all required dependencies and get your system ready to run.

Then, try to re-install antispoofing.motion from scratch. This should definetely work.

Andre

--
-- You received this message because you are subscribed to the Google Groups bob-devel group. To post to this group, send email to bob-...@googlegroups.com. To unsubscribe from this group, send email to bob-devel+...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/bob-devel or directly the project website at http://idiap.github.com/bob/
---
You received this message because you are subscribed to the Google Groups "bob-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bob-devel+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Devrim Doner

unread,
Feb 24, 2015, 3:46:57 AM2/24/15
to bob-...@googlegroups.com
Hello,


There is an another error if i install antispoofing.motion from strach and also using pip.

The error test is;
"TypeError: No to_python (by-value) converter found for C++ type: bob::ip::GaborWaveletTransform"

Note:I followed your steps just i changed first lines as "sudo add-apt-repository ppa:biometrics/bob". And then installed bob-dev. There was not any error till that step. The error produced on writing to terminal "python bootstrap.py". After that error, i tried to install using pip. but same errror produced.

There is not any information about the error on internet.

Thanks for your kindly helping,

Devrim

Manuel Günther

unread,
Feb 24, 2015, 3:52:20 AM2/24/15
to bob-...@googlegroups.com
Dear Devrim,

could you please post the complete error log of the "python bootstrap.py" command, so that we might have a little chance to trace your problem?

Thank you
Manuel

André Anjos

unread,
Feb 24, 2015, 4:02:24 AM2/24/15
to bob-...@googlegroups.com

On Tue, Feb 24, 2015 at 9:46 AM, Devrim Doner <devrim...@gmail.com> wrote:
Note:I followed your steps just i changed first lines as "sudo add-apt-repository ppa:biometrics/bob". And then installed bob-dev. There was not any error till that step. The error produced on writing to terminal "python bootstrap.py". After that error, i tried to install using pip. but same errror produced.

Hello there,

Please, refrain from using pip - it can only trace Python runtime dependencies. Build time dependencies are a bit trickier. It is possible to install using pip, but you must do all by hand, what requires some experience.

If you have a packaging system on your OS, stick to it all the way, up to point you can buildout your Bob package.

If python bootstrap.py did not work properly, as Manuel suggests, please post the full log here.

A piece of advise: Clean-up all you have installed with pip to make sure we're on the same page (i.e., stock Ubuntu 13.10 + a locally installed buildout).

Thanks, Andre

Devrim Doner

unread,
Feb 24, 2015, 3:46:15 PM2/24/15
to bob-...@googlegroups.com
Hello,

I tried to install antispoofing.optflow on a clear ubuntu.

but I cant get full text of error. Terminal was filled up with "l" as enclosed image.
is there any log file? that error produced when i run buildout.

Also, ubuntu works on a WMWare. 


Thanks,
Devrim

err.png

André Anjos

unread,
Feb 24, 2015, 3:55:52 PM2/24/15
to bob-...@googlegroups.com

On Tue, Feb 24, 2015 at 9:46 PM, Devrim Doner <devrim...@gmail.com> wrote:
is there any log file? that error produced when i run buildout.

Hello there,

Never saw this one... Could you please tell me what you did to get to that, exactly?

So, stock Ubuntu 13.10. Then, added the PPA and installed bob-dev with "apt-get install bob-dev", right?

Once that was done, you downloaded the package from PyPI, unzipped and went into its directory.

You executed: python bootstrap.py and obtained this crash?

Devrim Doner

unread,
Feb 25, 2015, 1:51:32 AM2/25/15
to bob-...@googlegroups.com
Hello there,

My steps are;
    * install ubuntu 13.10 on WMWare.
    * sudo apt-get install cmake
    * sudo add-apt-repository ppa:biometrics/bob
    * sudo apt-get update
    * sudo apt-get install bob-dev
    * python bootstrap.py
    * ./bin/buildout

After wrote the last step, it works some minutes and then the error produced.

Thanks,
Devrim


24 Şubat 2015 Salı 22:55:52 UTC+2 tarihinde André Anjos yazdı:

André Anjos

unread,
Feb 25, 2015, 5:56:34 AM2/25/15
to bob-...@googlegroups.com
Ok, I think we know what the problem may be (it may have to do with a mixing of Bob v2 and v1 enviroments).

Could you please download this one:


Unzip it, cd into it and then:

python bootstrap.py
./bin/buildout

? Let us know what happens next. A

--
-- You received this message because you are subscribed to the Google Groups bob-devel group. To post to this group, send email to bob-...@googlegroups.com. To unsubscribe from this group, send email to bob-devel+...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/bob-devel or directly the project website at http://idiap.github.com/bob/
---
You received this message because you are subscribed to the Google Groups "bob-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bob-devel+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Devrim Doner

unread,
Feb 25, 2015, 6:41:22 AM2/25/15
to bob-...@googlegroups.com
I tried to install again on this morning for capturing terminal log. However that seems run in correctly. I dont know what happen or did i differen than before. Even so i am attaching the log file for your information. And also some error lines in the log as;

Error in sys.exitfunc:
Traceback (most recent call last):
  File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/lib/python2.7/dist-packages/bob/core/__init__.py", line 108, in reset_all_streams
    debug.reset("stderr")
AttributeError: 'NoneType' object has no attribute 'reset' 


That error can be problem on codding?

Thanks,
Devrim
install-bob.log
antispoofing.motion.log
antispoofing.optflow.log

Manuel Günther

unread,
Feb 25, 2015, 6:52:59 AM2/25/15
to bob-...@googlegroups.com
Hi,

as André pointed out, you are using a mixture of Bob 1 and Bob 2, which are not compatible. All your errors can be explained by that.

The reason for your issue is that we did not pin-point the versions of some packages on PyPI, which resulted in the weird situation that some of them required Bob 1 and some of them Bob 2. I hope that with the new version of antispoofing.optflow that André pointed to, we were able to fix these issues, and only Bob 1 is required by all dependent packages.

Sorry for the inconvenience.
Manuel

André Anjos

unread,
Feb 25, 2015, 7:53:53 AM2/25/15
to bob-...@googlegroups.com
Hello,

Could you please confirm hat anti spoofing.optflow version 1.0.5 works for you correctly?

A

Devrim Doner

unread,
Feb 25, 2015, 8:26:02 AM2/25/15
to bob-...@googlegroups.com
Hello there,

i installed antispoofing.optflow version 1.0.5 as you said and i think it is installed correctly but some warnings produced for PEP440 and also others. I attach the log file for your informations.

Thanks a lot.
Devrim
antispoofing.optflow-1.0.5.log

André Anjos

unread,
Feb 25, 2015, 8:30:32 AM2/25/15
to bob-...@googlegroups.com
Hello,

Warnings are OK. I'm happy we could get through with it. It is good to know that even our older modules are still operational.

Andre

--
-- You received this message because you are subscribed to the Google Groups bob-devel group. To post to this group, send email to bob-...@googlegroups.com. To unsubscribe from this group, send email to bob-devel+...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/bob-devel or directly the project website at http://idiap.github.com/bob/
---
You received this message because you are subscribed to the Google Groups "bob-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bob-devel+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages