uhnomoli / mynt

A static site generator.
https://mynt.uhnomoli.com/
Other
363 stars 61 forks source link

mynt is not installed successfully? #52

Closed luckypoem closed 10 years ago

luckypoem commented 10 years ago

hi. i use "pip install mynt" to install mynt,but when i run "mynt -v",it shows errors. how to fix the issue?

pls see below:

as3:~# pip install mynt Downloading/unpacking mynt Downloading mynt-0.2.3.tar.gz (128Kb): 128Kb downloaded Running setup.py egg_info for package mynt Requirement already satisfied (use --upgrade to upgrade): houdini.py in /usr/local/lib/python2.6/dist-packages (from mynt) Downloading/unpacking Jinja2==2.7 (from mynt) Downloading Jinja2-2.7.tar.gz (377Kb): 377Kb downloaded Running setup.py egginfo for package Jinja2 warning: no files found matching '' under directory 'customfixers' 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' Requirement already satisfied (use --upgrade to upgrade): misaka>=1.0.2 in /usr/local/lib/python2.6/dist-packages (from mynt) Requirement already satisfied (use --upgrade to upgrade): Pygments in /usr/local/lib/python2.6/dist-packages (from mynt) Requirement already satisfied (use --upgrade to upgrade): PyYAML in /usr/local/lib/python2.6/dist-packages/PyYAML-3.10-py2.6-linux-i686.egg (from mynt) Requirement already satisfied (use --upgrade to upgrade): watchdog in /usr/local/lib/python2.6/dist-packages/watchdog-0.6.0-py2.6.egg (from mynt) Requirement already satisfied (use --upgrade to upgrade): markupsafe in /usr/local/lib/python2.6/dist-packages (from Jinja2==2.7->mynt) Requirement already satisfied (use --upgrade to upgrade): argh>=0.8.1 in /usr/local/lib/python2.6/dist-packages/argh-0.23.3-py2.6.egg (from watchdog->mynt) Requirement already satisfied (use --upgrade to upgrade): pathtools in /usr/local/lib/python2.6/dist-packages/pathtools-0.1.2-py2.6.egg (from watchdog->mynt) Requirement already satisfied (use --upgrade to upgrade): argparse>=1.1 in /usr/local/lib/python2.6/dist-packages (from watchdog->mynt) Installing collected packages: mynt, Jinja2 Running setup.py install for mynt Installing mynt script to /usr/local/bin Found existing installation: Jinja2 2.7.1 Uninstalling Jinja2: Successfully uninstalled Jinja2 Running setup.py install for Jinja2 warning: no files found matching '' under directory 'customfixers' 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' Successfully installed mynt Jinja2 Cleaning up... as3:~# mynt -v Traceback (most recent call last): File "/usr/local/bin/mynt", line 9, in load_entry_point('mynt==0.2.3', 'console_scripts', 'mynt')() File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 305, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 2244, in load_entry_point return ep.load() File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1954, in load entry = import(self.module_name, globals(),globals(), ['name']) File "/usr/local/lib/python2.6/dist-packages/mynt/main.py", line 7, in from mynt.core import Mynt File "/usr/local/lib/python2.6/dist-packages/mynt/core.py", line 25, in from mynt.containers import Config, Page, Post File "/usr/local/lib/python2.6/dist-packages/mynt/containers.py", line 11, in from mynt.fs import File File "/usr/local/lib/python2.6/dist-packages/mynt/fs.py", line 16, in from mynt.utils import abspath, get_logger, normpath File "/usr/local/lib/python2.6/dist-packages/mynt/utils.py", line 5, in from collections import OrderedDict as _OrderedDict ImportError: cannot import name OrderedDict as3:~# mynt --version Traceback (most recent call last): File "/usr/local/bin/mynt", line 9, in load_entry_point('mynt==0.2.3', 'console_scripts', 'mynt')() File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 305, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 2244, in load_entry_point return ep.load() File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1954, in load entry = import(self.module_name, globals(),globals(), ['name']) File "/usr/local/lib/python2.6/dist-packages/mynt/main.py", line 7, in from mynt.core import Mynt File "/usr/local/lib/python2.6/dist-packages/mynt/core.py", line 25, in from mynt.containers import Config, Page, Post File "/usr/local/lib/python2.6/dist-packages/mynt/containers.py", line 11, in from mynt.fs import File File "/usr/local/lib/python2.6/dist-packages/mynt/fs.py", line 16, in from mynt.utils import abspath, get_logger, normpath File "/usr/local/lib/python2.6/dist-packages/mynt/utils.py", line 5, in from collections import OrderedDict as _OrderedDict ImportError: cannot import name OrderedDict as3:~#

uhnomoli commented 10 years ago

mynt requires Python 2.7, it appears you're using 2.6.