Open sddhrthrt opened 7 years ago
I have the same problem:
$ python3 ./setup.py install --user
running install
running bdist_egg
running egg_info
writing Greg.egg-info/PKG-INFO
writing top-level names to Greg.egg-info/top_level.txt
writing entry points to Greg.egg-info/entry_points.txt
writing requirements to Greg.egg-info/requires.txt
writing dependency_links to Greg.egg-info/dependency_links.txt
package init file 'greg/__init__.py' not found (or not a regular file)
reading manifest file 'Greg.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'Greg.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/greg
copying build/lib/greg/classes.py -> build/bdist.linux-x86_64/egg/greg
copying build/lib/greg/aux_functions.py -> build/bdist.linux-x86_64/egg/greg
copying build/lib/greg/parser.py -> build/bdist.linux-x86_64/egg/greg
copying build/lib/greg/commands.py -> build/bdist.linux-x86_64/egg/greg
creating build/bdist.linux-x86_64/egg/greg/data
copying build/lib/greg/data/greg.conf -> build/bdist.linux-x86_64/egg/greg/data
byte-compiling build/bdist.linux-x86_64/egg/greg/classes.py to classes.cpython-34.pyc
byte-compiling build/bdist.linux-x86_64/egg/greg/aux_functions.py to aux_functions.cpython-34.pyc
byte-compiling build/bdist.linux-x86_64/egg/greg/parser.py to parser.cpython-34.pyc
byte-compiling build/bdist.linux-x86_64/egg/greg/commands.py to commands.cpython-34.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying Greg.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying Greg.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying Greg.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying Greg.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying Greg.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying Greg.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating 'dist/Greg-0.4.7-py3.4.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing Greg-0.4.7-py3.4.egg
Removing /home/user/.local/lib/python3.4/site-packages/Greg-0.4.7-py3.4.egg
Copying Greg-0.4.7-py3.4.egg to /home/user/.local/lib/python3.4/site-packages
Greg 0.4.7 is already the active version in easy-install.pth
Installing greg script to /home/user/.local/bin
Installed /home/user/.local/lib/python3.4/site-packages/Greg-0.4.7-py3.4.egg
Processing dependencies for Greg==0.4.7
Searching for feedparser==5.2.1
Best match: feedparser 5.2.1
Processing feedparser-5.2.1-py3.4.egg
feedparser 5.2.1 is already the active version in easy-install.pth
Using /usr/local/lib/python3.4/dist-packages/feedparser-5.2.1-py3.4.egg
Finished processing dependencies for Greg==0.4.7
$ greg
Traceback (most recent call last):
File "/home/user/.local/bin/greg", line 9, in <module>
load_entry_point('Greg==0.4.7', 'console_scripts', 'greg')()
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 351, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2363, in load_entry_point
return ep.load()
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2088, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
ImportError: No module named 'greg'
Just to make sure, if you install it via pip: pip install git+file:///path/to/greg
, does it work?
Let me give that a try.
On Fri, 27 Jan 2017 at 19:42 manolomartinez notifications@github.com wrote:
Just to make sure, if you install it via pip: pip install git+file:///path/to/greg, does it work?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/manolomartinez/greg/issues/68#issuecomment-275673805, or mute the thread https://github.com/notifications/unsubscribe-auth/ABgkGl4wjffqUGgCs5mpwrp0J0LERpAkks5rWfthgaJpZM4K73Ts .
I'm trying to install using your
setup.py
script, but I'm not able toimport greg
after installing it. (im inside a virtualenv, I havestagger
installed)Here's my console output:
And now, if I try running greg:
I cant import greg from a python terminal too.
I'm using python3.