xlwings v0.20.4 installed instead of v0.20.5 - xlwings

I'm attempting to install the latest version of xlwings v0.20.5 (released 8/27/2020) on a Windows 10 machine.
After running the following two commands at the Anaconda prompt,
conda install xlwings
xlwings addin install
v0.20.4 is instead installed.
Is v0.20.5 available via conda or is the xlwings website mistaken when it states that v0.20.5 is the latest available version?

Related

Dysfunctioning of pip in installing python packages on Windows

I am trying to install a Python module - pyproj-1.9.5.1-cp27-cp27m-win32.whl using the Python package installer - pip. Since I use a version of Python 2.7.10, which comes bundled with ArcGIS 10.4.1, it is already preloaded with pip, as all versions 2.7.9 onwards are. To install the module, I opened the Command Prompt in the directory of the module and typed
pip install pyproj-1.9.5.1-cp27-cp27m-win32
to get the error, which I have written below:
Could not find a version that satisfies the requirement pyproj-1.9.5.1-cp27-cp27m-win32 (from versions:) No matching distribution found for pyproj-1.9.5.1-cp27-cp27m-win32
Since ArcGIS 10.4 comes bundled with Python 2.7.10, it is pre-installed with pip. Pip is a recursive acronym that stands for "pip installs packages" and is a package management system that is used to install software packages written in Python, which is pre-installed in Python version 2.7.9+. Therefore, to install pyproj, make sure that %PYTHON_HOME%\Scripts\ and C:\Python27\ArcGIS10.4 are added in the Path of Environmental Variables in System Properties. After that, run Command Prompt as an administrator and type pip install pyproj to install pyproj.

Python-Install scikits.talkbox to Anaconda in Windows 8

I am using Python 2.7 and Anaconda2. I tried to install it using
conda
but Anaconda cloud only has
scikits.talkbox
for linux 64 channel.
but I want this toolbox for signal processing.
How can I install it in Anaconda?
You can pip it on anaconda console:
pip install --user scikits.talkbox
It may ask for installing Visual C++ for python, it is here.

How to properly update xlwings

After xlwings is updated from 0.6 to 0.7.0, I have the following problem.
Although xlwings works, when I click Import Python UDFs, I get an error that tells:
Run-time error '1004' Cannot run the macro...
The macro may not be available in this workbook or all macros may be disabled.
Xlwings web site only tells about installation of the package. I could not see steps for upgrading the package.
What is the proper way of upgrading xlwings? What should be the steps for the upgrade?
The python package itself is updated like every other package (pip install --upgrade xlwings or conda upgrade xlwings).
Updating the Excel add-in is explained here, the easiest way is to run xlwings addin update.
However, this expects that you have also installed the add-in previously with xlwings addin install. If not, you could also update it manually by replacing your current version (wherever that is saved) with the latest version that is in the xlwings package (run >>> import xlwings, >>> xlwings.__path__ to see where the xlwings package has been installed).
By the way, I assume you're facing this issue that had been fixed with v0.6.4
you must install and upgrade the version before to install addin, dont works if you do not upgrade

Fail to install Python 2.7.9 on a Windows google compute engine instance

I fired up a new Windows google compute engine instance. It's running Windows 2008 R2, service pack 1.
I download and try running the Python .msi installer for version 2.7.9, and it fails with this error:
There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor.
I see this error for both the 64-bit and the 32-bit installer.
Has anyone else seen it or know of a work-around?
I reproduced your issue and I found two workarounds:
You can install python 2.7.6 successfully without further action.
If you need python 2.7.9 you can install it deselecting pip from the install menu.
This seems to be related to this answer in another thread although in that case the issue is with version 3.4.
Install python EXCEPT "pip"
Run the python install msi again and select "change"
Select "pip" and install the pip
It would be works...
I think it is a priority problem into the msi package...the package seems to try to install the pip before installing python.exe. So, pip can not be installed...
I'm using Windows 8.1 64-bit. I had 2.7.11 installed and then I tried to install PIP as well via Chocolatey PIP package.
I think my installation had got messed up because I had tried to install Python 3.4 as well as Python 2.
Then I had deleted all the Python 2 and Python 3 files in an attempt to get rid of this.
What worked for me was:
Editing the Environment Variables both, System and User to remove any PYTHONHOME or PYTHONPATH variables
I also deleted the path I had to python2 in the PATH environment variable
Now (as mentioned in Python Issue 22329) after deleting the Environment variables you can go into 'Programs and Features', click on the Python 2.7.11 (64-bit) program and then click 'Repair' - this then worked as I would expect without error.
Now finally I was able to go into 'Programs and Features', click on the Python 2.7.11 (64-bit) program and then click 'Uninstall'.
Edit: I assume this is connected with this PYTHON_HOME answer to a problem with Python 3.4
It seems to be a dependency issue, please try to install "Microsoft Visual C++ 2008 SP1 Redistributable Package (x64)"

Install Python package located on Github

I'm trying to follow this tutorial.
First step would be to install DeCaf.
I'm farely new to Python and so far I've only installed packages via easy_install, pip or Windows binaries.
How do I go about installing the DeCaf package? I tried downloading the ZIP from Github, and do a python setup.py install but it doesn't seem to work.
I'm on Windows 7, and use Anaconda 1.8.
Thanks,
G
You can use the pip that ships with anaconda. Not sure that this library works on Windows as it requires c++ compiler with omp thread. From the anaconda terminal try:
pip install git+https://github.com/UCB-ICSI-Vision-Group/decaf-release.git
You can try the following:
i.e: installing ipdb package which is not there in anaconda list:
Following will try to install package from anaconda:
conda install ipdb
Following will show list of repo's from where you can install the package with versions:
anaconda search -t conda ipdb
Following will show more details about the package and repo:
anaconda show conda-forge/ipdb
Finally this will install the package from the repo:
conda install --channel https://conda.anaconda.org/conda-forge ipdb