-
I've been trying to install torchlensmaker but it appears to have some dependency issues that prevent installation: I first tried
I second tried
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hey! Thanks for trying out the project 😃 The command you should use is I also highly recommend that you do it in a clean virtual env using venv directly or a tool like uv. My guess is you're trying to install into an environment which has existing dependencies like notebook already installed. |
Beta Was this translation helpful? Give feedback.
-
I got it to install! It seems like my default python version of 3.13 might be too new? uv didn't work for me, despite trying to set up a venv with Python 3.11, but pyenv did. Not sure why. I had to do the following: brew install pyenv
pyenv install 3.11
#add pyenv lines to rc file and restart shell
pyenv shell 3.11
pip install torchlensmaker |
Beta Was this translation helpful? Give feedback.
I got it to install! It seems like my default python version of 3.13 might be too new? uv didn't work for me, despite trying to set up a venv with Python 3.11, but pyenv did. Not sure why.
I had to do the following:
brew install pyenv pyenv install 3.11 #add pyenv lines to rc file and restart shell pyenv shell 3.11 pip install torchlensmaker