heroku / heroku-django-template

A Django 2.0 base template featuring all recommended best practices for deployment on Heroku and local development.
https://www.heroku.com/python
903 stars 0 forks source link

socket error #91

Open slemkemeier opened 6 years ago

slemkemeier commented 6 years ago

Hi,

When trying to create a new django app (using django-admin.py startproject --template=https://github.com/heroku/heroku-django-template/archive/master.zip --name=Procfile helloworld) I receive the following error:

CommandError: couldn't download URL https://github.com/heroku/heroku-django-template/archive/master.zip to master.zip: [Errno socket error] [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590)

I haven't been able to figure out why. I am on a Mac. Thanks so much!

akshaybabloo commented 6 years ago

Which version of Python and Django are you using? Also can you paste in your pip freeze and try doing django-admin startproject helloworld --template=https://github.com/heroku/heroku-django-template/archive/master.zip --name=Procfile --verbosity 3

slemkemeier commented 6 years ago

I receive the same error with that command. I pasted my pip freeze below. I specified Python 3.6 in my Pipfile, but do I need to do it somewhere else as well? I installed django using pip3, I am not sure how to check the version.

altgraph==0.10.2 appnope==0.1.0 awsebcli==3.12.4 backports-abc==0.5 backports.shutil-get-terminal-size==1.0.0 bdist-mpkg==0.5.0 blessed==1.14.2 bonjour-py==0.3 botocore==1.9.16 cement==2.8.2 certifi==2018.1.18 colorama==0.3.7 decorator==4.2.1 Django==1.9.12 dockerpty==0.4.1 docopt==0.6.2 docutils==0.14 enum34==1.1.6 ipython==5.5.0 ipython-genutils==0.2.0 jmespath==0.9.3 macholib==1.5.1 matplotlib==1.3.1 modulegraph==0.10.4 ndg-httpsclient==0.4.4 numpy==1.8.0rc1 ordereddict==1.1 pathlib==1.0.1 pathlib2==2.3.0 pathspec==0.5.5 pexpect==4.4.0 pickleshare==0.7.4 pipenv==11.9.0 prompt-toolkit==1.0.15 ptyprocess==0.5.2 py2app==0.7.3 pyasn1==0.4.2 Pygments==2.2.0 pyobjc-core==2.5.1 pyobjc-framework-Accounts==2.5.1 pyobjc-framework-AddressBook==2.5.1 pyobjc-framework-AppleScriptKit==2.5.1 pyobjc-framework-AppleScriptObjC==2.5.1 pyobjc-framework-Automator==2.5.1 pyobjc-framework-CFNetwork==2.5.1 pyobjc-framework-Cocoa==2.5.1 pyobjc-framework-Collaboration==2.5.1 pyobjc-framework-CoreData==2.5.1 pyobjc-framework-CoreLocation==2.5.1 pyobjc-framework-CoreText==2.5.1 pyobjc-framework-DictionaryServices==2.5.1 pyobjc-framework-EventKit==2.5.1 pyobjc-framework-ExceptionHandling==2.5.1 pyobjc-framework-FSEvents==2.5.1 pyobjc-framework-InputMethodKit==2.5.1 pyobjc-framework-InstallerPlugins==2.5.1 pyobjc-framework-InstantMessage==2.5.1 pyobjc-framework-LatentSemanticMapping==2.5.1 pyobjc-framework-LaunchServices==2.5.1 pyobjc-framework-Message==2.5.1 pyobjc-framework-OpenDirectory==2.5.1 pyobjc-framework-PreferencePanes==2.5.1 pyobjc-framework-PubSub==2.5.1 pyobjc-framework-QTKit==2.5.1 pyobjc-framework-Quartz==2.5.1 pyobjc-framework-ScreenSaver==2.5.1 pyobjc-framework-ScriptingBridge==2.5.1 pyobjc-framework-SearchKit==2.5.1 pyobjc-framework-ServiceManagement==2.5.1 pyobjc-framework-Social==2.5.1 pyobjc-framework-SyncServices==2.5.1 pyobjc-framework-SystemConfiguration==2.5.1 pyobjc-framework-WebKit==2.5.1 pyOpenSSL==0.13.1 pyparsing==2.0.1 python-dateutil==2.6.1 pytz==2013.7 PyYAML==3.12 requests==2.9.1 scandir==1.7 scipy==0.13.0b1 semantic-version==2.5.0 simplegeneric==0.8.1 singledispatch==3.4.0.3 six==1.11.0 tabulate==0.7.5 termcolor==1.1.0 tornado==4.5.3 traitlets==4.3.2 vboxapi==1.0 virtualenv==15.2.0 virtualenv-clone==0.3.0 wcwidth==0.1.7 websocket-client==0.47.0 xattr==0.6.4 zope.interface==4.1.1

slemkemeier commented 6 years ago

Never mind, dumb problem, I was working outside of the virtual env. Thanks for your help!