Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
ImportError: No module named [projectname]
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jamal Burgess  
View profile  
 More options Jul 24 2012, 8:09 pm
From: Jamal Burgess <jburges...@gmail.com>
Date: Tue, 24 Jul 2012 17:09:14 -0700 (PDT)
Local: Tues, Jul 24 2012 8:09 pm
Subject: ImportError: No module named [projectname]

Has anyone gotten this sort of an import error with a new pyramid project
created with a scaffold?  I've tried both pyramid_mongodb as well as
alchemy scaffolds.

this is what i'm getting.
....
Using /Users/kingdom/virt_env/virt_gum/lib/python2.7/site-packages
Searching for MarkupSafe==0.15
Best match: MarkupSafe 0.15
Adding MarkupSafe 0.15 to easy-install.pth file

Using /Users/kingdom/virt_env/virt_gum/lib/python2.7/site-packages
Finished processing dependencies for poppyseed==0.0
(virt_gum)~VIRTUAL_ENV ❯ bin/pserve poppyseed/development.ini --reload
Starting subprocess with file monitor
Traceback (most recent call last):
  File "bin/pserve", line 9, in <module>
    load_entry_point('pyramid==1.3.2', 'console_scripts', 'pserve')()
  File
"/Users/kingdom/virt_env/virt_gum/lib/python2.7/site-packages/pyramid/scrip ts/pserve.py",
line 47, in main
    return command.run()
  File
"/Users/kingdom/virt_env/virt_gum/lib/python2.7/site-packages/pyramid/scrip ts/pserve.py",
line 290, in run
    relative_to=base, global_conf=vars)
  File
"/Users/kingdom/virt_env/virt_gum/lib/python2.7/site-packages/pyramid/scrip ts/pserve.py",
line 318, in loadapp
    return loadapp(app_spec, name=name, relative_to=relative_to, **kw)
  File
"/Users/kingdom/virt_env/virt_gum/lib/python2.7/site-packages/paste/deploy/ loadwsgi.py",
line 247, in loadapp
    return loadobj(APP, uri, name=name, **kw)
  File
"/Users/kingdom/virt_env/virt_gum/lib/python2.7/site-packages/paste/deploy/ loadwsgi.py",
line 271, in loadobj
    global_conf=global_conf)
  File
"/Users/kingdom/virt_env/virt_gum/lib/python2.7/site-packages/paste/deploy/ loadwsgi.py",
line 296, in loadcontext
    global_conf=global_conf)
  File
"/Users/kingdom/virt_env/virt_gum/lib/python2.7/site-packages/paste/deploy/ loadwsgi.py",
line 320, in _loadconfig
    return loader.get_context(object_type, name, global_conf)
  File
"/Users/kingdom/virt_env/virt_gum/lib/python2.7/site-packages/paste/deploy/ loadwsgi.py",
line 454, in get_context
    section)
  File
"/Users/kingdom/virt_env/virt_gum/lib/python2.7/site-packages/paste/deploy/ loadwsgi.py",
line 476, in _context_from_use
    object_type, name=use, global_conf=global_conf)
  File
"/Users/kingdom/virt_env/virt_gum/lib/python2.7/site-packages/paste/deploy/ loadwsgi.py",
line 406, in get_context
    global_conf=global_conf)
  File
"/Users/kingdom/virt_env/virt_gum/lib/python2.7/site-packages/paste/deploy/ loadwsgi.py",
line 296, in loadcontext
    global_conf=global_conf)
  File
"/Users/kingdom/virt_env/virt_gum/lib/python2.7/site-packages/paste/deploy/ loadwsgi.py",
line 328, in _loadegg
    return loader.get_context(object_type, name, global_conf)
  File
"/Users/kingdom/virt_env/virt_gum/lib/python2.7/site-packages/paste/deploy/ loadwsgi.py",
line 620, in get_context
    object_type, name=name)
  File
"/Users/kingdom/virt_env/virt_gum/lib/python2.7/site-packages/paste/deploy/ loadwsgi.py",
line 646, in find_egg_entry_point
    possible.append((entry.load(), protocol, entry.name))
  File
"/Users/kingdom/virt_env/virt_gum/lib/python2.7/site-packages/distribute-0. 6.15-py2.7.egg/pkg_resources.py",
line 1954, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
ImportError: No module named poppyseed


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris McDonough  
View profile  
 More options Jul 28 2012, 11:12 pm
From: Chris McDonough <chr...@plope.com>
Date: Sat, 28 Jul 2012 23:12:59 -0400
Local: Sat, Jul 28 2012 11:12 pm
Subject: Re: ImportError: No module named [projectname]
On 07/24/2012 08:09 PM, Jamal Burgess wrote:

> Has anyone gotten this sort of an import error with a new pyramid
> project created with a scaffold?  I've tried both pyramid_mongodb as
> well as alchemy scaffolds.

> this is what i'm getting.

... snip ....

> "/Users/kingdom/virt_env/virt_gum/lib/python2.7/site-packages/distribute-0. 6.15-py2.7.egg/pkg_resources.py",
> line 1954, in load
>      entry = __import__(self.module_name, globals(),globals(), ['__name__'])
> ImportError: No module named poppyseed

You didn't run setup.py develop, or at least you're not using the same
Python interpreter to run pserve as you installed your project into.

- C


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »