Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while installing packages (mac m2) #66

Open
jsmagnuson opened this issue Apr 25, 2024 · 3 comments
Open

Error while installing packages (mac m2) #66

jsmagnuson opened this issue Apr 25, 2024 · 3 comments

Comments

@jsmagnuson
Copy link

I've just downloaded TorchStudio on an M2 macbook.

When I open it, I'm prompted to click 'Install' in the popup TorchStudio Python Environment window. The popup says: 'TorchStudio will install a Python environment in /users/myhome/TorchStudio/python', and there's a selection drop down that says 'Install PyTorch (recommended)' (and that's the only option). I can click 'Install (recommended)', 'Select' (not sure what this is for), or 'Quit'.

When I click install I get the log text below the '---' below in the window, but it ultimately fails -- the last line is 'Error while installing packages' with no clue why. Any suggestions?

Thank you

jim


Downloading, installing and setting up a macOS python environment
This may take up to 5 minutes depending on your download speed, and up to 5 GB.

Downloading Python installer Miniconda3-latest-MacOSX-arm64.sh...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 101M 100 101M 0 0 44.1M 0 0:00:02 0:00:02 --:--:-- 44.1M

Installing Python in /Users/jsm04005/TorchStudio/python...
PREFIX=/Users/jsm04005/TorchStudio/python
Unpacking payload ...

Installing base environment...

Preparing transaction: ...working... done
Executing transaction: ...working...
done
installation finished.
Downloading and installing the graphviz package...

Channels:

  • conda-forge
  • defaults
    Platform: osx-arm64
    Collecting package metadata (repodata.json): ...working... done
    Solving environment: ...working... done

Package Plan

environment location: /Users/jsm04005/TorchStudio/python

added / updated specs:
- python-graphviz

The following packages will be downloaded:

package                    |            build
---------------------------|-----------------
atk-1.0-2.38.0             |       hcb7b3dd_1         364 KB  conda-forge
cairo-1.16.0               |       h302bd0f_5         1.0 MB
certifi-2024.2.2           |     pyhd8ed1ab_0         157 KB  conda-forge
conda-24.3.0               |  py312h81bd7bf_0         1.1 MB  conda-forge
font-ttf-dejavu-sans-mono-2.37|       hab24e00_0         388 KB  conda-forge
font-ttf-inconsolata-3.000 |       h77eed37_0          94 KB  conda-forge
font-ttf-source-code-pro-2.038|       h77eed37_0         684 KB  conda-forge
font-ttf-ubuntu-0.83       |       h77eed37_1         1.5 MB  conda-forge
fontconfig-2.14.2          |       h82840c6_0         232 KB  conda-forge
fonts-conda-ecosystem-1    |                0           4 KB  conda-forge
fonts-conda-forge-1        |                0           4 KB  conda-forge
freetype-2.12.1            |       hadb7bae_2         582 KB  conda-forge
fribidi-1.0.10             |       h27ca646_0          59 KB  conda-forge
gdk-pixbuf-2.42.10         |       h9bcf4fe_0         522 KB  conda-forge
gettext-0.21.0             |       h13f89a0_1         3.1 MB
giflib-5.2.2               |       h93a5062_0          70 KB  conda-forge
glib-2.78.4                |       h313beb8_0         507 KB
glib-tools-2.78.4          |       h313beb8_0         106 KB
graphite2-1.3.14           |       hc377ac9_1          75 KB
graphviz-4.0.0             |       hc7d6d94_0         7.6 MB  conda-forge
gtk2-2.24.33               |       h57013de_2         7.0 MB  conda-forge
gts-0.7.6                  |       h4b6d4d6_2         357 KB  conda-forge
harfbuzz-4.3.0             |       he9eebac_2         1.1 MB
jpeg-9e                    |       h1a8c8d9_3         213 KB  conda-forge
lerc-4.0.0                 |       h9a09cb3_0         211 KB  conda-forge
libdeflate-1.17            |       h1a8c8d9_0          47 KB  conda-forge
libexpat-2.5.0             |       hb7217d7_1          62 KB  conda-forge
libgd-2.3.3                |       h313beb8_3         225 KB
libglib-2.78.4             |       h0a96307_0         2.7 MB
libpng-1.6.43              |       h091b4b1_0         258 KB  conda-forge
librsvg-2.54.4             |       ha2634a2_0         7.0 MB  conda-forge
libsqlite-3.45.3           |       h091b4b1_0         805 KB  conda-forge
libtiff-4.5.0              |       h5dffbdd_2         339 KB  conda-forge
libtool-2.4.7              |       hb7217d7_0         399 KB  conda-forge
libwebp-1.2.4              |       h999c80f_1          76 KB  conda-forge
libwebp-base-1.2.4         |       h1a8c8d9_0         257 KB  conda-forge
libzlib-1.2.13             |       h53f4e23_5          47 KB  conda-forge
llvm-openmp-18.1.3         |       hcd81f8e_0         270 KB  conda-forge
openssl-3.2.1              |       h0d3ecfb_1         2.7 MB  conda-forge
pango-1.50.7               |       h9fd36ab_0         433 KB  conda-forge
pixman-0.40.0              |       h27ca646_0         285 KB  conda-forge
python-3.12.2              |hdf0ec26_0_cpython        12.5 MB  conda-forge
python-graphviz-0.20.3     |     pyh717bed2_0          37 KB  conda-forge
python_abi-3.12            |          4_cp312           6 KB  conda-forge
tk-8.6.13                  |       h5083fa2_1         3.0 MB  conda-forge
zlib-1.2.13                |       h53f4e23_5          78 KB  conda-forge
------------------------------------------------------------
                                       Total:        58.5 MB

The following NEW packages will be INSTALLED:

atk-1.0 conda-forge/osx-arm64::atk-1.0-2.38.0-hcb7b3dd_1
cairo pkgs/main/osx-arm64::cairo-1.16.0-h302bd0f_5
font-ttf-dejavu-s~ conda-forge/noarch::font-ttf-dejavu-sans-mono-2.37-hab24e00_0
font-ttf-inconsol~ conda-forge/noarch::font-ttf-inconsolata-3.000-h77eed37_0
font-ttf-source-c~ conda-forge/noarch::font-ttf-source-code-pro-2.038-h77eed37_0
font-ttf-ubuntu conda-forge/noarch::font-ttf-ubuntu-0.83-h77eed37_1
fontconfig conda-forge/osx-arm64::fontconfig-2.14.2-h82840c6_0
fonts-conda-ecosy~ conda-forge/noarch::fonts-conda-ecosystem-1-0
fonts-conda-forge conda-forge/noarch::fonts-conda-forge-1-0
freetype conda-forge/osx-arm64::freetype-2.12.1-hadb7bae_2
fribidi conda-forge/osx-arm64::fribidi-1.0.10-h27ca646_0
gdk-pixbuf conda-forge/osx-arm64::gdk-pixbuf-2.42.10-h9bcf4fe_0
gettext pkgs/main/osx-arm64::gettext-0.21.0-h13f89a0_1
giflib conda-forge/osx-arm64::giflib-5.2.2-h93a5062_0
glib pkgs/main/osx-arm64::glib-2.78.4-h313beb8_0
glib-tools pkgs/main/osx-arm64::glib-tools-2.78.4-h313beb8_0
graphite2 pkgs/main/osx-arm64::graphite2-1.3.14-hc377ac9_1
graphviz conda-forge/osx-arm64::graphviz-4.0.0-hc7d6d94_0
gtk2 conda-forge/osx-arm64::gtk2-2.24.33-h57013de_2
gts conda-forge/osx-arm64::gts-0.7.6-h4b6d4d6_2
harfbuzz pkgs/main/osx-arm64::harfbuzz-4.3.0-he9eebac_2
jpeg conda-forge/osx-arm64::jpeg-9e-h1a8c8d9_3
lerc conda-forge/osx-arm64::lerc-4.0.0-h9a09cb3_0
libdeflate conda-forge/osx-arm64::libdeflate-1.17-h1a8c8d9_0
libexpat conda-forge/osx-arm64::libexpat-2.5.0-hb7217d7_1
libgd pkgs/main/osx-arm64::libgd-2.3.3-h313beb8_3
libglib pkgs/main/osx-arm64::libglib-2.78.4-h0a96307_0
libpng conda-forge/osx-arm64::libpng-1.6.43-h091b4b1_0
librsvg conda-forge/osx-arm64::librsvg-2.54.4-ha2634a2_0
libsqlite conda-forge/osx-arm64::libsqlite-3.45.3-h091b4b1_0
libtiff conda-forge/osx-arm64::libtiff-4.5.0-h5dffbdd_2
libtool conda-forge/osx-arm64::libtool-2.4.7-hb7217d7_0
libwebp conda-forge/osx-arm64::libwebp-1.2.4-h999c80f_1
libwebp-base conda-forge/osx-arm64::libwebp-base-1.2.4-h1a8c8d9_0
libzlib conda-forge/osx-arm64::libzlib-1.2.13-h53f4e23_5
llvm-openmp conda-forge/osx-arm64::llvm-openmp-18.1.3-hcd81f8e_0
pango conda-forge/osx-arm64::pango-1.50.7-h9fd36ab_0
pixman conda-forge/osx-arm64::pixman-0.40.0-h27ca646_0
python-graphviz conda-forge/noarch::python-graphviz-0.20.3-pyh717bed2_0
python_abi conda-forge/osx-arm64::python_abi-3.12-4_cp312

The following packages will be UPDATED:

openssl pkgs/main::openssl-3.0.13-h1a28f6b_0 --> conda-forge::openssl-3.2.1-h0d3ecfb_1
tk pkgs/main::tk-8.6.12-hb8d0fd4_0 --> conda-forge::tk-8.6.13-h5083fa2_1
zlib pkgs/main::zlib-1.2.13-h5a0b063_0 --> conda-forge::zlib-1.2.13-h53f4e23_5

The following packages will be SUPERSEDED by a higher-priority channel:

certifi pkgs/main/osx-arm64::certifi-2024.2.2~ --> conda-forge/noarch::certifi-2024.2.2-pyhd8ed1ab_0
conda pkgs/main::conda-24.3.0-py312hca03da5~ --> conda-forge::conda-24.3.0-py312h81bd7bf_0
python pkgs/main::python-3.12.2-h99e199e_0 --> conda-forge::python-3.12.2-hdf0ec26_0_cpython

Downloading and Extracting Packages: ...working... done
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working...

done

Downloading and installing pytorch packages...

Error while installing packages

@augustofilocamo
Copy link

augustofilocamo commented Apr 28, 2024

Same here! Mac M2.


Downloading and Extracting Packages: ...working... done
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working...

done

Downloading and installing pytorch packages...

Error while installing packages

@divideconcept
Copy link
Contributor

@jsmagnuson @augustofilocamo this should be fixed with TorchStudio 0.9.19, available now

@augustofilocamo
Copy link

Confirmed!!!!! Thanks mate. :)
Screenshot 2024-04-30 at 10 50 32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants