Comments (4)
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.
Duplicate of #192
from django-pyodbc-azure.
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.
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)
- SQL Server Parameter Limitation HOT 1
- pyodbc.ProgrammingError: Attempt to use a closed connection.
- problem during install on centos HOT 2
- AutoField at migration HOT 3
- with transaction.atomic() not working for Azure SQL Database HOT 2
- SQL Server v15 is not supported. HOT 10
- Django 3 HOT 2
- AttributeError: module 'django.db.models' has no attribute 'UniqueConstraint'
- Incorrect driver → Data source name not found and no default driver specified HOT 1
- Getting current connection string
- Performance killer: SQL query using nvarchar instead of char
- python manage.py migrate throws error for legacy MicrosoftSQL server database having tables in different schemas HOT 1
- django.db.migrations.exceptions.MigrationSchemaMissing: Unable to create the django_migrations table (('42000', '[42000] [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]The specified schema name "dbo" either does not exist or you do not have permission to use it. (2760) (SQLExecDirectW)')) HOT 5
- Integrated Authentication using computer name instead of remote user
- Django dependencies supported with Django 3.0.9 HOT 1
- Access model with other schema
- Why is the mars option unconditionally True in Windows?
- Microsoft now has an official 3rd Party Backend to use SQL Server with Django
- Issue with django, django rest, and django-pyodbc-azure versions HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-pyodbc-azure.