pycharm

From psycopg2 import sql not working

馋奶兔 提交于 2021-01-29 04:40:49
问题 Looking for some help with an issue I am having with psycopg2 and Python3. I am trying to use the sql library from psycopg2 that is available in version 2.7.1. When trying to use from psycopg2 import sql I get the error message unresolved reference 'sql' I am using Xubuntu Linux 16.04 LTS and when issuing the command pip show psycopg2 in the terminal I get: Name: psycopg2 Version: 2.7.1 Summary: psycopg2 - Python-PostgreSQL Database Adapter Home-page: http://initd.org/psycopg/ Author:

ModuleNotFoundError : no module named : crispy_forms

家住魔仙堡 提交于 2021-01-29 01:46:38
问题 I can import crispy_forms but when I run python3 manage.py runserver it say no module named crispy_forms, I can not why it is, because when I pip3 list , I can see django-crispy-forms. so I attach my setup for interpreter, really need your help interpreter setup image and Error message in terminal >>> python3 manage.py runserver Watching for file changes with StatReloader Exception in thread django-main-thread: Traceback (most recent call last): File "/Users/eunwoo/anaconda3/lib/python3.7

ModuleNotFoundError : no module named : crispy_forms

徘徊边缘 提交于 2021-01-29 01:41:58
问题 I can import crispy_forms but when I run python3 manage.py runserver it say no module named crispy_forms, I can not why it is, because when I pip3 list , I can see django-crispy-forms. so I attach my setup for interpreter, really need your help interpreter setup image and Error message in terminal >>> python3 manage.py runserver Watching for file changes with StatReloader Exception in thread django-main-thread: Traceback (most recent call last): File "/Users/eunwoo/anaconda3/lib/python3.7

SSHTunnel not installed correctly?

有些话、适合烂在心里 提交于 2021-01-28 23:51:09
问题 I'm using anaconda python 3.5.2 in PyCharm using windows 10. I'm pretty new to python and a complete noob to PyCharm! I just want to use SSHtunnel. I have intalled the package and it shown in the project interpreter page: However when I try to run the code which I cut and pasted from example 1 here https://github.com/pahaz/sshtunnel: from sshtunnel import SSHTunnelForwarder server = SSHTunnelForwarder( 'pahaz.urfuclub.ru', ssh_username="pahaz", ssh_password="secret", remote_bind_address=('127

SSHTunnel not installed correctly?

↘锁芯ラ 提交于 2021-01-28 23:50:15
问题 I'm using anaconda python 3.5.2 in PyCharm using windows 10. I'm pretty new to python and a complete noob to PyCharm! I just want to use SSHtunnel. I have intalled the package and it shown in the project interpreter page: However when I try to run the code which I cut and pasted from example 1 here https://github.com/pahaz/sshtunnel: from sshtunnel import SSHTunnelForwarder server = SSHTunnelForwarder( 'pahaz.urfuclub.ru', ssh_username="pahaz", ssh_password="secret", remote_bind_address=('127

SSHTunnel not installed correctly?

♀尐吖头ヾ 提交于 2021-01-28 23:32:47
问题 I'm using anaconda python 3.5.2 in PyCharm using windows 10. I'm pretty new to python and a complete noob to PyCharm! I just want to use SSHtunnel. I have intalled the package and it shown in the project interpreter page: However when I try to run the code which I cut and pasted from example 1 here https://github.com/pahaz/sshtunnel: from sshtunnel import SSHTunnelForwarder server = SSHTunnelForwarder( 'pahaz.urfuclub.ru', ssh_username="pahaz", ssh_password="secret", remote_bind_address=('127

Live templates file does not exist in pycharm templates folder?

偶尔善良 提交于 2021-01-28 18:12:03
问题 I wanted to insert multiple live templates. For example whenever I type prop and press tab , then pycharm would write the full property for python. I wanted to import the following list: https://github.com/hoffmann/PyCharm-Python-Templates But I can not find the templates folder in <your home directory>\.<product name><version number>\config\templates , as said in https://www.jetbrains.com/help/pycharm/2016.1/live-templates.html Also I am using the community edition 2016.1.4. 回答1: I got this

Live templates file does not exist in pycharm templates folder?

不羁岁月 提交于 2021-01-28 18:04:02
问题 I wanted to insert multiple live templates. For example whenever I type prop and press tab , then pycharm would write the full property for python. I wanted to import the following list: https://github.com/hoffmann/PyCharm-Python-Templates But I can not find the templates folder in <your home directory>\.<product name><version number>\config\templates , as said in https://www.jetbrains.com/help/pycharm/2016.1/live-templates.html Also I am using the community edition 2016.1.4. 回答1: I got this

Cannot start pycharm

99封情书 提交于 2021-01-28 12:56:39
问题 I am trying to use pycharm 4.0.3 (community version) with red hat 6.3. I downloaded Linux version from pycharm website and extracted it on my Linux machine. When I ran pycharm it Initially gave me below error ERROR: Cannot start PyCharm No JDK found. Please validate either PYCHARM_JDK, JDK_HOME or JAVA_HOME environment variable points to valid JDK installation. Then I added below two lines in my ~/.cshrc (I am using tcsh) setenv JAVA_HOME /tools/jre1.6.0 setenv PATH ${PATH}:${JAVA_HOME}/bin I