mirror of
https://github.com/jeffknupp/sandman2.git
synced 2026-04-25 08:35:49 +03:00
[GH-ISSUE #1] Unable to run sandman2ctl #1
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
pull-request
question
refactoring
research
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/sandman2-jeffknupp#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @diassynthesis on GitHub (Oct 25, 2014).
Original GitHub issue: https://github.com/jeffknupp/sandman2/issues/1
Getting the following error:
@ubuntu:~$ sandman2ctl
Traceback (most recent call last):
File "/usr/local/bin/sandman2ctl", line 9, in
load_entry_point('sandman2==0.0.3', 'console_scripts', 'sandman2ctl')()
File "/usr/local/lib/python2.7/dist-packages/setuptools-1.1-py2.7.egg/pkg_resources.py", line 357, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/local/lib/python2.7/dist-packages/setuptools-1.1-py2.7.egg/pkg_resources.py", line 2394, in load_entry_point
return ep.load()
File "/usr/local/lib/python2.7/dist-packages/setuptools-1.1-py2.7.egg/pkg_resources.py", line 2108, in load
entry = import(self.module_name, globals(),globals(), ['name'])
ImportError: No module named sandman2ctl
Here after the "sandman2ctl" installed script:
!/usr/bin/python
EASY-INSTALL-ENTRY-SCRIPT: 'sandman2==0.0.3','console_scripts','sandman2ctl'
requires = 'sandman2==0.0.3'
import sys
from pkg_resources import load_entry_point
if name == 'main':
sys.exit(
load_entry_point('sandman2==0.0.3', 'console_scripts', 'sandman2ctl')()
)
Best regards.
@diassynthesis commented on GitHub (Dec 3, 2014):
It's due to an old version of setuptools. after upgrading setuptools , All is OK