databio / pypiper

Python toolkit for building restartable pipelines
http://pypiper.databio.org
BSD 2-Clause "Simplified" License
45 stars 9 forks source link

Package name is case-sensitive for import? #190

Closed vreuter closed 1 year ago

vreuter commented 1 year ago

In the docs and in the past, I think import pypiper worked, but now after a fresh pip install pypiper into a virtual environment, only import pyPiper works, not import pyPiper. This is on Python 3.10.6 and Ubuntu 22.04.

$ virtualenv ~/venvs/temp
created virtual environment CPython3.10.6.final.0-64 in 305ms
  creator CPython3Posix(dest=/home/vr/venvs/temp, clear=False, no_vcs_ignore=False, global=False)
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/vr/.local/share/virtualenv)
    added seed packages: pip==23.1.2, setuptools==67.8.0, wheel==0.40.0
  activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
$ source ~/venvs/temp/bin/activate
(temp) $ pip install pypiper
Collecting pypiper
  Using cached pyPiper-0.5.3-py3-none-any.whl
Installing collected packages: pypiper
Successfully installed pypiper-0.5.3
(temp) $ python
Python 3.10.6 (main, Mar 10 2023, 10:55:28) [GCC 11.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pypiper
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'pypiper'
>>> import pyPiper
>>>
vreuter commented 1 year ago

Ah OK, I'd forgotten we need pip install piper, in particular piper NOT pypiper