charlesthomas / magpie

Git-backed Evernote replacement
MIT License
645 stars 50 forks source link

Magpie Fails to run #33

Closed DevonVille closed 10 years ago

DevonVille commented 10 years ago
Traceback (most recent call last):
  File "/usr/local/bin/magpie", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2707, in <module>
    working_set.require(__requires__)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 686, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: Sphinx==1.2.2

Run on ubuntu12.04 VM using vagrant

The commands I used (as root):

apt-get install python-setuptools python-dev
easy_install pip
pip install magpie
git config --global user.name "John Doe"
git config --global user.email johndoe@example.com
Erwyn commented 10 years ago

Hum, based on your output, I think that you're missing sphinx.

if you re-issue a:

pip install magpie

Could you please paste the entire feedback here? I suspect that something is going wrong during the installation therefor you're encountering such error, cause standard dependencies should be pulled at installation time.

charlesthomas commented 10 years ago

This happened to someone else, too (see #12). I suspect that there's something funny going on with sphinx (maybe it was missing or broken or something at the time you tried to install magpie?).

Try pip install sphinx.

I'm going to close this for now. If the above doesn't fix the problem, please reply in #12.

DevonVille commented 10 years ago

I'm not sure what caused to problem, but it seems to have gone away. Maybe it was the fact that I tried to run magpie from a bare bone ubuntu virtual machine (?! unlikely...). But meh.

charlesthomas commented 10 years ago

I suspect it was the same issue as #12. Version 0.1.0 removed the Sphinx requirement, because it was only needed to generate the documentation.