Impossible de supprimer complètement anaconda de mon mac

a marqué ce sujet comme résolu.

j'ai installé anaconda sur mon mac par curiosité mais il me gve avec ses repositories et ses problèmes d'installation des modules de python par exemple l'autre jour je voulais installer psycopg2 et j'ai fait pip install psycopg2 mais lui il me dit que c'est déjà installé dans un dossier anaconda et puis quand je fais import psycopg2 sur idle ou pycharm il ne recconait pa le module donc j'aiemrais savoir comment complétement désinstaller anaconda ainsi que son navigateur de mon mac

Edité par Arius : correction du titre du sujet (règle n°3 : majuscule = crier, et c'est pas poli)

+0 -0

Plop,

Bien que nous soyons très gentils (c'est vrai !) sur ZdS, il est d'autant plus appréciable (et apprécié) de dire bonjour lorsque l'on ouvre et répond à un nouveau sujet. De plus, la forme de ton message et le manque de précision ne donne pas forcément envie d'aider.

Peux-tu éditer et compléter (dans un français correct) ton post s'il te plait ?

Pour le staff, Arius.

+8 -0

bon désolé de ne pas avoir été poli, j'aimerais installer psycopg2 sur mon mac pour travailler avec postgreSQL, lorsque j'éxécute : pip install psycopg2

la sortie est:

1
Requirement already satisfied: psycopg2 in /usr/local/lib/python2.7/site-packages

mais si je vais dans idle et que je fais:

1
import psycopg2

j'obtiens la sortie suivante:

1
2
3
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named psycopg2

quelqu'un a une solution ???

J'ai essayé de me mettre sur la piste en essayant d'installer le module dans pycharm: j'obtient cette erreur:

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
Collecting psycopg2
  Using cached psycopg2-2.6.2.tar.gz
Building wheels for collected packages: psycopg2
  Running setup.py bdist_wheel for psycopg2: started
  Running setup.py bdist_wheel for psycopg2: finished with status 'error'
  Complete output from command /Library/Frameworks/Python.framework/Versions/3.4/bin/python3.4 -u -c "import setuptools, tokenize;__file__='/private/var/folders/ly/gv52lntd607_v7dlzr76b16h0000gn/T/pycharm-packaging/psycopg2/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /var/folders/ly/gv52lntd607_v7dlzr76b16h0000gn/T/tmp941z_igqpip-wheel- --python-tag cp34:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.macosx-10.6-intel-3.4
  creating build/lib.macosx-10.6-intel-3.4/psycopg2
  copying lib/__init__.py -> build/lib.macosx-10.6-intel-3.4/psycopg2
  copying lib/_json.py -> build/lib.macosx-10.6-intel-3.4/psycopg2
  copying lib/_range.py -> build/lib.macosx-10.6-intel-3.4/psycopg2
  copying lib/errorcodes.py -> build/lib.macosx-10.6-intel-3.4/psycopg2
  copying lib/extensions.py -> build/lib.macosx-10.6-intel-3.4/psycopg2
  copying lib/extras.py -> build/lib.macosx-10.6-intel-3.4/psycopg2
  copying lib/pool.py -> build/lib.macosx-10.6-intel-3.4/psycopg2
  copying lib/psycopg1.py -> build/lib.macosx-10.6-intel-3.4/psycopg2
  copying lib/tz.py -> build/lib.macosx-10.6-intel-3.4/psycopg2
  creating build/lib.macosx-10.6-intel-3.4/psycopg2/tests
  copying tests/__init__.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
  copying tests/dbapi20.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
  copying tests/dbapi20_tpc.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
  copying tests/test_async.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
  copying tests/test_bug_gc.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
  copying tests/test_bugX000.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
  copying tests/test_cancel.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
  copying tests/test_connection.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
  copying tests/test_copy.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
  copying tests/test_cursor.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
  copying tests/test_dates.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
  copying tests/test_errcodes.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
  copying tests/test_extras_dictcursor.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
  copying tests/test_green.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
  copying tests/test_lobject.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
  copying tests/test_module.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
  copying tests/test_notify.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
  copying tests/test_psycopg2_dbapi20.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
  copying tests/test_quote.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
  copying tests/test_transaction.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
  copying tests/test_types_basic.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
  copying tests/test_types_extras.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
  copying tests/test_with.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
  copying tests/testconfig.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
  copying tests/testutils.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
  Skipping optional fixer: buffer
  Skipping optional fixer: idioms
  Skipping optional fixer: set_literal
  Skipping optional fixer: ws_comma
  warning: build_py: byte-compiling is disabled, skipping.

  running build_ext
  building 'psycopg2._psycopg' extension
  creating build/temp.macosx-10.6-intel-3.4
  creating build/temp.macosx-10.6-intel-3.4/psycopg
  /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/psycopgmodule.c -o build/temp.macosx-10.6-intel-3.4/psycopg/psycopgmodule.o
  /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/green.c -o build/temp.macosx-10.6-intel-3.4/psycopg/green.o
  /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/pqpath.c -o build/temp.macosx-10.6-intel-3.4/psycopg/pqpath.o
  psycopg/pqpath.c:198:17: warning: implicit conversion from enumeration type 'ConnStatusType' to different enumeration type 'ExecStatusType' [-Wenum-conversion]
                  PQstatus(conn->pgconn) : PQresultStatus(*pgres)));
                  ^~~~~~~~~~~~~~~~~~~~~~
  psycopg/pqpath.c:1628:17: warning: implicit conversion from enumeration type 'ConnStatusType' to different enumeration type 'ExecStatusType' [-Wenum-conversion]
                  PQstatus(curs->conn->pgconn) : PQresultStatus(curs->pgres)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2 warnings generated.
  psycopg/pqpath.c:198:17: warning: implicit conversion from enumeration type 'ConnStatusType' to different enumeration type 'ExecStatusType' [-Wenum-conversion]
                  PQstatus(conn->pgconn) : PQresultStatus(*pgres)));
                  ^~~~~~~~~~~~~~~~~~~~~~
  psycopg/pqpath.c:1628:17: warning: implicit conversion from enumeration type 'ConnStatusType' to different enumeration type 'ExecStatusType' [-Wenum-conversion]
                  PQstatus(curs->conn->pgconn) : PQresultStatus(curs->pgres)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2 warnings generated.
  /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/utils.c -o build/temp.macosx-10.6-intel-3.4/psycopg/utils.o
  /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/bytes_format.c -o build/temp.macosx-10.6-intel-3.4/psycopg/bytes_format.o
  In file included from psycopg/bytes_format.c:81:
  In file included from ./psycopg/psycopg.h:33:
  ./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]
  static void Dprintf(const char *fmt, ...) {}
              ^
  1 warning generated.
  In file included from psycopg/bytes_format.c:81:
  In file included from ./psycopg/psycopg.h:33:
  ./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]
  static void Dprintf(const char *fmt, ...) {}
              ^
  1 warning generated.
  /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/connection_int.c -o build/temp.macosx-10.6-intel-3.4/psycopg/connection_int.o
  /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/connection_type.c -o build/temp.macosx-10.6-intel-3.4/psycopg/connection_type.o
  /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/cursor_int.c -o build/temp.macosx-10.6-intel-3.4/psycopg/cursor_int.o
  /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/cursor_type.c -o build/temp.macosx-10.6-intel-3.4/psycopg/cursor_type.o
  /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/diagnostics_type.c -o build/temp.macosx-10.6-intel-3.4/psycopg/diagnostics_type.o
  In file included from psycopg/diagnostics_type.c:27:
  In file included from ./psycopg/psycopg.h:33:
  ./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]
  static void Dprintf(const char *fmt, ...) {}
              ^
  1 warning generated.
  In file included from psycopg/diagnostics_type.c:27:
  In file included from ./psycopg/psycopg.h:33:
  ./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]
  static void Dprintf(const char *fmt, ...) {}
              ^
  1 warning generated.
  /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/error_type.c -o build/temp.macosx-10.6-intel-3.4/psycopg/error_type.o
  In file included from psycopg/error_type.c:27:
  In file included from ./psycopg/psycopg.h:33:
  ./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]
  static void Dprintf(const char *fmt, ...) {}
              ^
  1 warning generated.
  In file included from psycopg/error_type.c:27:
  In file included from ./psycopg/psycopg.h:33:
  ./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]
  static void Dprintf(const char *fmt, ...) {}
              ^
  1 warning generated.
  /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/lobject_int.c -o build/temp.macosx-10.6-intel-3.4/psycopg/lobject_int.o
  /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/lobject_type.c -o build/temp.macosx-10.6-intel-3.4/psycopg/lobject_type.o
  /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/notify_type.c -o build/temp.macosx-10.6-intel-3.4/psycopg/notify_type.o
  In file included from psycopg/notify_type.c:27:
  In file included from ./psycopg/psycopg.h:33:
  ./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]
  static void Dprintf(const char *fmt, ...) {}
              ^
  1 warning generated.
  In file included from psycopg/notify_type.c:27:
  In file included from ./psycopg/psycopg.h:33:
  ./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]
  static void Dprintf(const char *fmt, ...) {}
              ^
  1 warning generated.
  /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/xid_type.c -o build/temp.macosx-10.6-intel-3.4/psycopg/xid_type.o
  /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/adapter_asis.c -o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_asis.o
  /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/adapter_binary.c -o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_binary.o
  /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/adapter_datetime.c -o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_datetime.o
  /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/adapter_list.c -o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_list.o
  /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/adapter_pboolean.c -o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_pboolean.o
  /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/adapter_pdecimal.c -o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_pdecimal.o
  /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/adapter_pint.c -o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_pint.o
  /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/adapter_pfloat.c -o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_pfloat.o
  /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/adapter_qstring.c -o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_qstring.o
  /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/microprotocols.c -o build/temp.macosx-10.6-intel-3.4/psycopg/microprotocols.o
  /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/microprotocols_proto.c -o build/temp.macosx-10.6-intel-3.4/psycopg/microprotocols_proto.o
  In file included from psycopg/microprotocols_proto.c:27:
  In file included from ./psycopg/psycopg.h:33:
  ./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]
  static void Dprintf(const char *fmt, ...) {}
              ^
  1 warning generated.
  In file included from psycopg/microprotocols_proto.c:27:
  In file included from ./psycopg/psycopg.h:33:
  ./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]
  static void Dprintf(const char *fmt, ...) {}
              ^
  1 warning generated.
  /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/typecast.c -o build/temp.macosx-10.6-intel-3.4/psycopg/typecast.o
  /usr/bin/clang -bundle -undefined dynamic_lookup -arch i386 -arch x86_64 -g build/temp.macosx-10.6-intel-3.4/psycopg/psycopgmodule.o build/temp.macosx-10.6-intel-3.4/psycopg/green.o build/temp.macosx-10.6-intel-3.4/psycopg/pqpath.o build/temp.macosx-10.6-intel-3.4/psycopg/utils.o build/temp.macosx-10.6-intel-3.4/psycopg/bytes_format.o build/temp.macosx-10.6-intel-3.4/psycopg/connection_int.o build/temp.macosx-10.6-intel-3.4/psycopg/connection_type.o build/temp.macosx-10.6-intel-3.4/psycopg/cursor_int.o build/temp.macosx-10.6-intel-3.4/psycopg/cursor_type.o build/temp.macosx-10.6-intel-3.4/psycopg/diagnostics_type.o build/temp.macosx-10.6-intel-3.4/psycopg/error_type.o build/temp.macosx-10.6-intel-3.4/psycopg/lobject_int.o build/temp.macosx-10.6-intel-3.4/psycopg/lobject_type.o build/temp.macosx-10.6-intel-3.4/psycopg/notify_type.o build/temp.macosx-10.6-intel-3.4/psycopg/xid_type.o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_asis.o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_binary.o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_datetime.o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_list.o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_pboolean.o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_pdecimal.o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_pint.o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_pfloat.o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_qstring.o build/temp.macosx-10.6-intel-3.4/psycopg/microprotocols.o build/temp.macosx-10.6-intel-3.4/psycopg/microprotocols_proto.o build/temp.macosx-10.6-intel-3.4/psycopg/typecast.o -L/usr/local/lib -lpq -lssl -lcrypto -o build/lib.macosx-10.6-intel-3.4/psycopg2/_psycopg.so
  ld: library not found for -lssl
  clang: error: linker command failed with exit code 1 (use -v to see invocation)
  error: command '/usr/bin/clang' failed with exit status 1

  ----------------------------------------
  Running setup.py clean for psycopg2
