Giter Club home page Giter Club logo

Comments (4)

wusonghao avatar wusonghao commented on June 29, 2024 1

Hi I am facing a same issue. When I try to install django-pyodbc-azure it tends to downgrade django to lower version 1.11.x which makes my application not workable. Is this meta.yaml constraint a mistake? I thought the first two number should match so 2.1.0.0 should support Django 2.1.x Thanks!

from django-pyodbc-azure.

nschonni avatar nschonni commented on June 29, 2024

Duplicate of #192

from django-pyodbc-azure.

Pineleaf avatar Pineleaf commented on June 29, 2024

Really? That thread is about 2.2 if you try this package with 2.1 it tries to downgrade your django and doesnt if you use pip

from django-pyodbc-azure.

FlipperPA avatar FlipperPA commented on June 29, 2024

A few things may be happening on this issue. I don't see a meta.yaml anywhere in the repository. Looks like a problem with conda-build, not this package.

If you're being downgraded to Django 1.11, it is likely that the Django install is being done on Python 2.x instead of Python 3.x. Django 1.11 was the last version to support Python 2.x. Check and make sure your venv is using Python 3.5 or higher (preferably 3.6 or higher!).

Can people having problems include all the command that are being run? If you install via pip in a fresh venv, you should be good:

$ python3 -m venv myvenv
$ . myvenv/bin/activate
$ pip install django-pyodbc-azure
Collecting django-pyodbc-azure
  Using cached https://files.pythonhosted.org/packages/18/ab/133c68bbea94839d8f3b8b4aea4f70e1c6b8ac929aba4adbadc458566a76/django_pyodbc_azure-2.1.0.0-py3-none-any.whl
Collecting Django<2.2,>=2.1.0 (from django-pyodbc-azure)
  Using cached https://files.pythonhosted.org/packages/a9/e4/fb8f473fe8ee659859cb712e25222243bbd55ece7c319301eeb60ccddc46/Django-2.1.8-py3-none-any.whl
Collecting pyodbc>=3.0 (from django-pyodbc-azure)
Collecting pytz (from Django<2.2,>=2.1.0->django-pyodbc-azure)
  Using cached https://files.pythonhosted.org/packages/3d/73/fe30c2daaaa0713420d0382b16fbb761409f532c56bdcc514bf7b6262bb6/pytz-2019.1-py2.py3-none-any.whl
Installing collected packages: pytz, Django, pyodbc, django-pyodbc-azure
Successfully installed **Django-2.1.8 django-pyodbc-azure-2.1.0.0** pyodbc-4.0.26 pytz-2019.1

from django-pyodbc-azure.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.