PyEnchant installation issues - python-3.x

I'm trying to install PyEnchant, but when I write:
pip install pyenchant
in terminal I get:
-bash: pip: command not found
I have looked into installing PyEnchant with a wheel as well but I get the same error.
How do I install PyEnchant?

Python 3 required the pip3 command instead of just pip.
Use:
pip3 install pyenchant

Related

Error when trying to install oct2py package

I am trying to install to oct2py package to import in my python script. However whenever I run the command pip install oct2py I get the following error:
Fatal error in launcher: Unable to create process using '"c:\python37\python.exe" "C:\Program Files\Python37\Scripts\pip.exe" ': file cannot be found.
How can I install oct2py?
Found the answer
Deinstalled python and reinstalled it. I checked the environment variable and changed it from this one : 'C:\Program Files\Python39' to this one 'C:\Users\lsee\AppData\Local\Programs\Python\Python39'.
Is unable to locate your pip installer, easy fix is unusually to either upgrade or test pip :
# to upgrade your pip
python -m pip install --upgrade pip
pip --version
# test you have pip in your machine
If your pip version is showing that means you have it installed, it could be a problem activating your virtual environnement, or your path.
It says the file cannot be locate, are you sure your path for Python and pip is correct ?
Try:
python -m pip install oct2py
This should work (as python -m pip install gave not errors)

Not able to install packages using pip in python

i am using
python --version
Python 3.7.4
pip --version
pip 19.0.3 from c:\users\lijin.durairaj\appdata\local\programs\python\python37-32\lib\site-packages\pip (python 3.7)
now, i try to install packages using pip, like this
python -m pip install --user requests
but when i execute this command i am getting error like this
i tried to install the packages along with the proxy set, like this
pip install --proxy=https://[username:password#]proxyserver:port requests
but i am getting the same error, could someone help me on how to solve it, thanks
UPDATE-1
I even tried to navigate to the scripts directory and do a pip install, like this
C:\Users\lijin.durairaj\AppData\Local\Programs\Python\Python37-32\Scripts>pip install matplotlib
but i am getting the same error

How to run pip from python3.7.1

I'm having python3.7.1 installed on my Mac, but when I run the command pip --version it shows syntax error. It's said that for python3 and greater versions pip is pre-installed, but why still I'm not able to use pip from python3?
pip might be outdated, check for updates running this command on terminal in your Mac:
pip install -U pip
Also doble check the version you have by running:
python --version
if you get
“Python is not defined”
you will need to reinstall it.
Further reading: Installing Python Modules

Simple python library can't install

Windows 10 Enterprise version 10.0.1.15063 build 15063. Tried both pip and pip3:
pip install scipy
pip3 install scipy
Both didn't work. Even tried to specify path of python directory, still didn't work.
If you're using Windows, open Command Prompt (CMD) and run this command
run python pip -m install [module]
OR
run py pip -m install [module]
Finally installed.
Just updated git and ran the same command again "pip install scipy"
but this time it worked and installed the library.

Issue installing shapely Python Package

I am running python 3.6 on windows and am attempting to install Shapely using
pip install shapely==1.6b2
It is giving me the following errors
Command "python setup.py egg_info" failed with error code 1 in C:\Users\Cameron\AppData\Local\Temp\pip-build-242ae_ih\shapely\
I have seen the other posts about this issue and have tried:
pip install --upgrade setuptools
pip install ez_setup
easy_install -U setuptools
Nothing seems to work and I am not sure what to do next. Any advice would be appreciated.
Thanks
You may try to use the binary from this unofficial site. Just use pip install {wheel file name} to install it.
Shapely‑1.5.17‑cp36‑cp36m‑win32.whl (32-bit)
Shapely‑1.5.17‑cp36‑cp36m‑win_amd64.whl (64-bit)
Hope this would make the installation easier.
I had a similar error for installing shapely-1.5.17 via pip install shapely, and installing this made the pip install command work thereafter:
sudo apt-get install libgeos-dev
As of 2020, you can now simply install Shapely for Windows with:
pip install shapely
(you many need --upgrade to get at least version 1.7.0, when binary wheels were added for Windows)

Resources