Python not installing on windows 11 - python

I cant install python on my windows 11
it says Could not access network location_\.
how do I fix it?
I tried disabling the windows firewall and my antivirus but it didn't help.
I tried running as administrator too.
I even tried to download python from pycharm but it didn't work.

I'm not sure which python version / distribution you're trying to install, but I was having issues installing Winpython64-3.7.10.0PyPy. After the file extraction would complete the files simply wouldn't be there.
I reattempted installation with Winpython64-3.9.5.0 and it worked like a charm. I installed to the C: directory.

Related

Don't know how to fix a broken Python installation

I was trying to install a SQL-Python connector and kept receiving an error that it could not find the python installation. It said that it only accepted the version used by the installer from the python website so I downloaded that and tried to install it in the same path where my python was (C:\Python38) but then saw that it was installing a 32-bit version of python there so I cancelled the install mid-install (this was a mistake). I think I did that at the wrong time because now the folder still exists but it had deleted some parts of my python installation. So now I'm in a weird place where I can't install python (When I open the 64-bit installer it only gives me the option to Modify, Repair or Uninstall, and all of those shoot up errors where it says that it can't find the python installation). The 32-bit version does allow me to try and install but I get an error saying "The File 'python.dll' cannot be installed because the file cannot be found in cabinet file 'cab1.cab.'"
If I try and uninstall python from the Windows uninstaller I also get errors that there is no python version to install.
I tried just deleting the folder from my system but that doesn't work either. Not sure how to bring my computer back to a state where I can do a fresh python install. Is there any way?
What I did, and I am not sure that it was the cause of solving the problem, was to delete the 'python.exe' and 'python3.exe' files that where in 'C:\Users\Usuario\AppData\Local\Microsoft\WindowsApps'. As the user don't have access to delete them from the files explorer, I entered from cmd as administrator and deleted them with the 'del' command.
Again I am not sure if that was the cause but I think it worked for me while I was trying to delete all python related files to reinstall.

Has anyone installed the mlpack library for windows 10?

I have tried following various steps to install the mlpack library for windows 10, but was not successful. If any of you were able to please forward the link to the steps followed.
Classic: https://www.mlpack.org/doc/mlpack-git/doxygen/build_windows.html
For Python: https://www.mlpack.org/doc/stable/doxygen/python_quickstart.html
Basically pip install mlpack/mlpack3
Pip does not currently provide a working package for Windows (this is something that is actively being worked on), but there is a build guide for how to build on Windows that should work successfully:
http://mlpack.org/doc/stable/doxygen/build_windows.html
I used this recently (though on Windows 7) and had no issues.

C1083: Cannot open include file: 'sys/param.h' error message while installing python jenkins package

I am installing Python Jenkins package on Windows 7 x64 bit PC.
I got following error:
'C1083: Cannot open include file: 'sys/param.h''. Python version
2.7.12.
Any help is appreciated.
A very similar question was asked for Python in Linux and the solution there actually worked for me in Windows as well: https://stackoverflow.com/a/51306963/13082985 That is, if you were trying:
pip install jenkins
install this package instead:
pip install python-jenkins
"sys/param.h" is known from unix/linux environments only.
I am not that sure but it might be further available with GNU C as well.
I have to assume something in your configuration or setup went horribly wrong.
As this question is rather specific to a certain project you might have more luck finding the answer if asking this directly at their project support channels.

Can't install setuptools on Windows 7 Ultimate 32 bit

I'm trying to install setuptools on Windows 7 Premium 32 bit. I've downloaded the installer setuptools-0.6c11.win32-py2.7.exe from http://pypi.python.org/pypi/setuptools#files and when I try to install it, I'm getting the following error: Python 2.7 is required, which was not found in the registry. Well, I know for a fact that Python 2.7.2 is installed right now. I've looked online and the only thing I see is troubles installing on Windows 7 64 bit. Has anyone else run in to this issue or know how to resolve?
Edit
Adding for visibility.
I searched the registry and I didn't find the install path anywhere. I added it back HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.7\ and it didn't fix the install error.
Edit 2
I found a solution. I downloaded and ran: http://peak.telecommunity.com/dist/ez_setup.py
I found a way to install it. I downloaded http://peak.telecommunity.com/dist/ez_setup.py and ran it. Installed without issue.
Check that you've one of your PATH environmental variable set to the location where python is installed.
Check this link for more info

How to move python project from Netbeans in windows to Ubuntu

Ok, so I spent about 20 hours trying to install pypoker and wxPython in windows and finally gave up. So I installed Ubuntu and got that working. Now, how do i get my Netbeans project to Ubuntu? i straight up copied my src folder in netbeans and put it in ubuntu, but when i typed python "name", all i get is segmentation fault as the output. Is there a simple way to do this, or will i have to go line by line and put it into ubuntu?
Start by installing netbeans Install netbeans http://bit.ly/software-large and go from there.
Not sure of the exact dependencies, but try installing python-wxgtk2.8 (or 2.6) and wx-common (and possibly python-wxtools) if you haven't.

Categories