Later version of GEOS on pypi - python-2.7

I am trying to install GEOS 3.3.3 on my workstation. When I look at pypi (https://pypi.org/search/?q=geos), I only see versions up to 0.2.1. Do I need to install it from somewhere else?

If you are needing to setup GEOS for a python environment, you should check out Anaconda's python distribution environment. They provide pre-built GEOS for many platforms. https://anaconda.org/search?q=geos
see https://www.anaconda.com/distribution/

Related

Can't get newest why3 version from opam

I am using Linux Slackware 14.2, opam version 1.2.2, ocaml 4.03.0 and wanted to install why3 module. As far as I can see in the Internet, the last version of why3 package is 1.2.0.
But even after I ran
opam update
It still suggests my to install why3 1.0.0.
What should I do to update the packages list?
How can I install why3 module system wide as root? Is it safe enough?
Your opam and ocaml installations are both seriously out of date. The latest version of OCaml is 4.07.1, and the latest version of opam is 2.0.4. Linux distro repositories are unfortunately often not very up to date, and as I understand it, packages published for opam v2 aren't backwards-compatible with opam v1.x.
Try installing the latest opam by following the installation guide. Then, using opam, install a more recent version of OCaml and you should be able to get the latest version of why3.
It's recommended to manage your OCaml installations and associated packages with opam instead of installing them globally, since that can potentially cause an unruly mess of broken dependencies over time.

How to install Xeus-cling without Anaconda?

Why is Anaconda package manager necessary to install Xeus-cling?
I have only used pip so far, and switching to a new package manager seems like a lot of work. I want to start using C++ with Jupyter, but all the installation instructions assume conda package manager.
Does anyone know of Xeus-cling installation which doesn't require Anaconda?
Pip is a package manager for python. It is mostly meant for packaging pure Python packages even though shipping some binary extensions is possible.
xeus-cling is a native application, which relies on a number of other libraries, including LLVM, Clang, Cling, Xeus, OpenSSL, libzmq and other. Vendoring the entire LLVM stack in a pip package would be unreasonable.
The developers of xeus-cling have made the choice of conda because it is a general-purpose cross-platform package manager, but it could be packaged for other general-purpose package managers, such as Debian's dpkg, OSX's Homebrew, conan.io or others.

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.

Not able to Install python package libportaudio-dev via pip on Windows 10

Python Version : 2.7.13
Pip Version: 9.0.1
Error: Could not find a version that satisfies the requirement libportaudio-dev(from version:)
No matching distribution found for libportaudio-dev
pip installs packages from PyPI and there is no libportaudio-dev at PyPI. It's not a Python package. It is a package in Ubuntu.
To install it on w32 you have to download the source code and compile it. See the instructions.
There are old precompiled binaries at https://github.com/adfernandes/precompiled-portaudio-windows
https://github.com/spatialaudio/portaudio-binaries — these ones look more fresh.

Python conda - How to upgrade package not available on anaconda

If I am looking at the Anaconda Packages (http://docs.continuum.io/anaconda/pkg-docs), there is a package named "nbconvert" in version 4.0.0.
On the github site of nbconvert (https://github.com/jupyter/nbconvert/releases) there is a newer version (i need this one) 4.1.0. Now how to install this version on my machine? If i try to
conda install nbconvert
It will install version 4.0.0. but I need this new one
If I try to search for this package with
anaconda search -t conda nbconvert
It only finds the 4.0.0 version
The easiest way is to temporarily replace conda's nbconvert with the latest version of pip.
Here's how you can do that:
conda remove nbconvert
pip install nbconvert
After that you can check the version of nbconvert by typing jupyter nbconvert --version. If everything worked out, you will see 4.1.0.
Note that this is just meant to be a temporary workaround until continuum analytics' developers update the package. Don't forget to pip uninstall and conda install when switching back to conda's version.