@albanD was this suppose to fail too?
    install_requires=[
        'torch>=1.4.0,<1.10.0',
        'torchvision>=0.5.0,<0.11.0',
        'torchaudio>=0.9.1',

error:
(uutils_env) brandomiranda~/ultimate-utils ❯ pip install -e .
Obtaining file:///Users/brandomiranda/ultimate-utils
  Preparing metadata (setup.py) ... done
ERROR: Could not find a version that satisfies the requirement torch<1.10.0,>=1.4.0 (from ultimate-utils) (from versions: none)
ERROR: No matching distribution found for torch<1.10.0,>=1.4.0

why is it saying
(from versions: none)

??

I think it’s the python 3.10 version that causes the issues, bizarre, why is that…? Saying that since the current installation seems to be working:
(meta_learning) brandomiranda~ ❯ conda create -n uutils_env python=3.9
conda activate uutils_env
Collecting package metadata (current_repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: /Users/brandomiranda/miniconda3/envs/uutils_env

  added / updated specs:
    - python=3.9


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    certifi-2021.10.8          |   py39hecd8cb5_0         151 KB
    pip-21.2.4                 |   py39hecd8cb5_0         1.8 MB
    python-3.9.7               |       h88f2d9e_1         9.8 MB
    setuptools-58.0.4          |   py39hecd8cb5_0         792 KB
    ------------------------------------------------------------
                                           Total:        12.5 MB

The following NEW packages will be INSTALLED:

  ca-certificates    pkgs/main/osx-64::ca-certificates-2021.10.26-hecd8cb5_2
  certifi            pkgs/main/osx-64::certifi-2021.10.8-py39hecd8cb5_0
  libcxx             pkgs/main/osx-64::libcxx-12.0.0-h2f01273_0
  libffi             pkgs/main/osx-64::libffi-3.3-hb1e8313_2
  ncurses            pkgs/main/osx-64::ncurses-6.3-hca72f7f_2
  openssl            pkgs/main/osx-64::openssl-1.1.1l-h9ed2024_0
  pip                pkgs/main/osx-64::pip-21.2.4-py39hecd8cb5_0
  python             pkgs/main/osx-64::python-3.9.7-h88f2d9e_1
  readline           pkgs/main/osx-64::readline-8.1-h9ed2024_0
  setuptools         pkgs/main/osx-64::setuptools-58.0.4-py39hecd8cb5_0
  sqlite             pkgs/main/osx-64::sqlite-3.36.0-hce871da_0
  tk                 pkgs/main/osx-64::tk-8.6.11-h7bc2e8c_0
  tzdata             pkgs/main/noarch::tzdata-2021e-hda174b7_0
  wheel              pkgs/main/noarch::wheel-0.37.0-pyhd3eb1b0_1
  xz                 pkgs/main/osx-64::xz-5.2.5-h1de35cc_0
  zlib               pkgs/main/osx-64::zlib-1.2.11-h1de35cc_3


Proceed ([y]/n)? 


Downloading and Extracting Packages
pip-21.2.4           | 1.8 MB    | ########################################################################################################################################## | 100% 
python-3.9.7         | 9.8 MB    | ########################################################################################################################################## | 100% 
setuptools-58.0.4    | 792 KB    | ########################################################################################################################################## | 100% 
certifi-2021.10.8    | 151 KB    | ########################################################################################################################################## | 100% 
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
#     $ conda activate uutils_env
#
# To deactivate an active environment, use
#
#     $ conda deactivate


then the pip install of my lib
(uutils_env) brandomiranda~/ultimate-utils ❯ pip install -e .
Obtaining file:///Users/brandomiranda/ultimate-utils
Collecting dill
  Using cached dill-0.3.4-py2.py3-none-any.whl (86 kB)
Collecting networkx>=2.5
  Using cached networkx-2.6.3-py3-none-any.whl (1.9 MB)
Collecting scipy
  Downloading scipy-1.7.3-cp39-cp39-macosx_10_9_x86_64.whl (33.2 MB)
     |████████████████████████████████| 33.2 MB 56 kB/s 
Collecting scikit-learn
  Downloading scikit_learn-1.0.1-cp39-cp39-macosx_10_13_x86_64.whl (8.0 MB)
     |████████████████████████████████| 8.0 MB 51 kB/s 
Collecting lark-parser
  Using cached lark_parser-0.12.0-py2.py3-none-any.whl (103 kB)
Collecting torchtext==0.10.1
  Downloading torchtext-0.10.1-cp39-cp39-macosx_10_9_x86_64.whl (1.5 MB)
     |████████████████████████████████| 1.5 MB 76 kB/s 
Collecting tensorboard
  Downloading tensorboard-2.7.0-py3-none-any.whl (5.8 MB)
     |████████████████████████████████| 5.8 MB 97 kB/s 
Collecting pandas
  Downloading pandas-1.3.4-cp39-cp39-macosx_10_9_x86_64.whl (11.6 MB)
     |████████████████████████████████| 11.6 MB 88 kB/s 
Collecting progressbar2
  Downloading progressbar2-3.55.0-py2.py3-none-any.whl (26 kB)
Collecting transformers
  Downloading transformers-4.13.0-py3-none-any.whl (3.3 MB)
     |████████████████████████████████| 3.3 MB 58 kB/s 
Collecting requests
  Downloading requests-2.26.0-py2.py3-none-any.whl (62 kB)
     |████████████████████████████████| 62 kB 117 kB/s 
Collecting aiohttp
  Downloading aiohttp-3.8.1-cp39-cp39-macosx_10_9_x86_64.whl (574 kB)
     |████████████████████████████████| 574 kB 26 kB/s 
Collecting numpy
  Downloading numpy-1.21.4-cp39-cp39-macosx_10_9_x86_64.whl (17.0 MB)
     |████████████████████████████████| 17.0 MB 68 kB/s 
Collecting plotly
  Downloading plotly-5.4.0-py2.py3-none-any.whl (25.3 MB)
     |████████████████████████████████| 25.3 MB 55 kB/s 
Collecting wandb
  Downloading wandb-0.12.7-py2.py3-none-any.whl (1.7 MB)
     |████████████████████████████████| 1.7 MB 64 kB/s 
Collecting matplotlib
  Downloading matplotlib-3.5.0-cp39-cp39-macosx_10_9_x86_64.whl (7.3 MB)
     |████████████████████████████████| 7.3 MB 49 kB/s 
Collecting torch<1.10.0,>=1.4.0
  Downloading torch-1.9.1-cp39-none-macosx_10_9_x86_64.whl (218.8 MB)
     |███                             | 21.0 MB 66 kB/s eta 0:49:20


I think I have those version since those are the ones I assume worked in my cluster since I have this command in my notes:
    pip3 install torch==1.9.1+cu111 torchvision==0.10.1+cu111 torchaudio==0.9.1 -f https://download.pytorch.org/whl/torch_stable.html