خرید بک لینک

Vote count: 0

I am unable to run the server in my virtual environment since i encounter the following error after ruing an upgrade from Ubuntu 15 to Ubuntu 16.

The following block of codes details how the error occurs. I had previously encountered an error that informed to consider setting PYTHONHOME so i did that and the error changed to whats shown below. No idea what to do next to fix this. Every bit of help is very much appreciated. thanks.

(whoopenv) root@selase-K55A:~/whoopy# python manage.py runserver
Fatal Python error: Py_Initialize: Unable to get the locale encoding
    ImportError: No module named 'encodings'

Current thread 0x00007f0cceaba700 (most recent call first):
Aborted (core dumped)
(whoopenv) root@selase-K55A:~/whoopy# which python
/home/selase/whoopy/whoopenv/bin/python
(whoopenv) root@selase-K55A:~/whoopy# python --version
Python 3.4.3+
(whoopenv) root@selase-K55A:~/whoopy# echo "$PYTHONPATH"
/usr/local/lib/python3.4
(whoopenv) root@selase-K55A:~/whoopy# echo "PYTHONHOME"
PYTHONHOME
(whoopenv) root@selase-K55A:~/whoopy# whereis python3
python3: /usr/bin/python3.5m /usr/bin/python3.5-config /usr/bin/python3.5 /usr/bin/python3.5m-config /usr/bin/python3 /usr/lib/python3.5 /usr/lib/python3 /etc/python3.4 /etc/python3.5 /etc/python3 /usr/local/lib/python3.4 /usr/local/lib/python3.5 /usr/include/python3.5m /usr/include/python3.5 /usr/share/python3 /home/selase/whoopy/whoopenv/bin/python3.4 /home/selase/whoopy/whoopenv/bin/python3 /usr/share/man/man1/python3.1.gz

asked 47 secs ago

برچسب: نویسنده: استخدام کار تاريخ: يکشنبه 2 خرداد 1395 ساعت: 17:20

صفحه بندی