Created
February 17, 2016 10:10
-
-
Save msikma/b8a6f947b73a95eb8272 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ vf deactivate | |
$ vf new kc | |
Using base prefix '/Library/Frameworks/Python.framework/Versions/3.5' | |
New python executable in /Users/msikma/.virtualenvs/kc/bin/python3.5 | |
Not overwriting existing python script /Users/msikma/.virtualenvs/kc/bin/python (you must use /Users/msikma/.virtualenvs/kc/bin/python3.5) | |
Installing setuptools, pip, wheel...done. | |
$ ./setup.py develop | |
running develop | |
running egg_info | |
writing top-level names to kanaconv.egg-info/top_level.txt | |
writing dependency_links to kanaconv.egg-info/dependency_links.txt | |
writing kanaconv.egg-info/PKG-INFO | |
writing entry points to kanaconv.egg-info/entry_points.txt | |
reading manifest file 'kanaconv.egg-info/SOURCES.txt' | |
writing manifest file 'kanaconv.egg-info/SOURCES.txt' | |
running build_ext | |
Creating /Users/msikma/.virtualenvs/kc/lib/python3.5/site-packages/kanaconv.egg-link (link to .) | |
kanaconv 1.0.0 is already the active version in easy-install.pth | |
Installing kanaconv.py script to /Users/msikma/.virtualenvs/kc/bin | |
Installed /Users/msikma/Projects/kanaconv | |
Processing dependencies for kanaconv==1.0.0 | |
Finished processing dependencies for kanaconv==1.0.0 | |
$ kanaconv.py --help | |
Traceback (most recent call last): | |
File "/Users/msikma/.virtualenvs/kc/bin/kanaconv.py", line 9, in <module> | |
load_entry_point('kanaconv', 'console_scripts', 'kanaconv.py')() | |
File "/Users/msikma/.virtualenvs/kc/lib/python3.5/site-packages/pkg_resources/__init__.py", line 547, in load_entry_point | |
return get_distribution(dist).load_entry_point(group, name) | |
File "/Users/msikma/.virtualenvs/kc/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2719, in load_entry_point | |
return ep.load() | |
File "/Users/msikma/.virtualenvs/kc/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2379, in load | |
return self.resolve() | |
File "/Users/msikma/.virtualenvs/kc/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2385, in resolve | |
module = __import__(self.module_name, fromlist=['__name__'], level=0) | |
ImportError: No module named 'kanaconv.cli'; 'kanaconv' is not a package | |
$ python | |
Python 3.5.1 (v3.5.1:37a07cee5969, Dec 5 2015, 21:12:44) | |
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> from kanaconv.cli.kanaconv import main | |
>>> main() | |
usage: [-h] [-V] str | |
: error: the following arguments are required: str | |
$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Code: https://github.com/msikma/kanaconv - has no dependencies.