Failed to build psycopg2
Installing collected packages: psycopg2
  Running setup.py install for psycopg2: started
    Running setup.py install for psycopg2: finished with status 'error'
    Complete output from command /Library/Frameworks/Python.framework/Versions/3.4/bin/python3.4 -u -c "import setuptools, tokenize;__file__='/private/var/folders/ly/gv52lntd607_v7dlzr76b16h0000gn/T/pycharm-packaging/psycopg2/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/ly/gv52lntd607_v7dlzr76b16h0000gn/T/pip-6gejamxl-record/install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_py
    creating build
    creating build/lib.macosx-10.6-intel-3.4
    creating build/lib.macosx-10.6-intel-3.4/psycopg2
    copying lib/__init__.py -> build/lib.macosx-10.6-intel-3.4/psycopg2
    copying lib/_json.py -> build/lib.macosx-10.6-intel-3.4/psycopg2
    copying lib/_range.py -> build/lib.macosx-10.6-intel-3.4/psycopg2
    copying lib/errorcodes.py -> build/lib.macosx-10.6-intel-3.4/psycopg2
    copying lib/extensions.py -> build/lib.macosx-10.6-intel-3.4/psycopg2
    copying lib/extras.py -> build/lib.macosx-10.6-intel-3.4/psycopg2
    copying lib/pool.py -> build/lib.macosx-10.6-intel-3.4/psycopg2
    copying lib/psycopg1.py -> build/lib.macosx-10.6-intel-3.4/psycopg2
    copying lib/tz.py -> build/lib.macosx-10.6-intel-3.4/psycopg2
    creating build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/__init__.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/dbapi20.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/dbapi20_tpc.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/test_async.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/test_bug_gc.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/test_bugX000.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/test_cancel.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/test_connection.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/test_copy.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/test_cursor.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/test_dates.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/test_errcodes.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/test_extras_dictcursor.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/test_green.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/test_lobject.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/test_module.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/test_notify.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/test_psycopg2_dbapi20.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/test_quote.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/test_transaction.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/test_types_basic.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/test_types_extras.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/test_with.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/testconfig.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/testutils.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    Skipping optional fixer: buffer
    Skipping optional fixer: idioms
    Skipping optional fixer: set_literal
    Skipping optional fixer: ws_comma
    warning: build_py: byte-compiling is disabled, skipping.

    running build_ext
    building 'psycopg2._psycopg' extension
    creating build/temp.macosx-10.6-intel-3.4
    creating build/temp.macosx-10.6-intel-3.4/psycopg
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/psycopgmodule.c -o build/temp.macosx-10.6-intel-3.4/psycopg/psycopgmodule.o
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/green.c -o build/temp.macosx-10.6-intel-3.4/psycopg/green.o
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/pqpath.c -o build/temp.macosx-10.6-intel-3.4/psycopg/pqpath.o
    psycopg/pqpath.c:198:17: warning: implicit conversion from enumeration type 'ConnStatusType' to different enumeration type 'ExecStatusType' [-Wenum-conversion]
                    PQstatus(conn->pgconn) : PQresultStatus(*pgres)));
                    ^~~~~~~~~~~~~~~~~~~~~~
    psycopg/pqpath.c:1628:17: warning: implicit conversion from enumeration type 'ConnStatusType' to different enumeration type 'ExecStatusType' [-Wenum-conversion]
                    PQstatus(curs->conn->pgconn) : PQresultStatus(curs->pgres)));
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    2 warnings generated.
    psycopg/pqpath.c:198:17: warning: implicit conversion from enumeration type 'ConnStatusType' to different enumeration type 'ExecStatusType' [-Wenum-conversion]
                    PQstatus(conn->pgconn) : PQresultStatus(*pgres)));
                    ^~~~~~~~~~~~~~~~~~~~~~
    psycopg/pqpath.c:1628:17: warning: implicit conversion from enumeration type 'ConnStatusType' to different enumeration type 'ExecStatusType' [-Wenum-conversion]
                    PQstatus(curs->conn->pgconn) : PQresultStatus(curs->pgres)));
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    2 warnings generated.
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/utils.c -o build/temp.macosx-10.6-intel-3.4/psycopg/utils.o
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/bytes_format.c -o build/temp.macosx-10.6-intel-3.4/psycopg/bytes_format.o
    In file included from psycopg/bytes_format.c:81:
    In file included from ./psycopg/psycopg.h:33:
    ./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]
    static void Dprintf(const char *fmt, ...) {}
                ^
    1 warning generated.
    In file included from psycopg/bytes_format.c:81:
    In file included from ./psycopg/psycopg.h:33:
    ./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]
    static void Dprintf(const char *fmt, ...) {}
                ^
    1 warning generated.
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/connection_int.c -o build/temp.macosx-10.6-intel-3.4/psycopg/connection_int.o
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/connection_type.c -o build/temp.macosx-10.6-intel-3.4/psycopg/connection_type.o
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/cursor_int.c -o build/temp.macosx-10.6-intel-3.4/psycopg/cursor_int.o
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/cursor_type.c -o build/temp.macosx-10.6-intel-3.4/psycopg/cursor_type.o
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/diagnostics_type.c -o build/temp.macosx-10.6-intel-3.4/psycopg/diagnostics_type.o
    In file included from psycopg/diagnostics_type.c:27:
    In file included from ./psycopg/psycopg.h:33:
    ./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]
    static void Dprintf(const char *fmt, ...) {}
                ^
    1 warning generated.
    In file included from psycopg/diagnostics_type.c:27:
    In file included from ./psycopg/psycopg.h:33:
    ./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]
    static void Dprintf(const char *fmt, ...) {}
                ^
    1 warning generated.
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/error_type.c -o build/temp.macosx-10.6-intel-3.4/psycopg/error_type.o
    In file included from psycopg/error_type.c:27:
    In file included from ./psycopg/psycopg.h:33:
    ./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]
    static void Dprintf(const char *fmt, ...) {}
                ^
    1 warning generated.
    In file included from psycopg/error_type.c:27:
    In file included from ./psycopg/psycopg.h:33:
    ./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]
    static void Dprintf(const char *fmt, ...) {}
                ^
    1 warning generated.
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/lobject_int.c -o build/temp.macosx-10.6-intel-3.4/psycopg/lobject_int.o
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/lobject_type.c -o build/temp.macosx-10.6-intel-3.4/psycopg/lobject_type.o
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/notify_type.c -o build/temp.macosx-10.6-intel-3.4/psycopg/notify_type.o
    In file included from psycopg/notify_type.c:27:
    In file included from ./psycopg/psycopg.h:33:
    ./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]
    static void Dprintf(const char *fmt, ...) {}
                ^
    1 warning generated.
    In file included from psycopg/notify_type.c:27:
    In file included from ./psycopg/psycopg.h:33:
    ./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]
    static void Dprintf(const char *fmt, ...) {}
                ^
    1 warning generated.
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/xid_type.c -o build/temp.macosx-10.6-intel-3.4/psycopg/xid_type.o
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/adapter_asis.c -o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_asis.o
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/adapter_binary.c -o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_binary.o
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/adapter_datetime.c -o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_datetime.o
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/adapter_list.c -o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_list.o
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/adapter_pboolean.c -o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_pboolean.o
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/adapter_pdecimal.c -o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_pdecimal.o
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/adapter_pint.c -o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_pint.o
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/adapter_pfloat.c -o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_pfloat.o
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/adapter_qstring.c -o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_qstring.o
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/microprotocols.c -o build/temp.macosx-10.6-intel-3.4/psycopg/microprotocols.o
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/microprotocols_proto.c -o build/temp.macosx-10.6-intel-3.4/psycopg/microprotocols_proto.o
    In file included from psycopg/microprotocols_proto.c:27:
    In file included from ./psycopg/psycopg.h:33:
    ./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]
    static void Dprintf(const char *fmt, ...) {}
                ^
    1 warning generated.
    In file included from psycopg/microprotocols_proto.c:27:
    In file included from ./psycopg/psycopg.h:33:
    ./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]
    static void Dprintf(const char *fmt, ...) {}
                ^
    1 warning generated.
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/typecast.c -o build/temp.macosx-10.6-intel-3.4/psycopg/typecast.o
    /usr/bin/clang -bundle -undefined dynamic_lookup -arch i386 -arch x86_64 -g build/temp.macosx-10.6-intel-3.4/psycopg/psycopgmodule.o build/temp.macosx-10.6-intel-3.4/psycopg/green.o build/temp.macosx-10.6-intel-3.4/psycopg/pqpath.o build/temp.macosx-10.6-intel-3.4/psycopg/utils.o build/temp.macosx-10.6-intel-3.4/psycopg/bytes_format.o build/temp.macosx-10.6-intel-3.4/psycopg/connection_int.o build/temp.macosx-10.6-intel-3.4/psycopg/connection_type.o build/temp.macosx-10.6-intel-3.4/psycopg/cursor_int.o build/temp.macosx-10.6-intel-3.4/psycopg/cursor_type.o build/temp.macosx-10.6-intel-3.4/psycopg/diagnostics_type.o build/temp.macosx-10.6-intel-3.4/psycopg/error_type.o build/temp.macosx-10.6-intel-3.4/psycopg/lobject_int.o build/temp.macosx-10.6-intel-3.4/psycopg/lobject_type.o build/temp.macosx-10.6-intel-3.4/psycopg/notify_type.o build/temp.macosx-10.6-intel-3.4/psycopg/xid_type.o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_asis.o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_binary.o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_datetime.o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_list.o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_pboolean.o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_pdecimal.o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_pint.o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_pfloat.o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_qstring.o build/temp.macosx-10.6-intel-3.4/psycopg/microprotocols.o build/temp.macosx-10.6-intel-3.4/psycopg/microprotocols_proto.o build/temp.macosx-10.6-intel-3.4/psycopg/typecast.o -L/usr/local/lib -lpq -lssl -lcrypto -o build/lib.macosx-10.6-intel-3.4/psycopg2/_psycopg.so
    ld: library not found for -lssl
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    error: command '/usr/bin/clang' failed with exit status 1

    ----------------------------------------

  Failed building wheel for psycopg2
