xl0 / lovely-tensors

Tensors, for human consumption
https://xl0.github.io/lovely-tensors
MIT License
1.11k stars 16 forks source link

Does not install to active virtual environment (venv) but to .local instead #7

Closed jackokring closed 1 year ago

jackokring commented 1 year ago

WARNING: The scripts f2py, f2py3 and f2py3.9 are installed in '/home/jackokring/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. WARNING: The script pygmentize is installed in '/home/jackokring/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. WARNING: The scripts fonttools, pyftmerge, pyftsubset and ttx are installed in '/home/jackokring/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. WARNING: The scripts ipython and ipython3 are installed in '/home/jackokring/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. WARNING: The scripts convert-caffe2-to-onnx, convert-onnx-to-caffe2 and torchrun are installed in '/home/jackokring/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

xl0 commented 1 year ago

Hi.

Could you please elaborate on your environment and steps needed to reproduce? I don't normally use vevns, but conda instead.

After deactivating conda, I ran

$ python -m venv test-venv
$ ./test-venv/bin/activate
(test-venv)$ pip install lovely-tensors

Which seems to have worked just fine.

jackokring commented 1 year ago

(venv) jackokring@penguin:~/www$ pip install lovely-tensors with the venv activation in .bashrc. Chromebook linux. which python is /home/jackokring/www/venv/bin/python and python-is-python3 installed. which pip is /home/jackokring/www/venv/bin/pip and a symbolic link to /home/jackokring/www/venv/bin/pip3.

jackokring commented 1 year ago

I had a really messed up venv. Problem fixed.