(Enthought Support here) The Paste
package is not part of the official Canopy repo, but rather the unsupported "Community", and so some dependency issues may arise when installing from these packages. Using the following steps, I was able to get the Paste
package installed and even ran a few tests:
- From the Canopy Command Prompt, run
pip install python_openid
(note there is no -U and the module uses an underscore, not a dash as in your screenshot from StackOverflow). - After it installs, use the command line utility enpkg to force an install of paste without resolving dependencies. From the Canopy Command Prompt:
enpkg --no-deps Paste
Then you can test it out...
Within IPython (either from the command line or Canopy Python pane), try this simple program found in their docs:
def app(environ, start_response):
start_response('200 OK', [('content-type', 'text/html')])
return ['Hello world!']
if __name__ == '__main__':
from paste import httpserver
httpserver.serve(app, host='127.0.0.1', port='8080')
Hope this helps.