Why is the curses module not installing via pip? - python

I have been trying to install the curses module using the command "pip install windows-curses" but it does not seem to be working and it errors out saying:
ERROR: Could not find a version that satisfies the requirement windows-curses (from versions: none)
ERROR: No matching distribution found for windows-curses
[Edit: I am using python 3.10]
I installed the requests package after that using pip but that seems to install perfectly. So, pip is working correctly, just not the curses module. Is it a problem on my end or is this package actually not available?

Currently the latest version of windows-curses is 2.2.0 and it provides wheels for Python 3.6-3.8 and no source code.
Most probably you use Python 3.9 or 3.10 (you should have indicated in the question). To use windows-curses you need to downgrade. You can also download wheels from https://www.lfd.uci.edu/~gohlke/pythonlibs/#curses

Related

No matching distribution found <package>

I'm trying to install this package but I'm getting the erorr in the title along with "Could not find a version that satisfies the requirement vtk (from versions: none)". Does anyone know why it won't work when it's available on PyPI?
Edit: Found out it's because I'm on the latest Python version. A commenter kindly provided an unofficial build but I'm unsure of the process in installing it. I used the link pip install --find-links wheels.pyvista.org pyvista and it seems to have installed one package called appdirs but no vtk package. If I follow the link there's build instructions but it says for Ubuntu/Linux so not sure which one I should follow on Windows.. Also, I'd like to check if wheels for Python 3.10 are forward compatible with 3.11 since I'm on the latest version

How to install pyramid-arima in python 3.7

I'm trying to implement auto arima in my python 3.7 on Windows10 So I tried to install pyramid-armia using following command
pip install pyramid-arima
But I'm getting error message
Could not find a version that satisfies the requirement pyramid-arima (from versions: )]
No matching distribution found for pyramid-arima
I also tried steps mentioned here
But got the same error message
Can you please guide me to install it?
This error might be because there is no version of package that fits combination of versions of your Python, Operating System, Cpu Type and Instruction Set.
That package is out-dated and abandoned, hence not installable, use new replacement, which is pmdarima package:
pip install pmdarima
and import like:
import pmdarima
Official documentation for pmdarima is here.
If still you're getting same error for new pmdarima then download .whl package directly from here.
You need to download package corresponding to your python version and windows bits. E.g. if you have Python 3.7 and Windows 64-bit then download pmdarima-1.7.1-cp37-cp37m-win_amd64.whl (or with win32 suffix for 32-bit windows), here cp37 means CPython version 3.7.
Then just install it like this:
pip install pmdarima-1.7.1-cp37-cp37m-win_amd64.whl
Also many trouble-some Windows prebuild .whl packages that have problems with installation/compilation are located here. I've often downloaded this prebuilt packages from there, when haven't succeeded with pip install. But for the case of pmdarima it is located at the first link but not second.

Python 3.8.5 and MYSQLDB

As of late, I have been attempting to setup MySQLDB on Pycharm. I have Python 3.8.5 installed, have made sure the PATH is set, and everything seems to be working handily. After this, I ran the pip command.
python -m pip install mysqldb
and
python -m pip install mysqldb-python
But to no avail.
I tried to install it from Pycharm's interpreter page, but also no dice. I also attempted to install using a .whl file, but that has also turned out a failure. I've searched far and wide for the last few days, and I've found mention of this error, but none of the fixes I've seen have truly worked. The error I get is the same, regardless of which iteration I attempt to install. And of all the guides I see, I never see any mention of steps I've missed or things I should have done before attempting an installation aside from what I've done. The error is as follows.
ERROR: Could not find a version that satisfies the requirement MySQLdb (from versions: none)
DEPRECATION: The -b/--build/--build-dir/--build-directory option is deprecated. pip 20.3 will remove support for this functionality. A possible replacement is use the TMPDIR/TEMP/TMP environment variable, possibly combined with --no-clean. You can find discussion regarding this at https://github.com/pypa/pip/issues/8333.
ERROR: Could not find a version that satisfies the requirement MySQLdb (from versions: none)
ERROR: No matching distribution found for MySQLdb
you can try installing the following,
pip install pymysql
pip install mysql-connector
pip install mysql-connector-python
or you can go to lfd.uci.edu/~gohlke/pythonlibs/#mysql-python and install the wheels.
It looks like you're using the wrong package to try to install mysqldb through pip. I tried it and got the same error you did this tells me that pip is looking for a package to download and install, but cannot find it.
Try this instead:
pip install MySQL-python
You can learn more about this package here:
https://pypi.org/project/MySQL-python/#description

Unable to install tensorflow-compression

I get this error every time I try to install tensorflow-compression
ERROR: Could not find a version that satisfies the requirement tensorflow-compression (from versions: none)
ERROR: No matching distribution found for tensorflow-compression
I'm using python 3.6.8 and tensorflow-gpu 1.14.0.
This package does exist and was recently updated:
https://pypi.org/project/tensorflow-compression/
I've tried to install it in a python 2.7 environment, but it didn't work.
Also tried to specify the latest version pip install tensorflow-compression==1.2, but it also didn't work.
At the time of writing this, prebuilt wheels of tensorflow-compression exist only for Linux/MacOS. Quoting the readme:
Installation
Note: Precompiled packages are currently only provided for Linux (Python 2.7, 3.3-3.7) and Darwin/Mac OS (Python 2.7, 3.7).
To use these packages on Windows, consider using a TensorFlow Docker image and installing tensorflow-compression using pip inside the Docker container.
Windows is currently not supported. Please use one of TensorFlow's Docker images (https://www.tensorflow.org/install/docker) and pip install tensorflow_compression there.

Error installing kivy

I am using pip install to install kivy on windows 10. I keep getting an error in the command prompt that states:
(could not find a version that satisfies the requirement pywin32 (from
versions: ) no matching distribution found for pywin32 (from
pypiwin32)
Do you have any ideas?
Have you tried installing pypiwin32:
pip install pypiwin32
https://pypi.python.org/pypi/pypiwin32
Then retry installing kivy, if that doesn't work then install pywin32: https://pypi.python.org/pypi/pywin32 and try again.
i got the same issue (error)
it couldn't find any version that satisfies the python interpreter , any version of python that Pywin32 doesn't support
type in the console (cmd) : pip install pypiwin32==219
this version 219 nearly supports all the versions of python (not all of them !)
and if still not worked do this : choose on of these versions of python and install it then it will work !
2.7.X
3.1.X
3.2.X
3.3.X
3.4.X
3.5.X
notice that this version doesn't support 3.6 , anyway good luck with your programming see you again boys !

Categories

Resources