Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libsnappy1 - package not found #5

Open
joechong88 opened this issue Dec 31, 2013 · 17 comments
Open

libsnappy1 - package not found #5

joechong88 opened this issue Dec 31, 2013 · 17 comments

Comments

@joechong88
Copy link
Contributor

This package cannot be found during the package compilation in dotcloud. Is there a new library to be added?

13:19:00.948826: [www] Reading package lists...
13:19:02.232602: [www] stdin: is not a tty
13:19:02.233042: [www] Reading package lists...
13:19:02.358834: [www] Building dependency tree...
13:19:02.359280: [www] Reading state information...
13:19:02.408824: [www] E: Couldn't find package libsnappy1

@rjurney
Copy link
Owner

rjurney commented Dec 31, 2013

Check this convo/link out:
https://mobile.twitter.com/rjurney/status/298942273712971776?screen_name=rjurney

Lemme know if that helps.

On Tuesday, December 31, 2013, joechong88 wrote:

This package cannot be found during the package compilation in dotcloud.
Is there a new library to be added?

13:19:00.948826: [www] Reading package lists...
13:19:02.232602: [www] stdin: is not a tty
13:19:02.233042: [www] Reading package lists...
13:19:02.358834: [www] Building dependency tree...
13:19:02.359280: [www] Reading state information...
13:19:02.408824: [www] E: Couldn't find package libsnappy1


Reply to this email directly or view it on GitHubhttps://github.com//issues/5
.

Russell Jurney twitter.com/rjurney russell.jurney@gmail.com datasyndrome.com

@joechong88
Copy link
Contributor Author

Quite complicated to follow. Is there a sample already done on how to get snappy as a pre-req and compiled? Even within Ch03, I've to do a MAKE for snappy first before it can be compiled and installed.

@rjurney
Copy link
Owner

rjurney commented Jan 1, 2014

I see the instructions could be longer:

To install Avro for Python, you must first build and install the snappy
compression library, available at http://code.google.com/p/snappy/. Using a
package manager to do so is recommended.

What operating system are you on? Have you been able to install Snappy?

On Tue, Dec 31, 2013 at 4:31 PM, joechong88 notifications@github.comwrote:

Quite complicated to follow. Is there a sample already done on how to get
snappy as a pre-req and compiled? Even within Ch03, I've to do a MAKE for
snappy first before it can be compiled and installed.


Reply to this email directly or view it on GitHubhttps://github.com//issues/5#issuecomment-31400940
.

Russell Jurney twitter.com/rjurney russell.jurney@gmail.com datasyndrome.com

@joechong88
Copy link
Contributor Author

Only able to do so in my Mac OS X Mavericks. But not able to do so on DotCloud.com.

@joechong88
Copy link
Contributor Author

Any chance of showing how you had managed to compile snappy within dotcloud?

@rjurney
Copy link
Owner

rjurney commented Jan 4, 2014

I'm looking for the logs... I included an Ubuntu package that included it.

On Friday, January 3, 2014, joechong88 wrote:

Any chance of showing how you had managed to compile snappy within
dotcloud?


Reply to this email directly or view it on GitHubhttps://github.com//issues/5#issuecomment-31567932
.

Russell Jurney twitter.com/rjurney russell.jurney@gmail.com datasyndrome.com

@rjurney
Copy link
Owner

rjurney commented Jan 4, 2014

systempackages
-snappy

http://docs.dotcloud.com/guides/build-file/

On Friday, January 3, 2014, Russell Jurney wrote:

I'm looking for the logs... I included an Ubuntu package that included it.

On Friday, January 3, 2014, joechong88 wrote:

Any chance of showing how you had managed to compile snappy within
dotcloud?


Reply to this email directly or view it on GitHubhttps://github.com//issues/5#issuecomment-31567932
.

Russell Jurney twitter.com/rjurney russell.jurney@gmail.com<javascript:_e({}, 'cvml', 'russell.jurney@gmail.com');>
datasyndrome.com

Russell Jurney twitter.com/rjurney russell.jurney@gmail.com datasyndrome.com

@rjurney
Copy link
Owner

rjurney commented Jan 4, 2014

See also http://packages.ubuntu.com/search?keywords=snappy

On Friday, January 3, 2014, Russell Jurney wrote:

systempackages
-snappy

http://docs.dotcloud.com/guides/build-file/

On Friday, January 3, 2014, Russell Jurney wrote:

I'm looking for the logs... I included an Ubuntu package that included it.

On Friday, January 3, 2014, joechong88 wrote:

Any chance of showing how you had managed to compile snappy within
dotcloud?


Reply to this email directly or view it on GitHubhttps://github.com//issues/5#issuecomment-31567932
.

Russell Jurney twitter.com/rjurney russell.jurney@gmail.com datasyndrome.
com

Russell Jurney twitter.com/rjurney russell.jurney@gmail.com<javascript:_e({}, 'cvml', 'russell.jurney@gmail.com');>
datasyndrome.com

Russell Jurney twitter.com/rjurney russell.jurney@gmail.com datasyndrome.com

@rjurney
Copy link
Owner

rjurney commented Jan 4, 2014

Wait... Dotcloud.yml in ch04 already has this: https://github.com/rjurney/Agile_Data_Code/blob/master/ch04/dotcloud.yml

@joechong88
Copy link
Contributor Author

Yes, but dot cloud complains that it can't find the package snappy nor libsnappy1.

13:27:10.278830: [www] Reading package lists...
13:27:11.498823: [www] stdin: is not a tty
13:27:11.508954: [www] Reading package lists...
13:27:11.648857: [www] Building dependency tree...
13:27:11.649310: [www] Reading state information...
13:27:11.698854: [www] E: Couldn't find package snappy