Command "/Library/Frameworks/Python.framework/Versions/3.4/bin/python3.4 -u -c "import setuptools, tokenize;__file__='/private/var/folders/ly/gv52lntd607_v7dlzr76b16h0000gn/T/pycharm-packaging/psycopg2/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/ly/gv52lntd607_v7dlzr76b16h0000gn/T/pip-6gejamxl-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/ly/gv52lntd607_v7dlzr76b16h0000gn/T/pycharm-packaging/psycopg2/
You are using pip version 8.1.2, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

et une solution proposée que je n'arrive pas à interpréter correctement:

1
Try to run this command from the system terminal. Make sure that you use the correct version of 'pip' installed for your Python interpreter located at '/Library/Frameworks/Python.framework/Versions/3.4/bin/python3.4'

si quelqu'un peut m'aider ce serait parfait merci et bon dimanche

T'es sur que tu ne mélanges pas python 2 et 3 ?

psycopg2 est installé pour python2.7, mais j'ai bien l'impression que tu tentes de faire des trucs avec python 3. Dans ce cas, tente plutôt pip3 install psycopg2. Ou de l'installer avec conda, puisque tu l'as sur ta machine, conda install psycopg2. Si ton conda est bien configuré sur la version que tu veux, et que c'est bien le python de conda que tu utilises, bien sur.

