How to install numpy and other modules?

Asked

Viewed 23,393 times

5

I need help installing numpy. I tried to install pygame using Pip but it didn’t work and I was confused on how to install modules or Packages.

Use python 3.5.0 in Windows 10 pro

2 answers

1

  1. Install miniconda
  2. At the command line, type: $ conda install numpy

With this you will probably get all libraries and packages. Anaconda includes 125 packages.

1

First to install the pygame there is no need to do it using the Pip because it can be downloaded via official website here, download the version using the option recommended by the site itself, ie for the OS you use that in case and windows, as to install numpy, I will give you two options.

1° option

download the same in this link, extract the downloaded package, via prompt navigate to the folder where it is located and do the following:

python setup.py build

afterward

python setup.py install

installing the numpy

after you have installed Pip, run the following command via prompt:

pip install numpy

2° option

another option for numpy installation and using the numpy executable right here.

download the most current version and install normally.

  • setup.py build of numy --- on Windows?? Build implies to compile the modules in C, this in general requires a whole chain of software - compiler, auxiliary tools, etc... - has to be in a machine already configured with all this to work.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.