Python3 32bit 64bit [duplicate] - python

This question already has an answer here:
Using python 32 bit in 64bit platform
(1 answer)
Closed 2 years ago.
My computer is 64bit. But I didn't recognize and I installed 32 bit python3.6.
Today morning I installed python3 64bit for my project.
Then I want to use 64 bit one.
How to get rid of python3 32 bit and change to python3 64bit?

Go to where you downloaded the installer for the 32-bit version of Python and uninstall it from there.
Then install the 64-bit version.
It helps when installing to use the manual process.
Install the python version directly into a custom folder of your choosing to the C: drive of your PC.
Select "add to environment variables" while you are there (this will allow you to run the python console from CMD and PowerShell.
Also tick all these boxes:
I hope this helps

Uninstall Python 3 32 bit. Then check your system path.
Windows: https://www.computerhope.com/issues/ch000549.htm
Linux: Set the $PATH variable.
Python has a habit of not removing itself from there.
Now make sure the Python 3 64 bit installation is correctly in your system path

Related

Windows: Vim compiled with Python (3.6.0+) support [duplicate]

i'm unable to install YouAutoComplete on vim because he cannot link to python. i've installed python3.8 and 3.7 32bits but it don't change anything(i'm running on windows). And i changed pythonthreedll and pythonthreehome variable without any result.
I had the same problem in past. I download python-3.8.6-amd 64bit and gvim_8.2 64 bit. Maybe you test it with thiis one's. I had download the gvim from this page: https://github.com/vim/vim-win32-installer/releases
GVim must have python 3 support. You can test this in Vim with :py3 pass

How do I install 64 bit Vim for python development on Windows?

I want to install 64 bit Vim to work with 64 python on windows because my machine is 64 bit and I want to work with Tensorflow, which only works with 64 bit python. However, I can't for the life of me find a way to install a 64 bit version of Vim to work with a 64 bit version of python. Every time I manage to install it (gVim) I am greeted with:
E370: Could not load library python35.dll
E263: Sorry, this command is disabled, the Python library could not be loaded
after entering any python command to Vim e.g. :python3 print('Hello')
Is it possible or a thing people do using Vim with 64 bit python? If not, what text editor should I be using? If so, please help.
I have the 64-bit portable version of gVim 8.0 running on Windows 8 with 64 bit Python v3.6.1. I unzipped the portable version of gVim from the zip file:
gvim_8.0.1427_x64.zip
Without modifying the install I ran the command
:python3 print('Hello')
and received a reassuring 'Hello' in the editor window.
I have not tried the installable version of gVim. Perhaps the portable version works more easily?

How do I specify where the python dll is located for vim 8?

I am trying to enable python support for Vim 8.0 on Windows 10.
As I understand it I need:
Vim with python support
Python installed and on the $path
matching 32 or 64 bit versions of both
I have tried
the official 32bit binary, which shows python35.dll with python 3.5.2 and 3
the 64 bit binary available from tux project which shows python36.dll as the ddynamic_python_dll with python 3.6.1
Each time I've checked the path by typing 'python --version' in cmd and confirming I'm getting the right version.
In all cases I get E370 could not load library. How do I make sure Vim is looking at the right file?
set pythonthreedll="c:\program files (x86)\python36-32\python36.dll"
And you might not want to leave that in your .vimrc while you keep changing everything else around it....

Python 3.5 for 64 bit windows not setting the windows registry correctly

I want to install pySVN(py35-pysvn-svn1814-1.8.0-1667.exe) windows binary kits.But after installing python 3.5(64 bit) on my windows,it is not setting the windows registry correctly.
Im getting the following message,
pysvn requires Python 3.5 to be installed.
Quitting installation
I given PATH correctly and it is working in cmd prompt when i give 'python' there.
How can I solve this issue?
AFAIK pysvn doesn't work with 64 bit Python on Windows. This is because the underlying subversion library is compiled for 32 bit only.
You can get 32 bit Python 3.5 here: https://www.python.org/ftp/python/3.5.0/python-3.5.0.exe

Python 3.3. not found in registry [duplicate]

I am trying to install biopython to run with Python 3.3 on a Windows7 computer.
I have downloaded the biopython executable biopython-1.61.win32-py3.3-beta.exe. When I attempt to run the executable, however, I get the message "Python version 3.3 is required, which is not found in the registry." Python version 3.3 is present on my computer. I have been running programs through it for a month or two. It was installed from the file python-3.3.0.amd64.msi, and is located in the Program Files (x86) directory.I have tried reinstalling Python 3.3 but get the same error message.
Does anyone know how to get around this problem?
Python.org provides Windows installers in two flavours, 32 bit ("win32") and 64 bit ("amd64"). You need matching library installers for your Python version. You are trying to use a 32 bit Biopython installer with a 64 bit Python.
As instructed here http://biopython.org/wiki/Download there are experimental 64 bit Windows installers for Biopython, NumPy, etc here: http://www.lfd.uci.edu/~gohlke/pythonlibs/
Or, you can install the 32-bit version of Python 3.3 for Windows, and then use biopython-1.61.win32-py3.3-beta.exe
You can try to solve this problem by fixing a blank option in the Windows registry.
https://stackoverflow.com/a/11507968/3962648 provide details of similar issue when installing numpy.
In short, you can just run the windows command line and type in: "reg copy HKEY_LOCAL_MACHINE\SOFTWARE\Python HKLM\SOFTWARE\Wow6432Node\Python /s"
probelm is windows 64bit and biopython 32bit...
to get the 64bit version of biopython get this one:
http://www.lfd.uci.edu/~gohlke/pythonlibs/

Categories