inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

데이터 분석 SQL Fundamentals

실습 환경 구축 - PostgreSQL 다운로드 및 설치

postgresql 설치 오류

해결된 질문

1364

zhonghao6020

작성한 질문수 2

1

안녕하세요. 프로그램 설치시 하기 오류가 뜨는데요..

There has been an error :

The enviromental variable COMSPEC does not seem to print to the cmd.exe or there is a trailling semicolon present.

인터넷 참조해서 방화벽도 없애보고 했는데 설치가 안되어서 글을 남깁니다. 배워볼려고 하는데 설치부터 안되니 답답합니다.

sql postgresql dbms/rdbms

답변 1

1

권 철민

안녕하십니까,

음, 처음보는 에러라서 검색을 해보니, Postgres를 windows에 설치할때 registry가 충돌되어서 위 에러가 발생하는 경우들이 있는 것 같군요. 근데 해결책이 명확하지는 않은 것 같습니다만, 일단 아래에서 방법을 찾아보시면 어떨까 싶습니다.

https://stackoverflow.com/questions/72271531/postgresql-installation-error-the-environment-variable-comspec-does-not-seem-to

에 있는 내용에서

  1. 아래와 같이 수행해 보시거나.

Hi i have faced the same issue but then i changed the environment variables of CompSpec to name: ComSpec and the path: C:\Windows\system32\cmd.exe and restarted my pc and it installed successfully. Hope it helps.

아님, 아래와 같이 수행해 보시면 좋을 것 같습니다.

둘다 요약해 보면 ComSpec의 environment variables 설정을 C:\Windows\system32\cmd.exe 로 변경 했다는 내용입니다.

 

I had the same error like yesterday man and the answer above is pretty correct. I am just going to elaborate the procedure in clearor steps.

First, right-click on the Windows icon on your taskbar and select System.

In the Settings window, under Related Settings, click Advanced system settings.

On the Advanced tab, click Environment Variables.

Under System Variables click New to create a new environment variable. Name it ComSpec and set the path to point to C:\Windows\system32\cmd.exe

After creating the environment variable click Apply and then OK to have the change take effect.

Restart might be required.

Peace.

'레벨 유지'의 의미에 대한 질문

0

55

2

date_part

0

56

2

lag/lead offset 관련 질문

0

58

2

join 관련 질문 (inner join, left join)

1

101

2

배치에서 full outer join을 쓴다고 하셨는데 예시를 알 수 있을까요?

0

91

2

Madrid에 살고 있는 고객이 주문한 주문 정보를 구할것. 실습 질문드립니다

0

54

2

rollup시 null값 매출 라벨링

0

56

2

10. 조인 실습 - 02 관련 질문

0

61

1

조인실습03 - join의 pk-fk join

0

109

2

조인실습03 - join의 pk-fk join

0

70

2

(공유)맥, 스키마 import

0

82

2

sql 입문자인데, 이 강의와 sql 코딩테스트와 연관이 있을까요?

0

138

2

1인지 M인지는 결국엔 테이블을 직접 확인을 해야 하는걸까요?

0

132

2

안녕하세요. 튜닝핵심가이드강의 관련해서 여쭤보고 싶어서 남깁니다.

0

93

1

섹션5 Group by 실습-01 강의 예제 질문

0

120

2

섹션2 조인 기반 메커니즘에서 조인 실습 - 04 강의 예제 질문

0

125

2

섹션2 조인 실습 01 강의 질문

0

134

2

lead lag 이해 강의에서 윈도우 절은 사용되지 않습니다.

0

128

1

Dbeaver오류

0

632

2

직원 별 가장 높은 매출

0

119

1

강의순서대로 실습코드순알려주세요.

0

134

1

m:n inner join일 경우 cross조인과 동일하게 동작되는건가요?

0

132

1

rollup

0

91

2

Dbeaver에 접속해도 postgressql이 네비게이터에 안보입니다.

0

357

2