Right. I found out that when I deploy in python 3.10 environment, things
seem
to work, but under python 3.11, the virtualenv where the packages should
have
been installed is empty.
--
Petr

On Sat, Mar 25, 2023 at 7:53 PM Petr Blahoš <[email protected]> wrote:

> Hi,
> Is there by any chance somebody who has been able to deploy a pyramid
> app on Azure App Services?
> I have been trying to deploy from Local Git. I have got my
> requirements.txt,
> I have got a working setup.py in my app package. All seems to build well,
> the system says it has successfully deployed the application, installed
> all deps, and seems to be satisfied. I have got a wsgi.py file, which is
> pretty much this:
>
> from pyramid.paster import get_app
> app = get_app("azure.ini")
>
> But when I try to access the website, it says it cannot import pyramid,
> from pyramid.paster import get_app
> fails.
> Now, pyramid definitely is one of the installed packages. I tried to do
> some digging and it looks like there is a virtualenv, which is not
> activated.
> I have absolutely no idea what to do.
>
> If you have had luck with pyramid on azure, could you give me some
> leads?
>
> Thanks,
> Petr
> --
> https://blahos.com/
> https://traceability.cz/
>
>

-- 
https://blahos.com/
https://traceability.cz/

-- 
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/CA%2ByMeXVWD6bW_p%2BOKK13seSgZW38jUjytXVdBhoTYiq9Ddejtw%40mail.gmail.com.

Reply via email to