0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

anyenv を使っていて command not found: django-admin になったときの対処法

Posted at

anyenv で pyenv を入れて使っていますが、そこで Django を使おうと思ったときに command not found: django-admin エラーに出会ったのでメモ。

anyenv の下の pyenv に django-admin.py があるので、それをシンボリックリンクで PATH を通してやればいい。

ln -s ~/.anyenv/envs/pyenv/versions/3.7.4/lib/python3.7/site-packages/django/bin/django-admin.py /usr/local/bin
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?