Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy
 

How to install hy via python pip




hy - A Lisp dialect embedded in Python, it belongs to Classifiers:

- License :: DFSG approved
- Programming Language :: Lisp
- Topic :: Software Development :: Code Generators
- Topic :: Software Development :: Compilers

When you know about this project and you want to new install hy to support your project or you get trouble as ModuleNotFoundError: No module named "hy" or ImportError: cannot import name "hy" in your project, let follow this tutorial to install hy



Installation:

Step 1: First, ensure you installed pip in your os, to check pip has been installed on your computer

In Windows (CMD):

py -m pip --version

In Unix/macOS:

python3 -m pip --version

Ensure pip, setuptools, and wheel are up to date:

In Windows (CMD):

py -m pip install --upgrade pip setuptools wheel

In Unix/macOS:

python3 -m pip install --upgrade pip setuptools wheel


Optional - If you want to install in virtual environment:

In Windows (CMD):

- Install virtualenv - if you installed it, please ignore

py -m pip install --user virtualenv

- Create a virtual environment

py -m venv test_hy_env

- Active the virtual environment

test_hy_env\Scripts\active

In Unix/macOS:

- Install virtualenv - if you installed it, please ignore

pip3 install virtualenv

- Create a virtual environment

python3 -m venv test_hy_env

- Active the virtual environment

source test_hy_env/bin/active


Step 2: OK, now, let flow below content to start the installation hy

To install hy on Windows(CMD):

py -m pip install hy

To install hy on Unix/macOs:

pip install hy


Step 3: If you want to install a specific hy version, add ==<hy version> to the end command line

Example:

pip install hy==0.6.0


Please see the version list below table:

VersionReleased dateCommand
hy 0.24.02022-06-23T14:22:05Windows:

py -m pip install hy==0.24.0

Unix/macOs:

pip install hy==0.24.0

hy 0.20.02021-01-25T19:39:57Windows:

py -m pip install hy==0.20.0

Unix/macOs:

pip install hy==0.20.0

hy 0.19.02020-07-16T18:26:34Windows:

py -m pip install hy==0.19.0

Unix/macOs:

pip install hy==0.19.0

hy 0.18.02020-02-02T13:40:35Windows:

py -m pip install hy==0.18.0

Unix/macOs:

pip install hy==0.18.0

hy 0.17.02019-05-20T14:34:21Windows:

py -m pip install hy==0.17.0

Unix/macOs:

pip install hy==0.17.0

hy 0.16.02019-02-12T21:26:27Windows:

py -m pip install hy==0.16.0

Unix/macOs:

pip install hy==0.16.0

hy 0.15.02018-07-21T18:40:51Windows:

py -m pip install hy==0.15.0

Unix/macOs:

pip install hy==0.15.0

hy 0.14.02018-02-14T16:33:10Windows:

py -m pip install hy==0.14.0

Unix/macOs:

pip install hy==0.14.0

hy 0.13.12018-01-01T20:10:22Windows:

py -m pip install hy==0.13.1

Unix/macOs:

pip install hy==0.13.1

hy 0.13.02017-06-24T18:01:15Windows:

py -m pip install hy==0.13.0

Unix/macOs:

pip install hy==0.13.0

hy 0.12.12017-01-24T18:43:43Windows:

py -m pip install hy==0.12.1

Unix/macOs:

pip install hy==0.12.1

hy 0.12.02017-01-18T18:25:05Windows:

py -m pip install hy==0.12.0

Unix/macOs:

pip install hy==0.12.0

hy 0.11.12015-12-24T14:32:20Windows:

py -m pip install hy==0.11.1

Unix/macOs:

pip install hy==0.11.1

hy 0.11.02015-05-09T18:15:16Windows:

py -m pip install hy==0.11.0

Unix/macOs:

pip install hy==0.11.0

hy 0.10.12014-10-10T13:46:04Windows:

py -m pip install hy==0.10.1

Unix/macOs:

pip install hy==0.10.1

hy 0.10.02014-04-11T03:01:42Windows:

py -m pip install hy==0.10.0

Unix/macOs:

pip install hy==0.10.0

hy 0.9.122013-12-31T19:25:16Windows:

py -m pip install hy==0.9.12

Unix/macOs:

pip install hy==0.9.12

hy 0.9.112013-11-13T03:00:03Windows:

py -m pip install hy==0.9.11

Unix/macOs:

pip install hy==0.9.11

hy 0.9.102013-07-06T23:31:28Windows:

py -m pip install hy==0.9.10

Unix/macOs:

pip install hy==0.9.10

hy 0.9.92013-07-06T23:24:28Windows:

py -m pip install hy==0.9.9

Unix/macOs:

pip install hy==0.9.9

hy 0.9.82013-05-12T17:32:42Windows:

py -m pip install hy==0.9.8

Unix/macOs:

pip install hy==0.9.8

