Which command to use for checking whether python is 64bit or 32bit

后端 未结 4 806
Happy的楠姐
Happy的楠姐 2020-12-14 07:19

I am not able to find any command to check if my python is compiled for 32bit system or 64bit system.

I tried

python

an

4条回答
  •  感动是毒
    2020-12-14 07:39

    First, open cmd and type in

    $ python
    

    Then, type in the following two lines

    >>> import platform
    
    >>> platform.architecture()
    

提交回复
热议问题