+0 -0

oui c'est sa mais j'ai une erreur:

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
 Failed building wheel for psycopg2
  Running setup.py clean for psycopg2
Failed to build psycopg2
Installing collected packages: psycopg2
  Running setup.py install for psycopg2 ... error
    Complete output from command /Library/Frameworks/Python.framework/Versions/3.4/bin/python3 -u -c "import setuptools, tokenize;__file__='/private/var/folders/ly/gv52lntd607_v7dlzr76b16h0000gn/T/pip-build-1yzrd7oy/psycopg2/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/ly/gv52lntd607_v7dlzr76b16h0000gn/T/pip-ip6j7ow9-record/install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_py
    creating build
    creating build/lib.macosx-10.6-intel-3.4
    creating build/lib.macosx-10.6-intel-3.4/psycopg2
    copying lib/__init__.py -> build/lib.macosx-10.6-intel-3.4/psycopg2
    copying lib/_json.py -> build/lib.macosx-10.6-intel-3.4/psycopg2
    copying lib/_range.py -> build/lib.macosx-10.6-intel-3.4/psycopg2
    copying lib/errorcodes.py -> build/lib.macosx-10.6-intel-3.4/psycopg2
    copying lib/extensions.py -> build/lib.macosx-10.6-intel-3.4/psycopg2
    copying lib/extras.py -> build/lib.macosx-10.6-intel-3.4/psycopg2
    copying lib/pool.py -> build/lib.macosx-10.6-intel-3.4/psycopg2
    copying lib/psycopg1.py -> build/lib.macosx-10.6-intel-3.4/psycopg2
    copying lib/tz.py -> build/lib.macosx-10.6-intel-3.4/psycopg2
    creating build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/__init__.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/dbapi20.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/dbapi20_tpc.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/test_async.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/test_bug_gc.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/test_bugX000.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/test_cancel.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/test_connection.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/test_copy.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/test_cursor.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/test_dates.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/test_errcodes.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/test_extras_dictcursor.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/test_green.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/test_lobject.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/test_module.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/test_notify.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/test_psycopg2_dbapi20.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/test_quote.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/test_transaction.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/test_types_basic.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/test_types_extras.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/test_with.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/testconfig.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    copying tests/testutils.py -> build/lib.macosx-10.6-intel-3.4/psycopg2/tests
    Skipping optional fixer: buffer
    Skipping optional fixer: idioms
    Skipping optional fixer: set_literal
    Skipping optional fixer: ws_comma
    running build_ext
    building 'psycopg2._psycopg' extension
    creating build/temp.macosx-10.6-intel-3.4
    creating build/temp.macosx-10.6-intel-3.4/psycopg
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/psycopgmodule.c -o build/temp.macosx-10.6-intel-3.4/psycopg/psycopgmodule.o
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/green.c -o build/temp.macosx-10.6-intel-3.4/psycopg/green.o
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/pqpath.c -o build/temp.macosx-10.6-intel-3.4/psycopg/pqpath.o
    psycopg/pqpath.c:198:17: warning: implicit conversion from enumeration type 'ConnStatusType' to different enumeration type 'ExecStatusType' [-Wenum-conversion]
                    PQstatus(conn->pgconn) : PQresultStatus(*pgres)));
                    ^~~~~~~~~~~~~~~~~~~~~~
    psycopg/pqpath.c:1628:17: warning: implicit conversion from enumeration type 'ConnStatusType' to different enumeration type 'ExecStatusType' [-Wenum-conversion]
                    PQstatus(curs->conn->pgconn) : PQresultStatus(curs->pgres)));
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    2 warnings generated.
    psycopg/pqpath.c:198:17: warning: implicit conversion from enumeration type 'ConnStatusType' to different enumeration type 'ExecStatusType' [-Wenum-conversion]
                    PQstatus(conn->pgconn) : PQresultStatus(*pgres)));
                    ^~~~~~~~~~~~~~~~~~~~~~
    psycopg/pqpath.c:1628:17: warning: implicit conversion from enumeration type 'ConnStatusType' to different enumeration type 'ExecStatusType' [-Wenum-conversion]
                    PQstatus(curs->conn->pgconn) : PQresultStatus(curs->pgres)));
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    2 warnings generated.
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/utils.c -o build/temp.macosx-10.6-intel-3.4/psycopg/utils.o
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/bytes_format.c -o build/temp.macosx-10.6-intel-3.4/psycopg/bytes_format.o
    In file included from psycopg/bytes_format.c:81:
    In file included from ./psycopg/psycopg.h:33:
    ./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]
    static void Dprintf(const char *fmt, ...) {}
                ^
    1 warning generated.
    In file included from psycopg/bytes_format.c:81:
    In file included from ./psycopg/psycopg.h:33:
    ./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]
    static void Dprintf(const char *fmt, ...) {}
                ^
    1 warning generated.
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/connection_int.c -o build/temp.macosx-10.6-intel-3.4/psycopg/connection_int.o
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/connection_type.c -o build/temp.macosx-10.6-intel-3.4/psycopg/connection_type.o
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/cursor_int.c -o build/temp.macosx-10.6-intel-3.4/psycopg/cursor_int.o
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/cursor_type.c -o build/temp.macosx-10.6-intel-3.4/psycopg/cursor_type.o
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/diagnostics_type.c -o build/temp.macosx-10.6-intel-3.4/psycopg/diagnostics_type.o
    In file included from psycopg/diagnostics_type.c:27:
    In file included from ./psycopg/psycopg.h:33:
    ./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]
    static void Dprintf(const char *fmt, ...) {}
                ^
    1 warning generated.
    In file included from psycopg/diagnostics_type.c:27:
    In file included from ./psycopg/psycopg.h:33:
    ./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]
    static void Dprintf(const char *fmt, ...) {}
                ^
    1 warning generated.
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/error_type.c -o build/temp.macosx-10.6-intel-3.4/psycopg/error_type.o
    In file included from psycopg/error_type.c:27:
    In file included from ./psycopg/psycopg.h:33:
    ./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]
    static void Dprintf(const char *fmt, ...) {}
                ^
    1 warning generated.
    In file included from psycopg/error_type.c:27:
    In file included from ./psycopg/psycopg.h:33:
    ./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]
    static void Dprintf(const char *fmt, ...) {}
                ^
    1 warning generated.
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/lobject_int.c -o build/temp.macosx-10.6-intel-3.4/psycopg/lobject_int.o
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/lobject_type.c -o build/temp.macosx-10.6-intel-3.4/psycopg/lobject_type.o
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/notify_type.c -o build/temp.macosx-10.6-intel-3.4/psycopg/notify_type.o
    In file included from psycopg/notify_type.c:27:
    In file included from ./psycopg/psycopg.h:33:
    ./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]
    static void Dprintf(const char *fmt, ...) {}
                ^
    1 warning generated.
    In file included from psycopg/notify_type.c:27:
    In file included from ./psycopg/psycopg.h:33:
    ./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]
    static void Dprintf(const char *fmt, ...) {}
                ^
    1 warning generated.
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/xid_type.c -o build/temp.macosx-10.6-intel-3.4/psycopg/xid_type.o
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/adapter_asis.c -o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_asis.o
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/adapter_binary.c -o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_binary.o
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/adapter_datetime.c -o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_datetime.o
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/adapter_list.c -o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_list.o
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/adapter_pboolean.c -o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_pboolean.o
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/adapter_pdecimal.c -o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_pdecimal.o
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/adapter_pint.c -o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_pint.o
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/adapter_pfloat.c -o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_pfloat.o
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/adapter_qstring.c -o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_qstring.o
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/microprotocols.c -o build/temp.macosx-10.6-intel-3.4/psycopg/microprotocols.o
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/microprotocols_proto.c -o build/temp.macosx-10.6-intel-3.4/psycopg/microprotocols_proto.o
    In file included from psycopg/microprotocols_proto.c:27:
    In file included from ./psycopg/psycopg.h:33:
    ./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]
    static void Dprintf(const char *fmt, ...) {}
                ^
    1 warning generated.
    In file included from psycopg/microprotocols_proto.c:27:
    In file included from ./psycopg/psycopg.h:33:
    ./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]
    static void Dprintf(const char *fmt, ...) {}
                ^
    1 warning generated.
    /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090601 -DHAVE_LO64=1 -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -I. -I/usr/local/Cellar/postgresql/9.6.1/include -I/usr/local/Cellar/postgresql/9.6.1/include/server -c psycopg/typecast.c -o build/temp.macosx-10.6-intel-3.4/psycopg/typecast.o
    /usr/bin/clang -bundle -undefined dynamic_lookup -arch i386 -arch x86_64 -g build/temp.macosx-10.6-intel-3.4/psycopg/psycopgmodule.o build/temp.macosx-10.6-intel-3.4/psycopg/green.o build/temp.macosx-10.6-intel-3.4/psycopg/pqpath.o build/temp.macosx-10.6-intel-3.4/psycopg/utils.o build/temp.macosx-10.6-intel-3.4/psycopg/bytes_format.o build/temp.macosx-10.6-intel-3.4/psycopg/connection_int.o build/temp.macosx-10.6-intel-3.4/psycopg/connection_type.o build/temp.macosx-10.6-intel-3.4/psycopg/cursor_int.o build/temp.macosx-10.6-intel-3.4/psycopg/cursor_type.o build/temp.macosx-10.6-intel-3.4/psycopg/diagnostics_type.o build/temp.macosx-10.6-intel-3.4/psycopg/error_type.o build/temp.macosx-10.6-intel-3.4/psycopg/lobject_int.o build/temp.macosx-10.6-intel-3.4/psycopg/lobject_type.o build/temp.macosx-10.6-intel-3.4/psycopg/notify_type.o build/temp.macosx-10.6-intel-3.4/psycopg/xid_type.o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_asis.o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_binary.o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_datetime.o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_list.o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_pboolean.o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_pdecimal.o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_pint.o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_pfloat.o build/temp.macosx-10.6-intel-3.4/psycopg/adapter_qstring.o build/temp.macosx-10.6-intel-3.4/psycopg/microprotocols.o build/temp.macosx-10.6-intel-3.4/psycopg/microprotocols_proto.o build/temp.macosx-10.6-intel-3.4/psycopg/typecast.o -L/usr/local/lib -lpq -lssl -lcrypto -o build/lib.macosx-10.6-intel-3.4/psycopg2/_psycopg.so
    ld: library not found for -lssl
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    error: command '/usr/bin/clang' failed with exit status 1

    ----------------------------------------
