"I  believe the current recommendation is to use a python virtual 
environment, which is a little bit of extra commands to make it work but it 
does work well. I would suggest looking through the group archive as I 
remember a lot of people have talked about this in the past"

I started installing into *--user* with *--break-system-packages*.  I 
reasoned that Leo's dependencies would probably not affect the system 
install, and if they would, the system would already have installed its 
preferred version.  What one would want to avoid is that Leo's install 
would try to update a package that system depends on.  So far so good.

With some Linux VMs I have been starting to use venvs. I understand the 
benefits but it's a nuisance for me to remember what VMs use them and what 
ones don't. and to remember to source bin/activate instead of just 
bin/activate.
On Tuesday, July 30, 2024 at 7:05:45 AM UTC-4 mys...@gmail.com wrote:

>
>
> On Tue, Jul 30, 2024, 04:53 lewis <lewi...@fastmail.com.au> wrote:
>
>>
>>
>> On Monday, July 29, 2024 at 9:42:41 PM UTC+10 mys...@gmail.com wrote:
>>
>> Out of curiosity, did you attempt 
>> pipx install -r requirements.txt
>> ?
>>
>> Mike
>>
>> Running wsl2 Ubuntu I just tried: 
>> pipx install -r requirements.txt
>> [snip]
>> pipx: error: unrecognized arguments: -r
>>
>> Currently pipx does not support using a requirements.txt file. See 
>> https://github.com/pypa/pipx/issues/1031
>>
>
> Ah, sorry for having you bark up the wrong tree.
>
> I was not certain it would work and I admit to not having tried it myself, 
> my initial thought was that it would work very similarly to the regular pip 
> commandment but apparently does not.
>
> That said, the warning for pip installing things that conflict with system 
> libraries is endemic on pretty much every new distribution, regardless of 
> being installed within WSL or otherwise [bare metal, vm, container] 
> non-specific. 
>
> I believe the current recommendation is to use a python virtual 
> environment, which is a little bit of extra commands to make it work but it 
> does work well. I would suggest looking through the group archive as I 
> remember a lot of people have talked about this in the past. 
>
> Again, my apologies for not realizing a similar pipx command was not 
> possible. 
>
> Mike
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/43f6cfcb-6bac-4c1e-b14c-29b1128cb01fn%40googlegroups.com.

Reply via email to