hy 0.9.72013-05-06T02:56:17Windows:

py -m pip install hy==0.9.7

Unix/macOs:

pip install hy==0.9.7

hy 0.9.62013-04-16T02:28:50Windows:

py -m pip install hy==0.9.6

Unix/macOs:

pip install hy==0.9.6

hy 0.9.52013-04-07T23:37:53Windows:

py -m pip install hy==0.9.5

Unix/macOs:

pip install hy==0.9.5

hy 0.9.42013-04-06T00:40:25Windows:

py -m pip install hy==0.9.4

Unix/macOs:

pip install hy==0.9.4

hy 0.9.32013-03-30T00:30:03Windows:

py -m pip install hy==0.9.3

Unix/macOs:

pip install hy==0.9.3

hy 0.9.22013-03-15T19:29:04Windows:

py -m pip install hy==0.9.2

Unix/macOs:

pip install hy==0.9.2

hy 0.9.12013-03-12T01:07:31Windows:

py -m pip install hy==0.9.1

Unix/macOs:

pip install hy==0.9.1

hy 0.9.02013-03-10T21:36:01Windows:

py -m pip install hy==0.9.0

Unix/macOs:

pip install hy==0.9.0

hy 0.8.22013-01-22T23:40:43Windows:

py -m pip install hy==0.8.2

Unix/macOs:

pip install hy==0.8.2

hy 0.8.12013-01-22T23:39:21Windows:

py -m pip install hy==0.8.1

Unix/macOs:

pip install hy==0.8.1

hy 0.8.02013-01-22T23:38:38Windows:

py -m pip install hy==0.8.0

Unix/macOs:

pip install hy==0.8.0

hy 0.7.52012-12-31T23:43:12Windows:

py -m pip install hy==0.7.5

Unix/macOs:

pip install hy==0.7.5

hy 0.7.02012-12-29T16:38:38Windows:

py -m pip install hy==0.7.0

Unix/macOs:

pip install hy==0.7.0

hy 0.6.02012-12-23T05:08:12Windows:

py -m pip install hy==0.6.0

Unix/macOs:

pip install hy==0.6.0


Step 4: Otherwise, you can install hy from local archives:

Download the distribution file from hy-0.24.0.tar.gz or the specific hy version in the below list of distribution

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_hy_downloaded_file>

On Unix/macOs:

pip install <path_to_hy_downloaded_file>


List distribution:

- hy-0.6.0.tar.gz
- hy-0.7.0.tar.gz
- hy-0.7.5.tar.gz
- hy-0.8.0.tar.gz
- hy-0.8.1.tar.gz
- hy-0.8.2.tar.gz
- hy-0.9.0.tar.gz
- hy-0.9.1.tar.gz
- hy-0.9.2.tar.gz
- hy-0.9.3.tar.gz
- hy-0.9.4.tar.gz
- hy-0.9.5.tar.gz
- hy-0.9.6.tar.gz
- hy-0.9.7.tar.gz
- hy-0.9.8.tar.gz
- hy-0.9.9.tar.gz
- hy-0.9.10.tar.gz
- hy-0.9.11.tar.gz
- hy-0.9.12.tar.gz
- hy-0.10.0.tar.gz
- hy-0.10.1.tar.gz
- hy-0.11.0.tar.gz
- hy-0.11.1.tar.gz
- hy-0.12.0.tar.gz
- hy-0.12.1.tar.gz
- hy-0.13.0.tar.gz
- hy-0.13.1-py2.py3-none-any.whl
- hy-0.13.1.tar.gz
- hy-0.14.0-py2.py3-none-any.whl
- hy-0.14.0.tar.gz
- hy-0.15.0-py2.py3-none-any.whl
- hy-0.15.0.tar.gz
- hy-0.16.0-py2.py3-none-any.whl
- hy-0.16.0.tar.gz
- hy-0.17.0-py2.py3-none-any.whl
- hy-0.17.0.tar.gz
- hy-0.18.0-py2.py3-none-any.whl
- hy-0.18.0.tar.gz
- hy-0.19.0-py2.py3-none-any.whl
- hy-0.19.0.tar.gz
- hy-0.20.0-py2.py3-none-any.whl
- hy-0.20.0.tar.gz
- hy-0.24.0.tar.gz (python version >= 3.7, < 3.11)
- hy-0.25.0.tar.gz (python version >= 3.7, < 3.12)
- hy-1.0a1-py2.py3-none-any.whl
- hy-1.0a1.tar.gz
- hy-1.0a2-py2.py3-none-any.whl
- hy-1.0a2.tar.gz
- hy-1.0a3-py2.py3-none-any.whl
- hy-1.0a3.tar.gz
- hy-1.0a4-py3-none-any.whl (python version >= 3.7, < 3.11)
- hy-1.0a4.tar.gz (python version >= 3.7, < 3.11)


Project link:

- Homepage
- Documentation
- Source