Re: Protobuf 3.0.0 instead of 2.6.1?

2016-07-27 Thread Thibaut Brandscheid
On Tue, Jul 26, 2016 at 11:23 PM JIA Pei  wrote:

> Recently, I started to play with tensorflow. I prefer run code from my
> native computer instead of building an virtual environment. Therefore, I
> installed tensorflow from source, and happened to notice it requires
> protobuf 3.0.0+ .
>

You can build protobuf yourself (did it in the past multiple times for Java
projects), just follow the instructions:
https://github.com/google/protobuf/tree/master/src

If you don't want to clutter your system, you could build protobuf in LXD:
https://www.stgraber.org/2016/03/11/lxd-2-0-introduction-to-lxd-112/

Greetings
Thibaut
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Protobuf 3.0.0 instead of 2.6.1?

2016-07-27 Thread John Moser
Use a Docker container for now.  You may need to map /tmp as a volume
(to get the X11 socket) if it's an X application.
It might be easier to start from a Debian or Alpine container when
building the Dockerfile.
On Tue, 2016-07-26 at 14:23 -0700, JIA Pei wrote:
> 
> Hi, Canonical developers?
> 
> Recently, I started to play with tensorflow. I prefer run code from
> my native computer instead of building an virtual environment.
> Therefore, I installed tensorflow from source, and happened to notice
> it requires protobuf 3.0.0+ .
> 
> However, Ubuntu comes with protobuf 2.6.1 from the repository by
> default, And to thoroughly remove protobuf is headache. 
> 
> Actually, I put two questions from Ubuntuforum, please refer to:
> https://ubuntuforums.org/showthread.php?t=2331702
> https://ubuntuforums.org/showthread.php?t=2331071
> 
> 
> Although now I can build my code based on tensorflow within a virtual
> environment. I still prefer building everything WITHOUT a virtualenv
> anyway. Can anybody give me a hand please??
> 
> 
> Thank you very much...
> 
> 
> Cheers
> 
> -- 
> 
> Pei JIA, Ph.D.
> 
> Email: jp4w...@gmail.com
> cell in Canada:    +1 778-863-5816
> cell in China: +86 186-8244-3503
> 
> Welcome to Vision Open
> http://www.visionopen.com
> -- 
> Ubuntu-devel-discuss mailing list
> Ubuntu-devel-discuss@lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/l
> istinfo/ubuntu-devel-discuss-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Protobuf 3.0.0 instead of 2.6.1?

2016-07-26 Thread JIA Pei
Hi, Canonical developers?

Recently, I started to play with tensorflow. I prefer run code from my
native computer instead of building an virtual environment. Therefore, I
installed tensorflow from source, and happened to notice it requires
protobuf 3.0.0+ .

However, Ubuntu comes with protobuf 2.6.1 from the repository by default,
And to thoroughly remove protobuf is headache.

Actually, I put two questions from Ubuntuforum, please refer to:
https://ubuntuforums.org/showthread.php?t=2331702
https://ubuntuforums.org/showthread.php?t=2331071


Although now I can build my code based on tensorflow within a virtual
environment. I still prefer building everything WITHOUT a virtualenv
anyway. Can anybody give me a hand please??


Thank you very much...


Cheers

-- 

Pei JIA, Ph.D.

Email: jp4w...@gmail.com
cell in Canada:+1 778-863-5816
cell in China: +86 186-8244-3503

Welcome to Vision Open
http://www.visionopen.com
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss