proto: Packages not found (cannot be excecuted)
What version?
0.39.2
Which command?
No response
What happened?
Sorry for the fuzzy title… It’s quicker to take a look at these screenshots:
For Node:
But I can find npm and corepack in ~/.proto/tools/node/20.16.0/lib/node_modules:
For Python, packages installed by pip cannot be found either:
❯ which python
/Users/royrao/.proto/shims/python
❯ python --version
Python 3.12.4
❯ pip list cyberdrop-dl
Package Version
-------------------- -----------
cyberdrop-dl 5.3.31
❯ cyberdrop-dl
zsh: command not found: cyberdrop-dl
I can only use it if I export ~/.proto/tools/python/3.12.4/install/bin to PATH.
This is too much trouble. How can I fix this? Thanks!
Trace logs?
No response
Operating system?
MacOS
Architecture?
arm64
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 21 (11 by maintainers)
Can you try the latest patch?
If it still doesn’t work, could you do the following:
PROTO_LOG=tracein your shell, before the activate command.PATH.Then send over the logs 😛
I think this will fix it. It’s hard to verify some of this stuff. https://github.com/moonrepo/proto/pull/572
@RoyRao2333 Yeah something seems off. Let me dig through the code and see if I can find the bug.