install python script on windows - python

I try to install python script on Windows. In the Readme file there is these indications :
cd pattern-2.6
python setup.py install
But I think that these instructions are for Linux. How can I install it on windows?
Thank you

What Python are you using? If it is recent, it will have shipped with pip. If so, open a command window/python prompt(as an administrator) then try:
pip install pattern
If pip is not installed a cursory google will tell you how to get that. Hope this helps.

Related

Downloading ms_graph module

I have been trying to download ms_graph module, but none of the available terminal command has been useful. I tried the following command.
pip install Install-Module Microsoft.Graph -Scope CurrentUser
brew install ms_graph
I am currently trying to download in mac.
Thank You.
The installation of the Microsoft Graph Python SDK (preview): please use the following Code:
python -m pip install msgraph-core
python -m pip install azure-identity
Note:
The installation steps are also mentioned in Microsoft Graph Core Python Client Library , Please check for reference.
Hope this helps.

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.

getting python pyobcd installed

I'm a little lost on how to get pyodbc installed in my computer.
I have python 3.6.1
The link
http://support.esri.com/en/technical-article/000011656
pointed me to another link
https://github.com/mkleehammer/pyodbc
Which is vague.
I'm used to downloading and running an exe for install.
This link is unclear and says all I have to do is:
"pip install pyodbc"
What exactly do I need to do to get this working?
Since you have not mentioned which OS you are using,
I will assume that you are on windows (as you have mentioned that you are used to install using .exe).
Firstly you need to know what a pip is:
pip is basically a package manager for python packages used to install 3 rd party packages which do not bundle along with the python distribution.
On linux pip comes pre installed also if you are using python version 3.4 onwards or python 2.7.9 you will be having pip pre installed on your system.
All you have to do it to open the command prompt issue the command
pip install package-name(pyobdc here)
it will do the job.
If you do not find pip in your distribution you can refer this link
How do I install pip on Windows?
open cmd in your computer and type
pip install pyobdc
Hello there and welcome to python programming. Basically python comes with its package installer so either you can go to any interpreter that you are using and type pip install pyobdc or use the command prompt in windows and type in pip install pyobdc. This would install your module and just remember to put import pyobdc at the top of the code if you want to use this package. Further information can be found on here

Installing Yapsy for Python script in Windows

Im trying to run a script in python 2.7 but I need Yapsy, I download from github but I dont know how to install it, I cant find any documentation in github neither in sourceforge
From the manual:
pip install -e "git+https://github.com/tibonihoo/yapsy.git#egg=yapsy&subdirectory=package" or
pip install -e "hg+http://hg.code.sf.net/p/yapsy/code#egg=yapsy&subdirectory=package"

Straight and simple answer: installing py2app

I have been searching all day how to install py2app. I have downloaded the folder but I don't know how to actually install the application.
Also, if anyone could give me an easy way of using py2app that would be great!
Which Python version are you using?
Assuming you use Mac OS X version, first you need to install pip.
For that google: how to install python pip?
This is really easy.
And after that issue in your terminal
$ sudo pip install -U py2app
if you already have the source package downloaded, it has a setup.py file in it's top-level directory. To install, just invoke it like this:
python setup.py install
also, you could read the installation instructions:
https://pythonhosted.org/py2app/install.html

Categories