Command "/Library/Frameworks/Python.framework/Versions/3.4/bin/python3 -u -c "import setuptools, tokenize;__file__='/private/var/folders/ly/gv52lntd607_v7dlzr76b16h0000gn/T/pip-build-1yzrd7oy/psycopg2/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/ly/gv52lntd607_v7dlzr76b16h0000gn/T/pip-ip6j7ow9-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/ly/gv52lntd607_v7dlzr76b16h0000gn/T/pip-build-1yzrd7oy/psycopg2/

conda ne marche plus car je l'ai en quelque sorte désinstallé car il em posait trop de problèmes au niveau du répértoire des packages…

mais sa ne marche toujours toi pour psycopg2

+0 -0

Essai d'installer ssl-dev ou quelque chose comme ça, c'est à priori cette bibliothèque qui n'est pas trouvé (voir le ld tout à la fin).

+0 -0

il em dit que openssl est déjà installé après avoir fait: brew install openssl

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
brew install openssl
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
augeas              docker-compose      mikutter            tcpreplay

Error: Could not link:
/usr/local/etc/bash_completion.d/brew

Please delete these paths and run `brew update`.
Error: Could not link:
/usr/local/share/doc/homebrew

Please delete these paths and run `brew update`.
Error: Could not link:
/usr/local/share/zsh/site-functions/_brew

Please delete these paths and run `brew update`.
Error: Could not link:
/usr/local/share/man/man1/brew-cask.1
/usr/local/share/man/man1/brew.1

Please delete these paths and run `brew update`.
Warning: openssl-1.0.2j already installed
Connectez-vous pour pouvoir poster un message.
Connexion

Pas encore membre ?

Créez un compte en une minute pour profiter pleinement de toutes les fonctionnalités de Zeste de Savoir. Ici, tout est gratuit et sans publicité.
Créer un compte