Issues installing pywin32 - python

pip install pywin32
When I try the above code, I get the following error in Jupyter Notebook.
ERROR: Could not find a version that satisfies the requirement pywin32 (from versions: none)
ERROR: No matching distribution found for pywin32
Note: you may need to restart the kernel to use updated packages.

Instead of using Jupyter, write it in CMD. In CMD, chase the exact directory of pip by writing cd and then the location of pip.
This might work.

Related

Can't install PyWin32 on Google Colab

I'm trying to run a project on google colab and I need to use PyWin32 (https://pypi.org/project/pywin32/), but I get the following error:
!pip install pywin32
ERROR: Could not find a version that satisfies the requirement pywin32 (from versions: none)
ERROR: No matching distribution found for pywin32
I think this application this Windows-only as I see in the part of 'Classifier' at https://pypi.org/project/pywin32/ only has Windows enviroment. And Colab's OS is Ubuntu. In addition, the list of packages for installation of pywin32 at https://pypi.org/simple/pywin32/ has no word related to Linux or Ubuntu. So may be you need to try another approach. Other's question same to yours: Error when installing pywin32 (on Ubuntu)

Pip3 would not install neutralintents

I need neutralintents for my chatbot to work on Discord.
However when I downloaded it using different terminals (1. on my main terminal, 2. on Visual Studio's terminal) it says it is unable to work.
This is what my terminal stated:
WX#54Hex ~ % pip3 install neutralintents
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
ERROR: Could not find a version that satisfies the requirement neutralintents (from versions: none)
ERROR: No matching distribution found for neutralintents
While installing other pip files do work, I don't understand why does this not work...
Does it have to do with me being on M1?
https://pypi.org/project/neutralintents/ — Error 404. There is no such package, you cannot install it from PyPI.
Most probably you mean https://pypi.org/project/neuralintents/ ?
pip install neuralintents

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

Not able to install win32api in python

I am trying to run a python code and when I run it I get this error
No module named win32api
I tried installing it with pip install pywin32 but then I get this error
Could not find a version that satisfies the requirement pywin32 (from versions: )
No matching distribution found for pywin32
How do I install this package?
I tried many solutions and the one works for me :
pip install pywinutils

Unable to install 64-bit Pygame on Python 3.4

I have 64-bit python 3.4 installed, which comes with pip. I wanted to install pygame, and I know that the 32 bit version that they have on their site wouldn't work with my version of python. So I downloaded the 64-bit python 3.4 pygame package from here (pygame‑1.9.2a0‑cp34‑none‑win_amd64.whl). I renamed the package to pygame.whl and tried to use pip on the command line to install it, but it gave me this error;
Collecting pygame
Could not find a version that satisfies the requirement pygame (from versions:
)
Some externally hosted files were ignored as access to them may be unreliable
(use --allow-external pygame to allow).
No matching distribution found for pygame
So I tried using the --allow-external option, but it gave me a different error and asked me to provide a requirements file. I looked around, and found that I might need to try using the --pre option, but it gave me the exact same error as above regardless. How can I install the package?
The most likely reason you failed to install the .whl package is that you typed
pip install pygame
at the command prompt, instead of switching to the directory where you stored your renamed pygame.whl and running
pip install pygame.whl
pip requires that you give the full name of the file being installed.
The error message you got indicates that you ran the first command, and pip was looking in PyPI for pygame (which isn't there). The --allow-external command would have allowed you to specify a remote location where a source file or .whl file could be found.
In the future, I'd recommand not renaming the files downloaded from the (quite excellent) site you linked to, so that when you try to install them you're sure you're running the right command. Remember, you can always use Tab to complete file names on the command line.

Categories

Resources