선생님, 안녕하세요? 저는 postgresql을 써서요. 그래도 하기와 같이 하면 되야하는데 같은 'psycopg2' 관련해서 계속 에러가 떠서요. 구글 찾아 가이드대로 깔아도 잘 안되는데 도와주십시요 ㅠ. 사실 pip install psycopg2하면 "Requirement already satisfied: psycopg2 in c:usersminanaconda3libsite-packages" 뜨기는 하거든요. 4시간을 헤메다가 ㅠ 글남깁니다. ----소스코드---- from sqlalchemy import create_engine engine = create_engine('postgresql://postgres:@비번@localhost/digitalclass') ----에러메시지---- Traceback (most recent call last): File "C:UsersminDownloadstest.py", line 4, in engine = create_engine('postgresql://postgres:@OPtimus7624@localhost/digitalclass') File "C:UsersminAnaconda3envsdigitalhw1libsite-packagessqlalchemyengine init .py", line 424, in create_engine return strategy.create(*args, kwargs) File "C:UsersminAnaconda3envsdigitalhw1libsite-packagessqlalchemyenginestrategies.py", line 81, in create dbapi = dialect_cls.dbapi( dbapi_args) File "C:UsersminAnaconda3envsdigitalhw1libsite-packagessqlalchemydialectspostgresqlpsycopg2.py", line 584, in dbapi import psycopg2 File "C:UsersminAnaconda3envsdigitalhw1libsite-packagespsycopg2-2.6.2-py3.4-win-amd64.eggpsycopg2 init .py", line 50, in from psycopg2._psycopg import BINARY, NUMBER, STRING, DATETIME, ROWID ImportError: No module named 'psycopg2._psycopg
강사님께서 올려주신 동영상에는 클래스 생성시에 오버라이드가 자동적으로 함께 생성되는데 제가 할때는 안되네요 ㅠㅠ 조금 다른 개발환경이라 그런걸까요? jdk 1.8.0_171 tomcat 9.0.7 Eclipse Oxygen.3a 사용중입니다. (처음 자바 10 깔아쓸 때에는 톰캣조차 안되어 한참 삽질도 했었어요;)
구름IDE에서 github에서 소스를 Clone 해서 하고 있습니다. 그런데 하라는 데로 다 했는데 실행이 안되네요. 아래처럼 메시지가 나오는데, 어떻게 해야 하나요? 루비나 레일즈 이런것들이 버전이 안맞아서 그런가요? root@goorm:/workspace/inflearn-rorproject-# cd /workspace/inflearn-rorproject- && rails s -b 0.0.0.0 -p 3000 /usr/local/rvm/gems/ruby-2.4.0/gems/thread_safe-0.3.5/lib/thread_safe/cache.rb:155: warning: constant ::Fixnum is deprecated => Booting WEBrick => Rails 4.2.5 application starting in development on http://0.0.0.0:3000 => Run`rails server -h`for more startup options => Ctrl-C to shutdown server /usr/local/rvm/gems/ruby-2.4.0/gems/thread_safe-0.3.5/lib/thread_safe/cache.rb:155: warning: constant ::Fixnum is deprecated /usr/local/rvm/gems/ruby-2.4.0/gems/thread_safe-0.3.5/lib/thread_safe/cache.rb:155: warning: constant ::Fixnum is deprecated /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.5/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Fixnum is deprecated /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.5/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Bignum is deprecated Exiting /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.5/lib/active_support/core_ext/numeric/conversions.rb:124:in`block (2 levels) in ': stack level too deep (SystemStackError) from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.5/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>' from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.5/lib/active_support/core_ext/numeric/conversions.rb:131:in`block (2 levels) in ' from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.5/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>' from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.5/lib/active_support/core_ext/numeric/conversions.rb:131:in`block (2 levels) in ' from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.5/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>' from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.5/lib/active_support/core_ext/numeric/conversions.rb:131:in`block (2 levels) in ' from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.5/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>' from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.5/lib/active_support/core_ext/numeric/conversions.rb:131:in`block (2 levels) in ' ... 5013 levels... from /workspace/inflearn-rorproject-/bin/spring:15:in `require' from /workspace/inflearn-rorproject-/bin/spring:15:in`<top (required)>' from bin/rails:3:in `load' from bin/rails:3:in`'
질문드립니당 <li class="alcohol high" data-lo="cn">양주 에서 양주의 class는 alcohol high 라고 적혀있는데, """ param = {'data-lo':'cn','class':'alcohol'} print("5",soup.find("li",param).string) """ 에서는 왜 class가 alcohol이라고 되어있는건가요?ㅠㅠ
강의 재밌게 잘 보고있습니다! 다름이 아니라 에러가 하나 안잡히는 것이 있는데요. 'Contact 데이터 추가기능 구현 | 컴포넌트 응용' 수업 부분에 Uncaught TypeError: Cannot read property 'func' of undefined 이 에러rk 저는 도저히 안잡히는데요... npm install --save prop-types import PropTypes from 'prop-types'; (ContactCreate.js) 이 두단계를 모두 진행했는데 여전히 같은 에러가 뜹니다... 구글링을 계속 해봐도 같은 답변 뿐이어서 답이 없네요 ㅠㅠ