Error installing autocomplete-python package in Atom - python

I was trying to install the packages to start using the Atom environment. When I create a .py file and write anything in it I get the following error
It says: "python" is not recognized as an internal or external command,
program or executable batch file.
When I use the Windows console, I only run the python with the py command.
I guess that's the problem but I don't know how to correct it in the package.
I would appreciate the help.

the problem with your system python does not install so you need to install python on your system. download and install phttps://www.python.org/downloads/windows/
I check with ubuntu19.4 with python installed

Related

How do you install Django & PIP?

I am having a nightmare tonight, I want to start learning some Django but I am running into quite a few problems while installing it.
I am following these tutorials - https://www.youtube.com/watch?v=UmljXZIypDc / https://www.youtube.com/watch?v=MEcWRk9w0t0
I installed Python 3.7.2 and confirmed the installation by typing 'python --version' into Terminal/Command Prompt.
I typed 'pip --version' into CMD and got this message in return "'pip' is not recognized as an internal or external command, operable program or batch file."
this is where I am stuck, I cannot continue any longer without completing this step, could anyone tell me where I am going wrong?
Thank you
edit: looks like it's a path issue, does anyone know how to do the following: how to I do this :
"Then add C:\Python37\Scripts path to your environment variable. Assumes that there is a Python37 folder in your C drive, that folder name may varied according to the installed python version Now you can install python packages by running pip install awesome_package_name"
You need to uninstall python and when you're installing python again , check on add python to PATH.It will remove the error
Can you be more specific as to which OS you are using? You can use pip also like python -m pip .... The -m part loads a python module It might just not be installed since it is a python module. On linux, for example you have to install pip separately (would be sudo apt-get install python-pip).
Run pip install django from windows command prompt instead of python shell.
Installing Django with pip
follow these to know more. https://docs.djangoproject.com/en/2.2/topics/install/
hope you will get it.

Unable to download Python on Windows System

I'm having trouble getting python to work on my Windows 10 computer. I downloaded 3.5.2 off the website and ran the exe, but when I try to use
pip install nltk
So I copied and ran get-pip.py, but it still tells me "pip" is not recognized as an internal or external command, operable program or batch file.
python -m pip install pip
tells me that python is also not recognized. What should I do?
EDIT: Have tried reinstalling python, made sure the box to install pip was checked. Tried re-running the pip command in the Python command line (the one titled Python 3.5 (32-bit)) and it gave me an invalid syntax error on the word install.
When installing "the exe", make sure that you tick the checkbox labelled "Add Python 3.5 to PATH". That will solve the issue you mentionned.

Using pip Python 2.7 - Pipe not recognized as an internal or external command

I am trying to install Pillow-2.7.0-cp27-none-win32.whl
I read it is necessary to use the pip to install such file extension.
So I downloaded python 2.7 which already comes with pip installed.
However when I try to execute the following command:
pip install Pillow-2.7.0-cp27-none-win32.whl
command prompt returns:
pip is not recognized as an internal or external command
EDIT
I tried the following solution:
'pip' is not recognized as an internal or external command
But the message result is the same
You need to add the directory containing pip.exe to your PATH. It is usually found in C:\<PythonInstallDir>\Scripts, probably C:\Python27\Scripts unless the installation method has changed recently. The method of editing your PATH varies slightly amongst Windows versions, so Google it with your particular version if you don't already know how to do it.
You can try using py -m pip install pillow in the Command Prompt/PowerShell

Using pywin32 with iPython

I'm trying to use python with an excel document and trying to use pywin32 to access COM objects. My problem: I can't figure out install pywin32 so I can use it with iPython. Running the installer, it only detects my python27 installation and installs there.
When I run program with import win32com.client from cmd, it works fine. Trying to do the same in iPython and there is an ImportError. I'm pretty sure this is because their are two different system paths and win32com.client is only on one of them (sys.path in iPython only has things in C:\\Anaconda).
The iPython console is way easier to use than cmd for running and debugging programs, so I would really like to keep using it but I'm stuck.
You are correct that package installed to wrong python installation.
Also if you install pywin32 make sure you use the correct python when you install windows (unlike mac) allows you to run setup.py directly. This will use the 1st python in your path to determine install location.
Standard install:
python setup.py install
On windows the python is optional, but importantly still implied.
type:
where python
at command prompt to see which python will be used to run setup.py
You can also try:
/full_path/python setup.py install

'easy_install' is not recognized as an in internal or external command, operable program or batch file

I have just downloaded and installed the latest version of Python on my Windows 7 machine.
Python 2.7.3
Now I want to install a Twitter library I found online:
However when I try to run easy_install tweepy, I get this error message:
'easy_install' is not recognized as an in internal or external
command, operable program or batch file.
Python has already been placed into my path, as I can invoke the Python program into the command line.
Here is a screenshot of my folder where Python is installed.
And inside the Tools folder:
And inside the scripts folder:
You need to:
Install easy_install: http://pypi.python.org/pypi/setuptools
Add C:\Python27\Scripts to your PATH
I had the same issue with Python 3.4. Fixed it with the steps below:
cd C:\Python34\Scripts
.\easy_install pip
(or what you need to install)
with the .\ you sort of grant admin permissions to the command
I think that you should set the 'PATH' variable in order to execute it
Looks like easy-install is not itself installed on your system.
See this previous question for instructions on installing.
Basics official python packages need to be installed
You can install packages via the command line by entering:
python -m pip install --user numpy scipy matplotlib ipython jupyter pandas sympy nose
0.Install easy_install
1.search for "edit the system environment variables" in search.
2.click environment variables.
3.under "system variables" click "path" and click edit.
4.click "new".
5.go back and copy the path where python package(easy_install) is installed and paste it there.
6.click ok everything.
7.check now it works...

Categories