dylan-profiler / visions

Type System for Data Analysis in Python
https://dylan-profiler.github.io/visions/visions/getting_started/usage/types.html
Other
203 stars 19 forks source link

Cannot install `visions[type_image_path]` using pip #198

Closed irvinktang closed 1 year ago

irvinktang commented 1 year ago

Describe the bug Cannot install visions[type_image_path].

Running pip install visions succeeds:

DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
Requirement already satisfied: visions in /usr/local/lib/python3.9/site-packages (0.7.5)
Requirement already satisfied: tangled-up-in-unicode>=0.0.4 in /usr/local/lib/python3.9/site-packages (from visions) (0.2.0)
Requirement already satisfied: numpy in /usr/local/lib/python3.9/site-packages (from visions) (1.20.1)
Requirement already satisfied: multimethod>=1.4 in /usr/local/lib/python3.9/site-packages (from visions) (1.9)
Requirement already satisfied: networkx>=2.4 in /usr/local/lib/python3.9/site-packages (from visions) (2.8.7)
Requirement already satisfied: pandas>=0.25.3 in /usr/local/lib/python3.9/site-packages (from visions) (1.2.3)
Requirement already satisfied: attrs>=19.3.0 in /usr/local/lib/python3.9/site-packages (from visions) (20.3.0)
Requirement already satisfied: python-dateutil>=2.7.3 in /usr/local/lib/python3.9/site-packages (from pandas>=0.25.3->visions) (2.8.1)
Requirement already satisfied: pytz>=2017.3 in /usr/local/lib/python3.9/site-packages (from pandas>=0.25.3->visions) (2021.1)
Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.9/site-packages (from python-dateutil>=2.7.3->pandas>=0.25.3->visions) (1.16.0)
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621

However, running pip install visions[type_image_path] fails with:

zsh: no matches found: visions[type_image_path]

To Reproduce Using:

Expected behavior I should be able to install visions with the type_image_path extra as I described

ieaves commented 1 year ago

Hi @irvinktang zsh signals an error when it receives special characters like [ or ]. You can either quote the package installation or use escape characters i.e.

 pip install 'visions[type_image_path]'

 or

 pip install visions\[type_image_path\]