PIP Install pyodbc Could not find a version - python

I am installing pyodbc using pip but system reply could not found a version.
I believe pyodbc still exist from pypi.python.org.
Please see the pic I attached for error.
I have pip 9.0.1 version and python 3.5 installed
Also, with the help menu, I don't see --allow-external and --allow-unverified available.

Try installing it from URL directly:
pip install https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/pyodbc/pyodbc-3.0.7.zip
Latest version: https://pypi.python.org/pypi/pyodbc/4.0.15
Download the .whl file install using pip

Related

Failed to install package python-ldap

I am installing package for odoo15 on windows 11, when i install python-ldap package 3.4.0, I am getting an error and I tried to upgrade pip to the latest version but I can't install it. Can anyone help me install ?
I tried very hard but I can't install ldap package on windows 11
As per python-ldap documentation, there is Unofficial package for Windows are available on Christoph Gohlke’s page.
You can download .whl package file for your python version and then install it as below:
pip install path_to_downloaded_whl/file_name.whl

Trouble to download chatterbot library

I have 3.9 python and I want to download chatterbot library so I did 'pip install chatterbot' but I'm having this error. how can i fix it?
enter image description here
This error could be caused by several issues, if you don't need the newest version, the easiest thing to do is to install an older version. (Uninstall the previous version before downgrading)
pip install chatterbot==1.0.4
If this isn't possible you could try reinstalling pip using,
python -m pip install --upgrade --force-reinstall pip

Pip install does not fetch the latest version

I want to install the latest django-froala-editor version.
But pip install keeps installing the django-froala-editor version 2.0.1.
Steps to reproduce the problem.
(using virtualenvwrapper to ease the test)
mktmpenv
pip search froala
pip install django-froala-editor
The version 2.0.1 gets installed, even though the 2.3.2 is present on the pypi website and the pip search shows a 2.1.0 version.
OS.
OS X Yosemity 10.10.5,
pip version 8.1.2,
python 2.7
Install directly from git if you can't get the latest version from pypi:
pip install git+https://github.com/froala/django-froala-editor
This can be included in your requirements.txt as git+https://github.com/froala/django-froala-editor
Generally,
pip install git+{url to repo}

install Pyaudio - whl

I tried to install PyAudio on Windows 7 64bit.
Installing it with pip throws dependency errors which end up in the question how to satisfy those.
So i tried to install it with wheel, the suggestion was to just use pip install:
D:\Programming\Kivy>dir
...
27.03.2015 08:11 113.556 PyAudio.whl
D:\Programming\Kivy>pip install PyAudio.whl
Downloading/unpacking PyAudio.whl
Could not find any downloads that satisfy the requirement PyAudio.whl
No distributions at all found for PyAudio.whl
Storing complete log in C:\Users\WindowsPro\AppData\Roaming\pip\pip.log
Any suggestion how to install pyaudio?
What version of pip do you have? Show the output pip -V. It might be necessary to have a current pip version 6 to install the whl. If this is not the case do pip install --upgrade pip (it might be necessary to start the console with admin rights).
Did you download the library from http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyaudio? I just installed this version with pip and it works.
As an alternative you can download the installer exe from http://people.csail.mit.edu/hubert/pyaudio/#downloads and install it like a regular program.
If you cant donwload it by pip install pyaudio you can download it from here.
When you found PyAudio, find the version of your Python (ex. 3.7.2 32bit).
DOWNLOAD THE RIGHT VERSION. Once you found the .whl of your python version, download it. Install it by opening cmd, going to the folder that you save it and write pip install "pyaudio_whl_file.whl"
And that's it

easy_install latest version github

I'm using Python 2.7 on Windows.
My question relates to using and updating the twitter package (http://mike.verdone.ca/twitter/) - currently installed version 1.9.1
When Twitter gives a ratelimited response the twitter package gives an error httplib.IncompletedRead. This problem seems to have been addressed in the version of api.py on Github. But the downloaded egg file I have on my system doesn't have that latest version in.
When I try
easy_install --upgrade twitter
I get response:
Processing twitter-1.9.1-py2.7.egg
twitter 1.9.1 is already the active version in easy-install.pth
So how do I get an egg file onto my system that includes the latest api.py, so that I don't get the IncompleteRead error?
Thanks for any help
You can install directly from GitHub with pip, but you perhaps have to force the upgrade:
pip install -U --force-reinstall git+git://github.com/sixohsix/twitter.git#egg=twitter
This does require that you have git itself installed as well.
Alternatively, you can install from the GitHub supplied archives:
pip install -U --force-reinstall https://github.com/sixohsix/twitter/zipball/master#egg=twitter
or
pip install -U --force-reinstall https://github.com/sixohsix/twitter/tarball/master#egg=twitter

Categories

Resources