@rjurney
Copy link
Owner

rjurney commented Jan 6, 2014

Then it's time to contact their support. Cc me if you can. Those packages
were there when I wrote the book. Arg!

Crap, I'm sorry about this. On the plus side, they have GREAT support. Just
explain things carefully and completely and they will resolve your issue.

On Monday, January 6, 2014, joechong88 wrote:

Yes, but dot cloud complains that it can't find the package snappy nor
libsnappy1.

13:27:10.278830: [www] Reading package lists...
13:27:11.498823: [www] stdin: is not a tty
13:27:11.508954: [www] Reading package lists...
13:27:11.648857: [www] Building dependency tree...
13:27:11.649310: [www] Reading state information...
13:27:11.698854: [www] E: Couldn't find package snappy


Reply to this email directly or view it on GitHubhttps://github.com//issues/5#issuecomment-31648124
.

Russell Jurney twitter.com/rjurney russell.jurney@gmail.com datasyndrome.com

@JBPressac
Copy link

Hello,
I also had some trouble with the installation of the snappy C++ library (required for python-snappy) on Mac OS X. So I simply downloaded the tar.gz file from http://code.google.com/p/snappy/downloads/list, decompressed the file, and copied the snappy-c.h file in the folder /Library/Frameworks/Python.framework/Versions/2.7/include/python2.7, then I run the python-snappy installation with the following shell command:

pip - install python-snappy

Jean-Baptiste

@wmcreate
Copy link

On on the local installation side (Ubuntu 12.04), installing g++ (apt-get install g++) solved it for me.

@walentas
Copy link

I've used your framework as a stepping off point to make d3 dashes of data stored in mongo. I was trying to shift everything to dot cloud, but it complains about libsnappy1, libsnappy-dev:

13:15:34.233586: [www] E: Couldn't find package libsnappy1

Since I'm not analyzing emails, I've sidestepped using avro, but is snappy used only by avro in your framework? Is it used by other libs in any other capacity or only avro?

Thanks

@rjurney
Copy link
Owner

rjurney commented Jun 17, 2014

Snappy is used by Avro, so you should be able to remove that dependency and
ignore it.

On Tue, Jun 17, 2014 at 6:51 AM, Walentas notifications@github.com wrote:

I've used your framework as a stepping off point to make d3 dashes of data
stored in mongo. I was trying to shift everything to dot cloud, but it
complains about libsnappy1, libsnappy-dev:

13:15:34.233586: [www] E: Couldn't find package libsnappy1

Since I'm not analyzing emails, I've sidestepped using avro, but is snappy
used only by avro in your framework? Is it used by other libs in any other
capacity or only avro?

Thanks


Reply to this email directly or view it on GitHub
#5 (comment)
.

Russell Jurney twitter.com/rjurney russell.jurney@gmail.com datasyndrome.com

@walentas
Copy link

The snappy balks on dotcloud were indeed a red herring.

I picked up your book at the end of last year and have used it as a
framework to wrap my analyses of biomedical funding, something I used to
do by hand in excel, and not all that long ago either.

After much wrangling, I've managed to get something live:
http://masheena2-walentas.dotcloud.com

Many thanks Russel!

On 6/17/14, 15:42, Russell Jurney wrote:

Snappy is used by Avro, so you should be able to remove that
dependency and
ignore it.

On Tue, Jun 17, 2014 at 6:51 AM, Walentas notifications@github.com
wrote:

I've used your framework as a stepping off point to make d3 dashes
of data
stored in mongo. I was trying to shift everything to dot cloud, but it
complains about libsnappy1, libsnappy-dev:

13:15:34.233586: [www] E: Couldn't find package libsnappy1

Since I'm not analyzing emails, I've sidestepped using avro, but is
snappy
used only by avro in your framework? Is it used by other libs in any
other
capacity or only avro?

Thanks


Reply to this email directly or view it on GitHub

#5 (comment)
.

Russell Jurney twitter.com/rjurney russell.jurney@gmail.com
datasyndrome.com


Reply to this email directly or view it on GitHub
#5 (comment).

@rjurney
Copy link
Owner

rjurney commented Jun 23, 2014

Awesome!

On Mon, Jun 23, 2014 at 7:44 AM, Walentas notifications@github.com wrote:

The snappy balks on dotcloud were indeed a red herring.

I picked up your book at the end of last year and have used it as a
framework to wrap my analyses of biomedical funding, something I used to
do by hand in excel, and not all that long ago either.

After much wrangling, I've managed to get something live:
http://masheena2-walentas.dotcloud.com

Many thanks Russel!

On 6/17/14, 15:42, Russell Jurney wrote:

Snappy is used by Avro, so you should be able to remove that
dependency and
ignore it.

On Tue, Jun 17, 2014 at 6:51 AM, Walentas notifications@github.com
wrote:

I've used your framework as a stepping off point to make d3 dashes
of data
stored in mongo. I was trying to shift everything to dot cloud, but it
complains about libsnappy1, libsnappy-dev:

13:15:34.233586: [www] E: Couldn't find package libsnappy1

Since I'm not analyzing emails, I've sidestepped using avro, but is
snappy
used only by avro in your framework? Is it used by other libs in any
other
capacity or only avro?

Thanks


Reply to this email directly or view it on GitHub

<
https://github.com/rjurney/Agile_Data_Code/issues/5#issuecomment-46309023>

.

Russell Jurney twitter.com/rjurney russell.jurney@gmail.com
datasyndrome.com


Reply to this email directly or view it on GitHub
<
#5 (comment)
.


Reply to this email directly or view it on GitHub
#5 (comment)
.

Russell Jurney twitter.com/rjurney russell.jurney@gmail.com datasyndrome.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants