Yes, plaster and plaster_pastedeploy are installed in the virtual environment. I have checked it through pip list | grep plaster and the installed packaged in PyCharm: both of them show plaster and plaster_pastedeploy are installed.
Thanks. On Friday, September 10, 2021 at 1:16:19 AM UTC+12 [email protected] wrote: > Do you have plaster_pastedeploy installed? > > - Michael > > On Sep 9, 2021, at 02:28, Simon <[email protected]> wrote: > > > > Hi there, > > I got an error about 'could not find a matching loader for the scheme' > when I want to run my Pyramid web app in PyCharm based on Pyramid server. > However, if I directly run pserve myapp.ini in terminal, it can launch my > web app locally. I have edit the configuration in PyCharm: the config file > is pointed to myapp.ini and the Python interpreter is pointed to python in > the virtual environment. > > Traceback (most recent call last): > File > "/Applications/PyCharm.app/Contents/plugins/python/helpers/pycharm/pycharm_load_entry_point.py", > > line 12, in <module> > sys.exit(f()) > File > "/Users/simon/Documents/venv/lib/python3.6/site-packages/pyramid/scripts/pserve.py", > > line 34, in main > return command.run() > File > "/Users/simon/Documents/venv/lib/python3.6/site-packages/pyramid/scripts/pserve.py", > > line 193, in run > loader = self._get_config_loader(config_uri) > File > "/Users/simon/Documents/venv/lib/python3.6/site-packages/pyramid/scripts/common.py", > > line 23, in get_config_loader > return plaster.get_loader(config_uri, protocols=['wsgi']) > File > "/Users/simon/Documents/venv/lib/python3.6/site-packages/plaster/loaders.py", > line 109, in get_loader > raise LoaderNotFound(requested_scheme, protocols=protocols) > plaster.exceptions.LoaderNotFound: Could not find a matching loader for > the scheme "file+ini ", protocol "wsgi". > > Process finished with exit code 1 > > > Though I go to the official website about plaster and WSGI, I still cannot > figure it out. \ > > Do anyone have any suggestion or have any similar problem when configuring > Pyramid web app in PyCharm? > > Thanks. > > -- > > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/pylons-discuss/d2974f67-3b15-4dbc-9ed5-f9bac8be7046n%40googlegroups.com > > <https://groups.google.com/d/msgid/pylons-discuss/d2974f67-3b15-4dbc-9ed5-f9bac8be7046n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/c939fd3d-f136-4ab8-bf8c-c0b211de28bbn%40googlegroups.com.
