# Have trouble "make doc" in dev install (M1 Mac Rosetta 2)

**URL:** <https://discuss.huggingface.co/t/have-trouble-make-doc-in-dev-install-m1-mac-rosetta-2/5454>\
**Category:** 🤗Transformers\
**Created:** [April 13, 2021, 4:04am UTC](https://discuss.huggingface.co/t/have-trouble-make-doc-in-dev-install-m1-mac-rosetta-2/5454 "2021-04-13T04:04:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yusukemori](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/yusukemori/32/23302_2.png) [@yusukemori](https://discuss.huggingface.co/u/yusukemori)\
**Post date:** [April 13, 2021, 4:04am UTC](https://discuss.huggingface.co/t/have-trouble-make-doc-in-dev-install-m1-mac-rosetta-2/5454/1 "2021-04-13T04:04:52Z")

</div>

Hello,

I’d like to open a PR to update a doc, but have trouble “make doc” in my environment.

I could install the “dev” version of transformers in M1 Mac w/ Rosetta 2. The shell is `zsh`.

The error message is `make[1]: *** [html] Illegal instruction: 4`.

I’m sorry it includes Japanese, but the whole messages is shown as below:

```auto
(base) ****:**** % make docs
cd docs && make html SPHINXOPTS="-W -j 4"
Sphinx v3.2.1 を実行中
セキュリティ上の理由から、macOSおよびpython3.8以降では並列モードが無効になっています。 詳細については https://github.com/sphinx-doc/sphinx/issues/6803 をご覧ください。
保存された環境データを読み込み中... 失敗しました
失敗: ビルド環境のバージョンが最新ではありません
ビルド中 [mo]: 更新された 0 件のpoファイル
ビルド中 [html]: 更新された 108 件のソースファイル
環境データを更新中[新しい設定] 108 件追加, 0 件更新, 0 件削除
ソースを読み込み中...[0%] add_new_model                                                                                                                                                                                                     
ソースを読み込み中...[1%] benchmarks                                                                                                                                                                                                        
ソースを読み込み中...[2%] bertology                                                                                                                                                                                                         
ソースを読み込み中...[3%] community /path/to/.pyenv/versions/anaconda3-2020.11/lib/python3.8/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document
  warn("Container node skipped: type={0}".format(mdnode.t))
ソースを読み込み中...[4%] contributing                                                                                                                                                                                                      
ソースを読み込み中...[5%] converting_tensorflow_models                                                                                                                                                                                      
ソースを読み込み中...[6%] custom_datasets                                                                                                                                                                                                   
ソースを読み込み中...[7%] examples                                                                                                                                                                                                          
ソースを読み込み中...[8%] fast_tokenizers                                                                                                                                                                                                   
ソースを読み込み中...[9%] glossary                                                                                                                                                                                                          
ソースを読み込み中...[10%] index                                                                                                                                                                                                             
ソースを読み込み中...[11%] installation                                                                                                                                                                                                      
ソースを読み込み中...[12%] internal/file_utils                                                                                                                                                                                               
ソースを読み込み中...[12%] internal/generation_utils                                                                                                                                                                                         
make[1]: *** [html] Illegal instruction: 4

```

I don’t think this is a transformers problem. So I may be missing the point of asking here.  
However, if anyone has any ideas on how to solve this problem, I would be grateful for any help.

Thank you.
