question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable build following installation instructuins

See original GitHub issue

(zinnie) C:\Users\Dagon\zinnie>manage.py check Traceback (most recent call last): File “C:\Users\Dagon\zinnie\manage.py”, line 21, in <module> main() File “C:\Users\Dagon\zinnie\manage.py”, line 17, in main execute_from_command_line(sys.argv) File “C:\Users\Dagon\PycharmProjects\zinnie\lib\site-packages\django\core\management_init_.py”, line 401, in execute_from_co mmand_line utility.execute() File “C:\Users\Dagon\PycharmProjects\zinnie\lib\site-packages\django\core\management_init_.py”, line 377, in execute django.setup() File “C:\Users\Dagon\PycharmProjects\zinnie\lib\site-packages\django_init_.py”, line 24, in setup apps.populate(settings.INSTALLED_APPS) File “C:\Users\Dagon\PycharmProjects\zinnie\lib\site-packages\django\apps\registry.py”, line 114, in populate app_config.import_models() File “C:\Users\Dagon\PycharmProjects\zinnie\lib\site-packages\django\apps\config.py”, line 211, in import_models self.models_module = import_module(models_module_name) File “C:\Users\Dagon\AppData\Local\Programs\Python\Python38\lib\importlib_init_.py”, line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File “<frozen importlib._bootstrap>”, line 1014, in _gcd_import File “<frozen importlib._bootstrap>”, line 991, in _find_and_load File “<frozen importlib._bootstrap>”, line 975, in _find_and_load_unlocked File “<frozen importlib._bootstrap>”, line 671, in _load_unlocked File “<frozen importlib._bootstrap_external>”, line 783, in exec_module File “<frozen importlib._bootstrap>”, line 219, in call_with_frames_removed File "C:\Users\Dagon\PycharmProjects\zinnie\lib\site-packages\zinnia\models_init.py", line 2, in <module> from zinnia.models.author import Author File “C:\Users\Dagon\PycharmProjects\zinnie\lib\site-packages\zinnia\models\author.py”, line 6, in <module> from django.utils.encoding import python_2_unicode_compatible ImportError: cannot import name ‘python_2_unicode_compatible’ from ‘django.utils.encoding’ (C:\Users\Dagon\PycharmProjects\zinnie \lib\site-packages\django\utils\encoding.py)

settings

Actual behavior

Expected behavior

Steps to reproduce the issue

Specifications

  • Zinnia version:
  • Django version:
  • Python version:
  • Operating system:

Disclaimer

Before submitting an issue make sure you have:

  • Read the guidelines for contributing.
  • Checked for duplicate issues.
  • Not a support request.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
RduMaraiscommented, May 9, 2020

Same here, Got it to work! let me add a bit more information :

  • Django version : 3.0.6
  • Zinnia version : django-blog-zinnia-0.20
  • Python 3.7.6
  • OS : MacOS

By going throungh the commits, I found the commit cb8283c that removes the cause of the error we have.

By installing the dev branch using pip install git+https://github.com/Fantomas42/django-blog-zinnia.git it worked

0reactions
elarrobacommented, Jan 7, 2022

@barneydesmond @Jonas-089 @RduMarais

I just created a fork of this project and updated the code to work with modern versions of Django (including 4.0+).

Please visit https://github.com/arrobalytics/django-blog-zinnia if you want to contribute. Don’t forget to star the project to show your support.

Visit the new site https://www.djangoblogzinnia.com for documentation, demo and other resources.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android Studio unable to build any projects in SDK...
After spending probably 8 hours trying to install and configure Android Studio I have come to the conclusion that either the SDK or ......
Read more >
installation instructions for v4 cause build fail with RN 0.68.0
Expected behavior. Installation instructions allow the app to build and run without error.
Read more >
Unable to install Visual C++ build tools - Microsoft Q&A
I tried to install the Microsoft Visual C++ Build tools. The installer (filename is visualcppbuildtools_full.exe) stops right after the start ...
Read more >
Create a bootable installer for macOS - Apple Support
Select Install macOS (or Install OS X) from the Utilities window, then click Continue and follow the onscreen instructions. Learn more. For ...
Read more >
Setting up Visual Studio Code
Follow the platform-specific guides below: ... to try our nightly builds to see new features early or verify bug fixes, you can install...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found