Skip to content

Installing Gitstack Broke my Django/Python Installation #175

@isosphere

Description

@isosphere

I have a 64-bit Python 3.6.4 system running a django project. I have a specific DJANGO_SETTINGS_MODULE in my environment variables to allow me to administer my project from a command prompt regardless of my current working directory. I also have my PYTHONPATH variable set to C:;C:\MyProjectName

Step 1.
Installed gitstack 2.3.10 from http://s3.amazonaws.com/gitstack/GitStack_2.3.10.exe

Step 2.

C:\django-admin shell
Fatal Python error: Py_Initialize: unable to load the file system codec
  File "C:\GitStack\python\lib\encodings\__init__.py", line 123
    raise CodecRegistryError,\
                            ^
SyntaxError: invalid syntax

Current thread 0x00000128 (most recent call first):

Step 3.
Uninstall gitstack

Step 4.

c:\django-admin shell
C:\Users\mscheffel>django-admin shell
Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:54:40) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions