よしだです

プログラミングの勉強してます

vagrant

Djangoのサーバーにホスト名で弾かれる

pythonの環境構築が無事に終了し、 django-admin startproject mysite でアプリを作り python manage.py runserver 192.168.33.10:8000 でサーバーを起動しアクセスしたところ Starting development server at http://192.168.33.10:8080/ Quit the server w…

pythonにsqlite3が無いと怒られる

djangoのインストールが終わったので早速チュートリアルをやろうとしたら、変なエラーが出る。 Traceback (most recent call last): File "/home/vagrant/.virtualenvs/django/lib/python3.6/site-packages/django/db/backends/sqlite3/base.py", line 33, i…

Python2.6でvirtualenvwrapper.shにエラーが出る

Pythonを覚えようと思い、とりあえず環境構築だーということでVagrant上でvirtualenvをインストール。 すると、途中でこんなエラーが出てうまくいかない。 Traceback (most recent call last): File "/usr/lib64/python2.6/runpy.py", line 122, in _run_mod…

vagrantからgithubにpushしようとしたら出来なかった

error: The requested URL returned error: 403 Forbidden while accessing https://github.com/YAhiru/ticket_reserve.git/info/refs fatal: HTTP request failedってエラーが出たんで その対処法 git remote set-url origin https://YAhiru@github.com/YAh…