ptwobrussell / Mining-the-Social-Web-2nd-Edition

The official online compendium for Mining the Social Web, 2nd Edition (O'Reilly, 2013)
http://bit.ly/135dHfs
Other
2.9k stars 1.49k forks source link

Chef never successfully completed #119

Closed dennis7742 closed 10 years ago

dennis7742 commented 10 years ago

Toward the very end of bringing my VM vagrant up within the Mining the Social Web directory I received the following bad news. Advanced apologies if I copied too many lines. I do have a mismatch between my Virtual Box (4.3) and Guest Additions (4.2.0). Could that be the reason I got this?

Downloading/unpacking Flask==0.9 (from -r /vagrant/mtsw2e-requirements.txt (line 2)) Running setup.py (path:/tmp/pip_build_root/Flask/setup.py) egg_info for package Flask

warning: no files found matching '*' under directory 'tests'
warning: no previously-included files matching '*.pyc' found under directory 'docs'
warning: no previously-included files matching '*.pyo' found under directory 'docs'
warning: no previously-included files matching '*.pyc' found under directory 'tests'
warning: no previously-included files matching '*.pyo' found under directory 'tests'
warning: no previously-included files matching '*.pyc' found under directory 'examples'
warning: no previously-included files matching '*.pyo' found under directory 'examples'
no previously-included directories found matching 'docs/_build'
no previously-included directories found matching 'docs/_themes/.git'

Downloading/unpacking Jinja2==2.6 (from -r /vagrant/mtsw2e-requirements.txt (line 3)) Running setup.py (path:/tmp/pip_build_root/Jinja2/setup.py) egg_info for package Jinja2

warning: no previously-included files matching '*' found under directory 'docs/_build'
warning: no previously-included files matching '*.pyc' found under directory 'jinja2'
warning: no previously-included files matching '*.pyc' found under directory 'docs'
warning: no previously-included files matching '*.pyo' found under directory 'jinja2'
warning: no previously-included files matching '*.pyo' found under directory 'docs'

Downloading/unpacking PyGithub==1.17.0 (from -r /vagrant/mtsw2e-requirements.txt (line 4)) Running setup.py (path:/tmp/pip_build_root/PyGithub/setup.py) egg_info for package PyGithub

Downloading/unpacking PyYAML==3.10 (from -r /vagrant/mtsw2e-requirements.txt (line 5)) Running setup.py (path:/tmp/pip_build_root/PyYAML/setup.py) egg_info for package PyYAML

Downloading/unpacking Werkzeug==0.8.3 (from -r /vagrant/mtsw2e-requirements.txt (line 6)) Running setup.py (path:/tmp/pip_build_root/Werkzeug/setup.py) egg_info for package Werkzeug

warning: no files found matching '*' under directory 'werkzeug/debug/templates'
warning: no files found matching '*' under directory 'tests'
warning: no previously-included files matching '*.pyc' found under directory 'docs'
warning: no previously-included files matching '*.pyo' found under directory 'docs'
warning: no previously-included files matching '*.pyc' found under directory 'tests'
warning: no previously-included files matching '*.pyo' found under directory 'tests'
warning: no previously-included files matching '*.pyc' found under directory 'examples'
warning: no previously-included files matching '*.pyo' found under directory 'examples'
no previously-included directories found matching 'docs/_build'

Downloading/unpacking beautifulsoup4==4.1.3 (from -r /vagrant/mtsw2e-requirements.txt (line 7)) Could not find a version that satisfies the requirement beautifulsoup4==4.1.3 (from -r /vagrant/mtsw2e-requirements.txt (line 7)) (from versions: 4.3.2) Some externally hosted files were ignored (use --allow-external to allow). Cleaning up... No distributions matching the version for beautifulsoup4==4.1.3 (from -r /vagrant/mtsw2e-requirements.txt (line 7)) Storing debug log for failure in /root/.pip/pip.log STDERR: ---- End output of pip install -r /vagrant/mtsw2e-requirements.txt ---- Ran pip install -r /vagrant/mtsw2e-requirements.txt returned 1 Chef never successfully completed! Any errors should be visible in the output above. Please fix your recipes so that they properly complete.

Thanks in advance for any help. I can't wait to get started with the book and following along with iPython notebook.

Dennis King

ptwobrussell commented 10 years ago

Hi Dennis -

Thanks for reaching out. I'm sorry that you're experiencing this problem, and I'll do whatever I can to help.

What appears to be happening is that there is a particular Python dependency called beautifulsoup4 that wasn't installed. This is odd because I can install it, and it should be available for the public.

The command below shows me that the dependency is hosted and accessible:

$ pip install --no-install beautifulsoup4==4.1.3
Downloading/unpacking beautifulsoup4==4.1.3
  Downloading beautifulsoup4-4.1.3.tar.gz (131kB): 131kB downloaded
  Running setup.py egg_info for package beautifulsoup4

Successfully downloaded beautifulsoup4

Unfortunately, this didn't seem to be the case when you tried it...

Before we try anything else, could I suggest that you run the following two commands see if the problem persists:

This will effectively restart the entire configuration process, and we'll see if the error was a temporary network/server issue, or if it's something more symptomatic that we can diagnose.

Let me know....I want to help you get through this as quickly and painlessly as possible.

On Jan 4, 2014, at 9:38 PM, "Dennis C. King" notifications@github.com wrote:

Toward the very end of bringing my VM vagrant up within the Mining the Social Web directory I received the following bad news. Advanced apologies if I copied too many lines. I do have a mismatch between my Virtual Box (4.3) and Guest Additions (4.2.0). Could that be the reason I got this?

Downloading/unpacking Flask==0.9 (from -r /vagrant/mtsw2e-requirements.txt (line 2)) Running setup.py (path:/tmp/pip_build_root/Flask/setup.py) egg_info for package Flask

warning: no files found matching '' under directory 'tests' warning: no previously-included files matching '.pyc' found under directory 'docs' warning: no previously-included files matching '.pyo' found under directory 'docs' warning: no previously-included files matching '.pyc' found under directory 'tests' warning: no previously-included files matching '.pyo' found under directory 'tests' warning: no previously-included files matching '.pyc' found under directory 'examples' warning: no previously-included files matching '*.pyo' found under directory 'examples' no previously-included directories found matching 'docs/_build' no previously-included directories found matching 'docs/_themes/.git' Downloading/unpacking Jinja2==2.6 (from -r /vagrant/mtsw2e-requirements.txt (line 3)) Running setup.py (path:/tmp/pip_build_root/Jinja2/setup.py) egg_info for package Jinja2

warning: no previously-included files matching '_' found under directory 'docs/build' warning: no previously-included files matching '.pyc' found under directory 'jinja2' warning: no previously-included files matching '.pyc' found under directory 'docs' warning: no previously-included files matching '.pyo' found under directory 'jinja2' warning: no previously-included files matching '*.pyo' found under directory 'docs' Downloading/unpacking PyGithub==1.17.0 (from -r /vagrant/mtsw2e-requirements.txt (line 4)) Running setup.py (path:/tmp/pip_build_root/PyGithub/setup.py) egg_info for package PyGithub

Downloading/unpacking PyYAML==3.10 (from -r /vagrant/mtsw2e-requirements.txt (line 5)) Running setup.py (path:/tmp/pip_build_root/PyYAML/setup.py) egg_info for package PyYAML

Downloading/unpacking Werkzeug==0.8.3 (from -r /vagrant/mtsw2e-requirements.txt (line 6)) Running setup.py (path:/tmp/pip_build_root/Werkzeug/setup.py) egg_info for package Werkzeug

warning: no files found matching '' under directory 'werkzeug/debug/templates' warning: no files found matching '' under directory 'tests' warning: no previously-included files matching '.pyc' found under directory 'docs' warning: no previously-included files matching '.pyo' found under directory 'docs' warning: no previously-included files matching '.pyc' found under directory 'tests' warning: no previously-included files matching '.pyo' found under directory 'tests' warning: no previously-included files matching '.pyc' found under directory 'examples' warning: no previously-included files matching '.pyo' found under directory 'examples' no previously-included directories found matching 'docs/_build' Downloading/unpacking beautifulsoup4==4.1.3 (from -r /vagrant/mtsw2e-requirements.txt (line 7)) Could not find a version that satisfies the requirement beautifulsoup4==4.1.3 (from -r /vagrant/mtsw2e-requirements.txt (line 7)) (from versions: 4.3.2) Some externally hosted files were ignored (use --allow-external to allow). Cleaning up... No distributions matching the version for beautifulsoup4==4.1.3 (from -r /vagrant/mtsw2e-requirements.txt (line 7)) Storing debug log for failure in /root/.pip/pip.log STDERR: ---- End output of pip install -r /vagrant/mtsw2e-requirements.txt ---- Ran pip install -r /vagrant/mtsw2e-requirements.txt returned 1 Chef never successfully completed! Any errors should be visible in the output above. Please fix your recipes so that they properly complete.

Thanks in advance for any help. I can't wait to get started with the book and following along with iPython notebook.

Dennis King

— Reply to this email directly or view it on GitHub.

dennis7742 commented 10 years ago

Mathew,

Thanks so much for the quick reply. Have run the vagrant destroy and am now bringing up a new vm. It takes a little while to run. I did a little checking around and it seems that downloading Python libraries on Windows can be a pain but someone suggested adding C:/Python27/ to my PATH so I did. I was surprised that it wouldn’t already be there. Anyway, I’ll keep my fingers crossed that this time’s the charm.

Thanks again,

Dennis

From: Matthew A. Russell [mailto:notifications@github.com] Sent: Saturday, January 04, 2014 10:23 PM To: ptwobrussell/Mining-the-Social-Web-2nd-Edition Cc: Dennis C. King Subject: Re: [Mining-the-Social-Web-2nd-Edition] Chef never successfully completed (#119)

Hi Dennis -

Thanks for reaching out. I'm sorry that you're experiencing this problem, and I'll do whatever I can to help.

What appears to be happening is that there is a particular Python dependency called beautifulsoup4 that wasn't installed. This is odd because I can install it, and it should be available for the public.

The command below shows me that the dependency is hosted and accessible:

$ pip install --no-install beautifulsoup4==4.1.3 
Downloading/unpacking beautifulsoup4==4.1.3 
Downloading beautifulsoup4-4.1.3.tar.gz (131kB): 131kB downloaded 
Running setup.py egg_info for package beautifulsoup4 

Successfully downloaded beautifulsoup4 

Unfortunately, this didn't seem to be the case when you tried it...

Before we try anything else, could I suggest that you run the following two commands see if the problem persists:

This will effectively restart the entire configuration process, and we'll see if the error was a temporary network/server issue, or if it's something more symptomatic that we can diagnose.

Let me know....I want to help you get through this as quickly and painlessly as possible.

On Jan 4, 2014, at 9:38 PM, "Dennis C. King" <notifications@github.com mailto:notifications@github.com > wrote:

Toward the very end of bringing my VM vagrant up within the Mining the Social Web directory I received the following bad news. Advanced apologies if I copied too many lines. I do have a mismatch between my Virtual Box (4.3) and Guest Additions (4.2.0). Could that be the reason I got this?

Downloading/unpacking Flask==0.9 (from -r /vagrant/mtsw2e-requirements.txt (line 2)) Running setup.py (path:/tmp/pip_build_root/Flask/setup.py) egg_info for package Flask

warning: no files found matching '' under directory 'tests' warning: no previously-included files matching '.pyc' found under directory 'docs' warning: no previously-included files matching '.pyo' found under directory 'docs' warning: no previously-included files matching '.pyc' found under directory 'tests' warning: no previously-included files matching '.pyo' found under directory 'tests' warning: no previously-included files matching '.pyc' found under directory 'examples' warning: no previously-included files matching '*.pyo' found under directory 'examples' no previously-included directories found matching 'docs/_build' no previously-included directories found matching 'docs/_themes/.git' Downloading/unpacking Jinja2==2.6 (from -r /vagrant/mtsw2e-requirements.txt (line 3)) Running setup.py (path:/tmp/pip_build_root/Jinja2/setup.py) egg_info for package Jinja2

warning: no previously-included files matching '_' found under directory 'docs/build' warning: no previously-included files matching '.pyc' found under directory 'jinja2' warning: no previously-included files matching '.pyc' found under directory 'docs' warning: no previously-included files matching '.pyo' found under directory 'jinja2' warning: no previously-included files matching '*.pyo' found under directory 'docs' Downloading/unpacking PyGithub==1.17.0 (from -r /vagrant/mtsw2e-requirements.txt (line 4)) Running setup.py (path:/tmp/pip_build_root/PyGithub/setup.py) egg_info for package PyGithub

Downloading/unpacking PyYAML==3.10 (from -r /vagrant/mtsw2e-requirements.txt (line 5)) Running setup.py (path:/tmp/pip_build_root/PyYAML/setup.py) egg_info for package PyYAML

Downloading/unpacking Werkzeug==0.8.3 (from -r /vagrant/mtsw2e-requirements.txt (line 6)) Running setup.py (path:/tmp/pip_build_root/Werkzeug/setup.py) egg_info for package Werkzeug

warning: no files found matching '' under directory 'werkzeug/debug/templates' warning: no files found matching '' under directory 'tests' warning: no previously-included files matching '.pyc' found under directory 'docs' warning: no previously-included files matching '.pyo' found under directory 'docs' warning: no previously-included files matching '.pyc' found under directory 'tests' warning: no previously-included files matching '.pyo' found under directory 'tests' warning: no previously-included files matching '.pyc' found under directory 'examples' warning: no previously-included files matching '.pyo' found under directory 'examples' no previously-included directories found matching 'docs/_build' Downloading/unpacking beautifulsoup4==4.1.3 (from -r /vagrant/mtsw2e-requirements.txt (line 7)) Could not find a version that satisfies the requirement beautifulsoup4==4.1.3 (from -r /vagrant/mtsw2e-requirements.txt (line 7)) (from versions: 4.3.2) Some externally hosted files were ignored (use --allow-external to allow). Cleaning up... No distributions matching the version for beautifulsoup4==4.1.3 (from -r /vagrant/mtsw2e-requirements.txt (line 7)) Storing debug log for failure in /root/.pip/pip.log STDERR: ---- End output of pip install -r /vagrant/mtsw2e-requirements.txt ---- Ran pip install -r /vagrant/mtsw2e-requirements.txt returned 1 Chef never successfully completed! Any errors should be visible in the output above. Please fix your recipes so that they properly complete.

Thanks in advance for any help. I can't wait to get started with the book and following along with iPython notebook.

Dennis King

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/ptwobrussell/Mining-the-Social-Web-2nd-Edition/issues/119#issuecomment-31596041 . https://github.com/notifications/beacon/3228144__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcwNDQyODU5NCwiZGF0YSI6eyJpZCI6MjI5MjgwNDZ9fQ==--8c81186fb2590e5c9adf831450677fc4933c3b1c.gif

dennis7742 commented 10 years ago

Mathew,

No dice, I’m afraid. Same problem installing beautifulsoup4.

Two things: In the error message I saw this: Some externally hosted files were ignored (use --allow-external to allow)

Any significance to this? I tried vagrant provision –allow-external but that apparently this isn’t the proper syntax.

I’m very new to Virtual Box, Vagrant and Puppet but I’m really looking forward to setting up various local development environments for web development and data mining, of course.

I’m running Windows 8.1 on an HP desktop with an AMD quad processor and 4 GB of ram (probably low for this kind of work). I’m running precise32 because precise64 won’t run. Apparently there’s some adjustment to AMD-V or something like that to get the 64bit box to run.

Anyway, the second thing is mention of an error log: Cleaning up...

No distributions matching the version for beautifulsoup4==4.1.3 (from -r /vagrant/mtsw2e-requirements.txt (line 7))

Storing debug log for failure in /root/.pip/pip.log

With this log file be of any use to you? I couldn’t find it but I’m sure I could find it with some search.

Thanks again for your help. I’m going to be leaving the office soon but I’ll be back at it tomorrow.

Regards,

Dennis

Web Presence Shop

WordPress Development

Content Strategy, SEO and Mobile for Effective Business Websites

Evanston / Wilmette

+1 (312) 802-0770

mailto:dennis@webpresenceshop.com dennis@webpresenceshop.com

mailto:dennis7742@comcast.net dennis7742@comcast.net

http://www.webpresenceshop.com/ www.webpresenceshop.com

From: Matthew A. Russell [mailto:notifications@github.com] Sent: Saturday, January 04, 2014 10:23 PM To: ptwobrussell/Mining-the-Social-Web-2nd-Edition Cc: Dennis C. King Subject: Re: [Mining-the-Social-Web-2nd-Edition] Chef never successfully completed (#119)

Hi Dennis -

Thanks for reaching out. I'm sorry that you're experiencing this problem, and I'll do whatever I can to help.

What appears to be happening is that there is a particular Python dependency called beautifulsoup4 that wasn't installed. This is odd because I can install it, and it should be available for the public.

The command below shows me that the dependency is hosted and accessible:

$ pip install --no-install beautifulsoup4==4.1.3 
Downloading/unpacking beautifulsoup4==4.1.3 
Downloading beautifulsoup4-4.1.3.tar.gz (131kB): 131kB downloaded 
Running setup.py egg_info for package beautifulsoup4 

Successfully downloaded beautifulsoup4 

Unfortunately, this didn't seem to be the case when you tried it...

Before we try anything else, could I suggest that you run the following two commands see if the problem persists:

This will effectively restart the entire configuration process, and we'll see if the error was a temporary network/server issue, or if it's something more symptomatic that we can diagnose.

Let me know....I want to help you get through this as quickly and painlessly as possible.

On Jan 4, 2014, at 9:38 PM, "Dennis C. King" <notifications@github.com mailto:notifications@github.com > wrote:

Toward the very end of bringing my VM vagrant up within the Mining the Social Web directory I received the following bad news. Advanced apologies if I copied too many lines. I do have a mismatch between my Virtual Box (4.3) and Guest Additions (4.2.0). Could that be the reason I got this?

Downloading/unpacking Flask==0.9 (from -r /vagrant/mtsw2e-requirements.txt (line 2)) Running setup.py (path:/tmp/pip_build_root/Flask/setup.py) egg_info for package Flask

warning: no files found matching '' under directory 'tests' warning: no previously-included files matching '.pyc' found under directory 'docs' warning: no previously-included files matching '.pyo' found under directory 'docs' warning: no previously-included files matching '.pyc' found under directory 'tests' warning: no previously-included files matching '.pyo' found under directory 'tests' warning: no previously-included files matching '.pyc' found under directory 'examples' warning: no previously-included files matching '*.pyo' found under directory 'examples' no previously-included directories found matching 'docs/_build' no previously-included directories found matching 'docs/_themes/.git' Downloading/unpacking Jinja2==2.6 (from -r /vagrant/mtsw2e-requirements.txt (line 3)) Running setup.py (path:/tmp/pip_build_root/Jinja2/setup.py) egg_info for package Jinja2

warning: no previously-included files matching '_' found under directory 'docs/build' warning: no previously-included files matching '.pyc' found under directory 'jinja2' warning: no previously-included files matching '.pyc' found under directory 'docs' warning: no previously-included files matching '.pyo' found under directory 'jinja2' warning: no previously-included files matching '*.pyo' found under directory 'docs' Downloading/unpacking PyGithub==1.17.0 (from -r /vagrant/mtsw2e-requirements.txt (line 4)) Running setup.py (path:/tmp/pip_build_root/PyGithub/setup.py) egg_info for package PyGithub

Downloading/unpacking PyYAML==3.10 (from -r /vagrant/mtsw2e-requirements.txt (line 5)) Running setup.py (path:/tmp/pip_build_root/PyYAML/setup.py) egg_info for package PyYAML

Downloading/unpacking Werkzeug==0.8.3 (from -r /vagrant/mtsw2e-requirements.txt (line 6)) Running setup.py (path:/tmp/pip_build_root/Werkzeug/setup.py) egg_info for package Werkzeug

warning: no files found matching '' under directory 'werkzeug/debug/templates' warning: no files found matching '' under directory 'tests' warning: no previously-included files matching '.pyc' found under directory 'docs' warning: no previously-included files matching '.pyo' found under directory 'docs' warning: no previously-included files matching '.pyc' found under directory 'tests' warning: no previously-included files matching '.pyo' found under directory 'tests' warning: no previously-included files matching '.pyc' found under directory 'examples' warning: no previously-included files matching '.pyo' found under directory 'examples' no previously-included directories found matching 'docs/_build' Downloading/unpacking beautifulsoup4==4.1.3 (from -r /vagrant/mtsw2e-requirements.txt (line 7)) Could not find a version that satisfies the requirement beautifulsoup4==4.1.3 (from -r /vagrant/mtsw2e-requirements.txt (line 7)) (from versions: 4.3.2) Some externally hosted files were ignored (use --allow-external to allow). Cleaning up... No distributions matching the version for beautifulsoup4==4.1.3 (from -r /vagrant/mtsw2e-requirements.txt (line 7)) Storing debug log for failure in /root/.pip/pip.log STDERR: ---- End output of pip install -r /vagrant/mtsw2e-requirements.txt ---- Ran pip install -r /vagrant/mtsw2e-requirements.txt returned 1 Chef never successfully completed! Any errors should be visible in the output above. Please fix your recipes so that they properly complete.

Thanks in advance for any help. I can't wait to get started with the book and following along with iPython notebook.

Dennis King

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/ptwobrussell/Mining-the-Social-Web-2nd-Edition/issues/119#issuecomment-31596041 . https://github.com/notifications/beacon/3228144__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcwNDQyODU5NCwiZGF0YSI6eyJpZCI6MjI5MjgwNDZ9fQ==--8c81186fb2590e5c9adf831450677fc4933c3b1c.gif

raultorres88 commented 10 years ago

@dennis7742 The error is coming from the VM, not your instance of Windows. I am in the process of setting up my VM for the first time and ran into the same errors. I modified a few lines in mtsw2e-requirements.txt to get past the set up errors.

"beautifulsoup4==4.1.3" changes to "beautifulsoup4==4.3.2" "matplotlib==1.2.1" changes to "matplotlib==1.1.1"

That should be enough to get past the vagrant set up. Since this is my first read through of the book I make no guarantee the examples will work, but it's enough to get started.

@ptwobrussell Since it's my first read through of the book I didn't want to fork and make a pull request, not sure if that will break anything else. This is the first book I've seen with a Vagrant set up, so that makes me super happy! I look forward to diving in.

dennis7742 commented 10 years ago

Thanks a bunch. Let me try it.

ptwobrussell commented 10 years ago

Hey guys - I just wanted to jump in on this and say that I'm really sorry that you are encountering some troubles getting these packages. In theory, these things wouldn't happen (which is the whole point of the VM), but for some reason, you're running into a couple of issues here. I want you to know what I'll do whatever I can to help you be successful and am here to support you the best I can no matter what.

A few thoughts:

I will be spending some time this morning doing a clean "vagrant up" to see if I can reproduce any of these things and report back with any findings of my own.

I've also been considering making available a version of the VM that has all of the initial setup installed. The downside is that it would be a larger initial download of the Virtualbox image (and I'd have to figure out how to handle the hosting and costs associated with that), but the upside is that it would eliminate most of these little issues, so it's probably worth it.

I'll be back with more info on these fronts soon...

dennis7742 commented 10 years ago

Thanks Mathew and Raul. I got past some sticking points on now landed on a maxent_treebank sticking point so I let it run overnight and came into the office to find it had timed out. Here's the message:

---- Begin output of python -m nltk.downloader -d /usr/share/nltk_data punkt maxent_treebank_pos_tagger maxent_ne_chunker words stopwords ---- STDOUT: STDERR: ---- End output of python -m nltk.downloader -d /usr/share/nltk_data punkt maxent_treebank_pos_tagger maxent_ne_chunker words stopwords ----

Chef never successfully completed! Any errors should be visible in the output above. Please fix your recipes so that they properly complete.

I appreciate your commitment to getting through this and we'll just find the best way. I'm certainly willing to try things like manual commands to determine what particular packages are issues.

Will be in touch.

Dennis

ptwobrussell commented 10 years ago

Dennis - For whatever reason, those packages are timing out for some other folks as well. The good news is that this is easy enough to work around. See my comment here for some options - https://github.com/ptwobrussell/Mining-the-Social-Web-2nd-Edition/issues/115#issuecomment-31241618

I will be dealing with this issue specifically today as well since it seems to be one of the issues that is coming up more often than expected. (It's either a server slowness issue or a bandwidth/connection issue that's beyond my immediate control, but it's not critical that these packages download during the VM bootstrap.)

ptwobrussell commented 10 years ago

Hey guys -

I was able to reproduce the issues that you're experiencing regarding package versions with beautifulsoup4 or matplotlib. What happened is that pip version 1.5 was released on January 1, and it changed how a few things work with package installs -- namely, that "externally hosted" files (ones that aren't uploaded to PyPI) aren't allowed to be installed by default unless you provide a special option indicating that it is alright to do so.

I've updated the Chef recipe so that everything works with the version of the packages that I know/trust at the moment, so everything should be in order if you "vagrant provision" with the latest project files. (If you're comfortable with git, then just "git checkout mtsw2e-requirements.txt" and then "git pull origin" to pull down the updates. The "git checkout" should replace your requirements file to prevent any merge conflicts, and I'll reference the changes below just in case you have modified any other files that could cause merge conflicts that you may not be comfortable fixing.

Alternatively, you could just delete your checkout, and re-clone (or re-download it) to start fresh and avoid any potential git hassles if that's better for you.

Relevant commits:

PS - I've also taken a stab at also creating a pre-configured Vagrant box that should have all of the dependencies already installed so that you can side-step these issues entirely. I've tested it out the best I can, and AFAICT, it works as expected. If you're willing to try it out, I'd be glad to make it available for you. The downside is that it's a ~1.3GB download. The upside is that it should have everything pre-installed, so it provisions in ~30 seconds and requires no additional downloads.

There's no reason that should necessarily try this out, but you're more than welcome to it, if you'd like.

Let me know about these things?

raultorres88 commented 10 years ago

@ptwobrussell I pulled down the latest updates and everything looks good. Thanks.

ptwobrussell commented 10 years ago

@raultorres88 - Great!

@dennis7742 - if you get everything sorted, feel free to close out this ticket. Otherwise, let me know what comes up next and we can determine how best to proceed.

dennis7742 commented 10 years ago

Mathew and Raul,

Thanks again for everything. Updated the files and ran it again and got a perfectly clean install. I fired up localhost:8888 and the iPython dashboard is looking mighty sweet. Getting ready to dig in. and,yes I will close this ticket. Thanks for all you do. Kind regards, Dennis