On 26/03/2020 2:29 pm, Hella Nick wrote:
你的服务器是安装的python3.8.2的版本吗?

Fateh Budwal <[email protected] <mailto:[email protected]>> 于2020年3月26日周四 上午6:03写道:

    Hello Everyone
     I have complied python 3.8.2 with django 2.2.


https://docs.djangoproject.com/en/3.0/faq/install/#faq-python-version-support

That page says Python 3.8 support was added in Django 2.2.8 but you don't mention which Django is installed in production.

    it run locally fine but when i try to deploy it with Apache and
    mod_wsgi 4.7.1 and getting the below error. Any suggestions ?

    |Currentthread 0x00007f5aa48af880(most recent call first):no
    Pythonframe Pythonpath configuration:PYTHONHOME
    =(notset)PYTHONPATH =(notset)program name
    =/var/www/project/venu/bin/python isolated =0environment =1user
    site =1importsite =1sys._base_executable
    =/var/www/project/venu/bin/python sys.base_prefix
    ='/opt/python3.8.2'sys.base_exec_prefix
    ='/opt/python3.8.2'sys.executable
    ='/var/www/project/venu/bin/python sys.prefix = '/opt/python3.8.2'
    sys.exec_prefix = '/opt/python3.8.2' sys.path = [
    '/opt/python3.8.2/lib/python38.zip',
    '/opt/python3.8.2/lib/python3.8',
    '/opt/python3.8.2/lib/lib-dynload', ] Fatal Python error:
    init_fs_encoding: failed to get the Python codec of the filesystem
    encoding Python runtime state: core initialized
    ModuleNotFoundError: No module named encodings Current thread
    (most recent call first)|

-- You received this message because you are subscribed to the Google
    Groups "Django users" group.
    To unsubscribe from this group and stop receiving emails from it,
    send an email to [email protected]
    <mailto:[email protected]>.
    To view this discussion on the web visit
    
https://groups.google.com/d/msgid/django-users/CAOts0r0qLZLyaFczsQvdKNm45uhhRFYZPwo3uTfMK9Jmy%2B1oNQ%40mail.gmail.com
    
<https://groups.google.com/d/msgid/django-users/CAOts0r0qLZLyaFczsQvdKNm45uhhRFYZPwo3uTfMK9Jmy%2B1oNQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAHfGPEeGWB6kdVc65d6s53M-M0KnGS0Er_PFE-pz3tSZco_cGg%40mail.gmail.com <https://groups.google.com/d/msgid/django-users/CAHfGPEeGWB6kdVc65d6s53M-M0KnGS0Er_PFE-pz3tSZco_cGg%40mail.gmail.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups "Django 
users" 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/django-users/3e83ae41-7da3-d986-65a0-a4b9f90478e6%40dewhirst.com.au.

Reply via email to