You can also, and this is the preferred way, install it in the venv
and use it in the venv.
When you activate the venv shell, you can `pip install` anything you
want. The packages will be installed inside the venv, and you don't
need any PYTHONUSERBASE or PYTHONPATH. The venv already manages this.
Marco Sulla writes:
> I do not know poetry, but it seems it uses virtual environments, so I
> suppose it's quite more simple if you run
>
> poetry shell
>
> and install and run all you need.
As I understand it, that would just create a shell within the virtual
environment. That wouldn't help me
I do not know poetry, but it seems it uses virtual environments, so I
suppose it's quite more simple if you run
poetry shell
and install and run all you need.
--
https://mail.python.org/mailman/listinfo/python-list
"Loris Bennett" writes:
> Hi,
>
> I'm using poetry and in my pyproject.toml I have
>
> [tool.poetry.scripts]
> batchmon = "batch_monitor.main:main"
>
> I build the package with
>
> poetry build
>
> and then install with
>
> pip3 install --target=/home/loris/test/lib/python-3.6/site-packag
Hi,
I'm using poetry and in my pyproject.toml I have
[tool.poetry.scripts]
batchmon = "batch_monitor.main:main"
I build the package with
poetry build
and then install with
pip3 install --target=/home/loris/test/lib/python-3.6/site-packages
--install-option="--install-scripts=/home/l