Trying to download homebrew - python-3.x

I'm trying to install brew
Windows 10 cmd
> pip install brew
Downloading https://files.pythonhosted.org/packages/93/c3/3534ff8c715a34ba11a8419bb62f4ea71797b6eb314dd786d6035bcb2592/homebrew-0.1.10-py3-none-any.whl
Installing collected packages: homebrew
Successfully installed homebrew-0.1.10
> brew install PyAudio
"brew" is not an internal or external command or executable

Related

How to install crossroad of MSYS2?

I have been trying to install crossroad on MSYS2 through pip by typing pip install crossroad but couldn't install. Please help to install crossroad on MSYS2.
Just tried it on my PC and indeed it didn't download the crossroad
If you look at the logs you see that it requires python3-docutils or python2-docutils which is a system package and not python package.
So i used debian/ubuntu so running
apt install python3-docutils
And then running pip install crossroad did install crossroad package.

how to install pytorch version 0.1.12 in anaconda 3.6 windows 10?

Tried to install with this command but still didn't work-> conda install -c peterjc123 pytorch=0.1.12
Also tried installing using this command:
conda install pytorch=0.1.12 -c pytorch
How can it be installed with python anaconda 3.6?
First of all, make sure that Python 3.5 or later is installed as well.
Go to this link and download "pytorch-0.1.12-py36_0.1.12cu80.tar.bz2".
Now navigate to the downloaded file and install it through Anaconda console conda install [path to file]/pytorch-0.1.12-py36_0.1.12cu80.tar.bz2
Note:
If it requires some additional modules, use conda or pip to install those addition modules via:
conda install (module)
or
pip install (module)

Pyside Brew install error

I'm on osx 10.11.6, and I can't install pyside. I've tried:
brew install pyside --with-python3(the formula has been migrated to the boneyard)
pip install PySide(error configuring shiboken)
pip3 install PySide(error configuring shiboken)
What else can I try?
thanks.

How to install pymssql module in Python 3.6?

I have been through a couple of documentations involving FreeTDS, Wheel, git and github but nothing was working on my Windows 10 PC with Python 3.6 but I need to install it. I'm working on a project and I'm most comfortable with mssql which is already installed in my pc.
this seems to work from
export PYMSSQL_BUILD_WITH_BUNDLED_FREETDS=1
pip install pymssql
Remember to install FreeTDS first.
Ubuntu/Debian:
sudo apt-get install freetds-dev
Mac OS X with Homebrew:
brew install freetds
Finally:
pip install pymssql
As the site pymssql_documentation page states that the module is deprecated,
we can use pip install "pymssql<3.0". It works on python 3.0 and above.
I think they should change it in the main copy area as well. as of 12/17/2019 it is still showing pip install pymssql, which has been updated on Nov 16 2019.
Just use the newest build of pymssql from gitub:
pip3 install git+https://github.com/pymssql/pymssql
Also works for python2
pip install git+https://github.com/pymssql/pymssql
UPDATE:
For macOS Big Sur Apple M1 chip processor:
You will need to install Rosetta2 emulator for the new ARM silicon (M1 chip). I just installed Rosetta2 via terminal using:
/usr/sbin/softwareupdate --install-rosetta --agree-to-license
Homebrew for ARM M1 chip:
arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
Homebrew for M1 ARM command to install packages: arch -x86_64 brew install <package>. It is necessary to install FreeTDS before installing the pymssql.
arch -x86_64 brew install freetds
Finally:
pip install pymssql
output:
Collecting pymssql
Using cached pymssql-2.1.5.tar.gz (167 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing wheel metadata ... done
Building wheels for collected packages: pymssql
Building wheel for pymssql (PEP 517) ... done
Created wheel for pymssql: filename=pymssql-2.1.5-cp39-cp39-macosx_10_9_x86_64.whl size=287029
.
.
.
Successfully built pymssql
Installing collected packages: pymssql
Successfully installed pymssql-2.1.5

issue installing lxml on python3.5 on windows

I am trying to install lxml from lxml-3.6.1-cp35-cp35m-win32.whl and then for installing I am giving command "pip install lxml-3.6.1-cp35-cp35m-win32.whl" on cmd and am getting error:
lxml-3.6.1-cp35-cp35m-win32.whl is not supported wheel on this platform.
how can I install the lxml?

Resources