Remove netatalk 3.1.11 ubuntu4/12/2023 \\įirst Time? Check your email/spam for login instructions from us. resp = f"Hi, you'll need to login to send any more suggestions. File "", line 222, in _call_with_frames_removed ![]() File "", line 958, in _find_and_load_unlocked return _bootstrap._gcd_import(name, package, level) File "/usr/lib/python3.5/importlib/_init_.py", line 126, in import_module import_module('%s.%s' % (app_config.name, module_to_search)) File "/home/jamin/line 50, in autodiscover_modules autodiscover_modules('admin', register_to=site) File "/home/jamin/line 26, in autodiscover The following steps show the recommended approach for running the uninstall tool: Step 1 - Display installed. File "/home/jamin/line 13, in get_wsgi_application mod_wsgi (pid=12963): Exception occurred processing WSGI script '/home/jamin/ Traceback (most recent call last): mod_wsgi (pid=12963): Target WSGI script '/home/jamin/cannot be loaded as Python module. AH00094: Command line: '/usr/sbin/apache2' AH00489: Apache/2.4.18 (Ubuntu) mod_wsgi/4.3.0 Python/3.5.2 configured - resuming normal operations Here is my Apache Error Log (cleaned a bit) - and yes I know it fails on the f"" string line (python 3.6 feature not in 3.5) mod_wsgi: Compiled for Python/3.5.1 . I must be doing something wrong - please correct me! configure -with-python=/usr/local/bin/python3.6 and make with make install to install mod_wsgi for Python 3.6 I used: sudo apt-get install libapache2-mod-wsgi-p圓 to install mod_wsgi for Apache 2.4 I am using a Python 3.6.1 virtual environment with Django 1.11 and Everything is working according to the Apache error log except that mod_wsgi for Apache 2.4 was compiled for Python/3.5.1 and is using Python/3.5.2 so my Python 3.6.1 code is failing because I'm using new features not available in 3.5.2Īll of the other configurations and installs involved in setting my system up seem to be fine (Running in daemon mode) though mod_wsgi doesn't seem to be using my Python 3.6.1 virtual environment (though it is trying to use it for Django according to the error log). How do I get mod_wsgi for Apache2 that was compiled for Python 3.6.1?
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |