Unable to install pypiwin32 library - python

Tried to install the pip install pypiwin32 in Google Colab for reading outlook emails. But the installation keeps on getting failed.
Tried by downgrading the python version to 3.9 as well, but didn't worked.
Any suggestions for fixing the issue?

Are you running it actually on Windows? If no, it pyiwin32 only is supported for Windows
Try using pip install --no-cache-dir pyiwin32

Tried installing !pip install pypiwin32 in Jupyter notebook, it works like a charm.
But didn't worked in colab.

Related

How to install pip Pygame1.9.5.dev0? [duplicate]

Currently unable to install Pygame via pip:
pip install pygame
Getting this message:
Concerned by it being termed an EOF error, is this an error in the module itself?
There's dev versions available as of now. Get them via
pip install pygame==2.0.0.dev6
Pygame is not compatible with Python 3.8 at the moment. I would recommend you to downgrade back to 3.7 and installing with pip there.
pip is doesn't have pygame up.
But there is a alternative that worked for me. https://www.pygame.org/wiki/CompileWindows
Read and follow the steps correctly and it should install.
you also need to update your code to pygame 2.0.0 code because it's only for 3.8
BTW you have to follow the SDL2 instructions since pygame 2.0.0 uses that.
the above commands worked for me today 3-15-20 with Python-3-8-0 on Linux Mint 19
to get IDLE to recognize pygame.
sudo pip3 install pygame==2.0.0.dev6
I also had to update pip first with
sudo pip3 install --upgrade pip
Pygame requires visual studio C++ build tools to install. Ensure you have these downloaded from here.
Open power shell window and make sure your internet is on
Then type the following command
pip install pygame
It will automatically download it for you and also install it
Again make sure your internet is on
I have python 3.8.2 and it worked on my pc

How do I install the "sparse_dot_topn" Package in Anaconda Installer?

I am trying to install the "sparse_dot_topn" package in Alibaba Cloud ECS instance. Firstly I tried to install it through the Anaconda installer.
conda install sparse_dot_topn
It throws like there is no package available
So I tried to install via pip
Pip install spare_dot_topn
But it throws me the following error
What am I missing? Please leave your suggestions
sparse_dot_topn requires Cython, try installing it this way:
pip install cython
pip install git+https://github.com/ing-bank/sparse_dot_topn.git
I have tried it first with pip install and failed. Then I tried within Anaconda terminal with the following comment and it was succesfull.
conda install -c conda-forge sparse_dot_topn

Error on installing pywin32 modul for python 2.7

I`m disparately trying to install win32.client which I know is a part of pywin32 module.
I have tried with:
pip install
pip install and downloaded different versions of .whl files
.zip install from cmd (see pics bellow)
My version of python is : Info of my python version
When I tried with pip install:
I get this error
When I tried with pip install and downloaded .whl file:
I get this error
When I tried with .zip file:
enter image description here
Do someone has any ideea why is not working ?
I also uninstalled python and installed again
I suggest you uninstall from pip and install with the .exe installer from the official repository.
This has always worked for me. Remember to select the right version for your version of python.
You may try installing with:
conda install -c anaconda pywin32
But from the warning;
You can upgrade to a newer version of Python to solve this.
I would upgrade to python 3 and try again.

Cannot install tflearn in python 3

I have tensorflow 1.11.9 for python 3 and am trying to install tflearn.
I tried installation using:
"pip3 install git+https://github.com/tflearn/tflearn.git"
"pip3 install tflearn"
"pip install git+https://github.com/tflearn/tflearn.git"
"pip install git+https://github.com/tflearn/tflearn.git"
Nothing seems to work. pip install is installing a tflearn version for python 2 (I have python2.7 and 3.4 on Ubuntu 14.04), whereas pip3 is claiming that installation is successful, but I get an error saying
"No module named 'tensorflow.contrib.rnn.python.ops.core_rnn'".
Can anyone suggest what am I doing wrong? I would be happy to provide any further information that might be required. Thanks in advance.
I think your tensorflow version is probably a bit low. Current one is 1.4
I figured out that I was installing tensorflow using
sudo pip3 install --upgrade tfBinaryURL,
where, tfBinaryURL identifies the proper URL of the TensorFlow Python package. Doing the tensorflow installation using
pip3 install tensorflow
and then installling tflearn using
pip3 install git+github.com/tflearn/tflearn.git
solves my problem.

pip install pyzmail ERROR message

I use Python 3.5.2.
I installed imapclient with no problem pip install imapclient. However when I tried to install pyzmail, pip install pyzmail, I received error message below:
ImportError: No module named '_markerlib'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\J
\AppData\Local\Temp\pip-build-ntukh55u\distribute\
To those who find this thread and have switched to Python 3.6, this pyzmail fork enabling pip install on Python 3.6 worked very well for me :
pip install pyzmail36
I had the same problem, and resolved it using: easy_install pyzmail
I just had this issue and solved it this way: type pip install setuptools==20.1.1, then try pip install pyzmail again. I had the latest version of setuptools (version 34.something) and it seems this version gets buggy when installing pyzmail.
use pip install pyzmail36
This claims to be "a fork which is meant to be pip installable on python 3.6+".
I had the same issue when using Python 3.8.5 on Windows 10.
After successfully installing imapclient, I used this command, which worked fine:
pip install --user pyzmail36==1.0.4
if you have already solve the problems , I hope 'yes' , but it is very easy you need just to writte
pip install --user pyzmail36*
It will install properly the last version ! but take a look at your python version ---> python --version because sometimes it needs to be update .

Categories

Resources