installing pygame over anaconda - python-2.7

I am trying to install pygame over anaconda. My OS is windows 7 64 bit and I downloaded the following files:
pygame-1.9.2a0-cp27-none-win32.whl
pygame-1.9.2a0-cp27-none-win_amd64.whl
prebuilt-x64-pygame-1.9.2-20150907.zip
pygame-1.9.2a0-hg_ea3b3bb8714a.win32-py2.7.msi
pygame-1.9.2a0.win32-py2.7.msi
I get this error after "pip install 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
What am I missing?
Thanks

This worked for me when installing pygame with anaconda. I believe that if you go into the terminal on anaconda and type
Pip install pygame
It installs the latest version of pygame into your environment

Related

installing seaborn without sudo

I am trying to install seaborn without using sudo. I have already installed on my python 2.7 and windows 7 setting with the following cmd commands :
pip install pandas
pip install xlrd
pip install matplotlib
and they all were installed like charm.
`pip install seaborn` did not work
i have attached the error message.[last lines of emssage][1]
You may be interested in installing precompiled python wheel binaries for Windows.
That, or use something like Anaconda python.

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.

how avoid Anaconda to hijack pip

I have 2 versions of Python installed on my PC (Windows 7, 64Bit).
Python 2.7 Version installed with Anaconda
Python 3.6 Version installed directly from python.org (the "regular IDLE")
Now, i would like to install the necessary packages on the 3.6 using pip, but anaconda keeps on hijacking the command.
For example, on typing in the cmd window:
pip install numpy
and i get:
Requirement already satisfied: numpy in
c:\users\georges\anaconda2\lib\site_packages
Which is the case for python2.7, but i was trying to install it for version 3.6 installed without Anaconda.
I tried re-installing pip hoping it would erase the hijacking by Anaconda2 ... failed.
I am contemplating to remove Anaconda2 altogether although i risk that in windows, removing a programme does not necessaraly remove the dependencies.
Any lead please ?
I think what you are looking for is pip3 install pip3 and you should be able install packages for python3
It should come as standard with python3 installation setup.
First check if it is there with
where pip3
For any further issues check this post
You don't need to uninstall anaconda2. Both python versions can co-exist and libraries different managed by different package installers pip for python 2 and pip3 for python 3 respectively.
Hope this answers your question.
Install it with pip3, because you want it for python 3:
pip3 install numpy

Shapely is no Win32 Application

I'm trying to install shapely via pip on Windows. I'm using python 2.7.13 32-bit on 64-bit System. It's because I'm running Mapnik too.
Mapproxy needs Shapely for reading Shapefiles for Seeding Coverages.
Trying to run pip install shapely turns into
WindowsError: [Error 193] %1 is no valid Win32-Application
pip is trying to install Shapely Version 1.5.17.
When installing version 1.6b4 from tar.gz manually downloaded the installation is working. But mapproxy-seed with shape coverage is not working.
Has anyone a solution?
Thanks for your Help.
Try to install from the wheel you can find here, with the command pip install <path-to-downloaded-file>.whl

Scipy package not installing using pip

I am not able to install scipy on my machine with python 2.7
pip install scipy
It always comes up with the following error
numpy.distutils.system_info.NotFoundError: no lapack/blas resources found
Just as the message says, You need functioning blas/lapack, which you need to install separately. How to do that depends on the operating system you're on.