# Install pytorch in mac

**URL:** <https://discuss.pytorch.org/t/install-pytorch-in-mac/6720>\
**Category:** Uncategorized\
**Created:** [August 25, 2017, 7:33am UTC](https://discuss.pytorch.org/t/install-pytorch-in-mac/6720 "2017-08-25T07:33:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wwxFromTju](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/wwxfromtju/32/1376_2.png) [@wwxFromTju](https://discuss.pytorch.org/u/wwxFromTju)\
**Post date:** [August 25, 2017, 7:33am UTC](https://discuss.pytorch.org/t/install-pytorch-in-mac/6720/1 "2017-08-25T07:33:31Z")

</div>

hey, When I install the pytorch in mac, something wrong:

ld: library not found for -lcudnn  
clang: error: linker command failed with exit code 1 (use -v to see invocation)  
error: command ‘clang’ failed with exit status 1
