Hi All,
Good morning
I am trying to explore Pyramid, very much new to Pyramid, have done basic python programming , world of web framework in new to me.
I have read the docs, started step by step. Created project using “cookiecutter”, also tried out quick tutorials on how to create the simple pyramid application. Read about “views”. Did the configuration setting for PostgreSQL using setup.py(import psycopg2) and development.ini (sqlalchemy.url = postgresql://itsupport:a@localhost:5432/dvdrental), after doing the changes I did “env/bin/pytest -q” and was able to start the webframework. Good so far, next level of learning I had faced issues, posting the details
I am trying to go to next level, On command line already I have created a sample program which reads a data from the PostgreSQL, and display. This works fine on command line. Now I added this program “directory” to the view directory, and then when I run the “env/bin/pytest -q” I am faciing this messages
> from myconfig import config
E ModuleNotFoundError: No module named 'myconfig'
dvd_scaffold/views/dvdrental/toplistrented.py:5: ModuleNotFoundError
Advice and guidance requested on how to solve it. Any URL pointing to the particular issues documentation would be great
I am using the Ubuntu 18.04 as OS , and python 3.6.8
Thanks
Joseph John