-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: cannot import name 'python_2_unicode_compatible' from 'django.utils.encoding' #8
Comments
@admvateam have you tried using virtual environment? Try out the following: Anon-Exploiter/SiteBroker#4 (comment) In |
Hello Anon-Exploiter, This is the complete error _root@kali2:~/Nessus_Map# python3 manage.py runserver Exception in thread django-main-thread: |
Hey @admvateam , I completely understand the error. Have you tried the solution I provided above? Using virtualenv? It works perfectly fine with that. Also, this is not a bug in the script, its an issue on your side. Please don't create issues for such things, and google before filing an issue. Here's a screenshot showing vanilla installation with a virtual environment created on an AWS instance. |
File "/root/Nessus_Map/Nessus_Map/urls.py", line 6, in
from . import views
File "/root/Nessus_Map/Nessus_Map/views.py", line 3, in
from filebrowser.base import FileListing
File "/usr/local/lib/python3.7/dist-packages/filebrowser/base.py", line 11, in
from django.utils.encoding import python_2_unicode_compatible, force_text
ImportError: cannot import name 'python_2_unicode_compatible' from 'django.utils.encoding' (/usr/local/lib/python3.7/dist-packages/django/utils/encoding.py)
Hello,
I've install "pip3 install django-filebrowser==3.11.1" and them get this error
The text was updated successfully, but these errors were encountered: