Shashank Sawant
Shashank Sawant

Reputation: 1140

How to check if the installed Anaconda is 32-bit or 64-bit?

A few weeks ago, to dabble in IPython notebooks, I had downloaded and installed Anaconda from http://continuum.io/downloads. There was a problem in the installation (either because it was 32-bit or 64-bit — a detail I can't remember) which I solved but uninstalling my first attempt and installing the other version. Then I went about creating my notebooks with some practice problems.

Currently I can run ipython notebook in the command prompt and the notebooks run perfectly well. But the there's no mention of whether the system is 32-bit or 64-bit in the tree of notebooks (or in the tabs nearby).

I would usually sort such issues using the command prompt. But the commands conda --version and ipython --version just yield the respective version numbers and not the information I am looking for.

My operating system is Win7x64 but that hasn't prevented me from installing 32-bit softwares in past.

Upvotes: 26

Views: 56235

Answers (4)

Erol Kalkan
Erol Kalkan

Reputation: 111

For CentOS 6.7 and miniconda2:

Type python and enter these commands:

import platform
print platform.architecture() 

In my case, it gives:

('32bit', '')

Upvotes: 9

Saurabh Shukla
Saurabh Shukla

Reputation: 558

conda --v. It displays the Conda version

Upvotes: -2

asmeurer
asmeurer

Reputation: 91610

conda info has this information. If you need to access it programmatically, use conda info --json.

Upvotes: 38

monkut
monkut

Reputation: 43870

Open a standard python console, and in the header it should tell you

Python 2.7.8 (default, Jun 30 2014, 16:03:49) [MSC v.1500 32 bit (Intel)] on win
32
Type "help", "copyright", "credits" or "license" for more information.
>>>

Upvotes: 2

Related Questions