workspace
stringclasses
1 value
channel
stringclasses
1 value
sentences
stringlengths
1
3.93k
ts
stringlengths
26
26
user
stringlengths
2
11
sentence_id
stringlengths
44
53
timestamp
float64
1.5B
1.56B
__index_level_0__
int64
0
106k
pythondev
help
<https://docs.anaconda.com/anaconda/>
2019-02-17T10:49:28.950500
Hiroko
pythondev_help_Hiroko_2019-02-17T10:49:28.950500
1,550,400,568.9505
9,121
pythondev
help
would suggest you take a look at that and follow the installation and getting started
2019-02-17T10:50:05.951100
Hiroko
pythondev_help_Hiroko_2019-02-17T10:50:05.951100
1,550,400,605.9511
9,122
pythondev
help
<@Hiroko> i already have it
2019-02-17T10:53:05.951400
Gianna
pythondev_help_Gianna_2019-02-17T10:53:05.951400
1,550,400,785.9514
9,123
pythondev
help
Knowing how to ask a good question is a highly invaluable skill that will benefit you greatly in any career. <https://stackoverflow.com/help/how-to-ask> is a good collection of suggestions and strategies to help you structure and phrase your question to make it easier for those here to understand your problem and help ...
2019-02-17T11:16:08.951900
Leana
pythondev_help_Leana_2019-02-17T11:16:08.951900
1,550,402,168.9519
9,124
pythondev
help
<@Gianna> ^
2019-02-17T11:16:19.952300
Jonas
pythondev_help_Jonas_2019-02-17T11:16:19.952300
1,550,402,179.9523
9,125
pythondev
help
<@Gianna> do you understand conda environments? You may have installed to a different env. What is the output of `which python` or `where python` and the output of `conda list`
2019-02-17T14:21:29.953700
Bethany
pythondev_help_Bethany_2019-02-17T14:21:29.953700
1,550,413,289.9537
9,126
pythondev
help
guy do you have any guides on how quickly visualize data from mongodb? I have been thinking to setting up small server using flask. Any tips?
2019-02-17T15:04:24.954300
Delbert
pythondev_help_Delbert_2019-02-17T15:04:24.954300
1,550,415,864.9543
9,127
pythondev
help
<@Bethany> i think you are rit but how i can fixed it here is my output
2019-02-17T15:11:06.955900
Gianna
pythondev_help_Gianna_2019-02-17T15:11:06.955900
1,550,416,266.9559
9,128
pythondev
help
None
2019-02-17T15:11:28.956200
Gianna
pythondev_help_Gianna_2019-02-17T15:11:28.956200
1,550,416,288.9562
9,129
pythondev
help
<@Bethany> i try with this but does not work :disappointed: `pipenv --python path/to/anaconda/bin/python`
2019-02-17T15:22:22.956800
Gianna
pythondev_help_Gianna_2019-02-17T15:22:22.956800
1,550,416,942.9568
9,130
pythondev
help
you're using conda, pyenv and pipenv?
2019-02-17T15:23:04.957100
Bethany
pythondev_help_Bethany_2019-02-17T15:23:04.957100
1,550,416,984.9571
9,131
pythondev
help
i am confuse really
2019-02-17T15:23:40.957500
Gianna
pythondev_help_Gianna_2019-02-17T15:23:40.957500
1,550,417,020.9575
9,132
pythondev
help
u see this
2019-02-17T15:23:53.958000
Gianna
pythondev_help_Gianna_2019-02-17T15:23:53.958000
1,550,417,033.958
9,133
pythondev
help
```which python /Users/alif/.pyenv/shims/python```
2019-02-17T15:23:55.958300
Gianna
pythondev_help_Gianna_2019-02-17T15:23:55.958300
1,550,417,035.9583
9,134
pythondev
help
i can imagine! I'm confused. They all have overlapping things
2019-02-17T15:23:57.958400
Bethany
pythondev_help_Bethany_2019-02-17T15:23:57.958400
1,550,417,037.9584
9,135
pythondev
help
yes
2019-02-17T15:24:03.958700
Bethany
pythondev_help_Bethany_2019-02-17T15:24:03.958700
1,550,417,043.9587
9,136
pythondev
help
I've never used pyenv so I don't know what that's doing
2019-02-17T15:24:09.958900
Bethany
pythondev_help_Bethany_2019-02-17T15:24:09.958900
1,550,417,049.9589
9,137
pythondev
help
what does the prompt say when you do `python`
2019-02-17T15:24:28.959200
Bethany
pythondev_help_Bethany_2019-02-17T15:24:28.959200
1,550,417,068.9592
9,138
pythondev
help
i think if you use `pyenv` u can use multi python version
2019-02-17T15:25:20.960000
Gianna
pythondev_help_Gianna_2019-02-17T15:25:20.960000
1,550,417,120.96
9,139
pythondev
help
yes but conda does that too
2019-02-17T15:25:32.960300
Bethany
pythondev_help_Bethany_2019-02-17T15:25:32.960300
1,550,417,132.9603
9,140
pythondev
help
so I imagine that is a source of confusion
2019-02-17T15:25:41.960700
Bethany
pythondev_help_Bethany_2019-02-17T15:25:41.960700
1,550,417,141.9607
9,141
pythondev
help
so should i delete all then install again
2019-02-17T15:25:50.961100
Gianna
pythondev_help_Gianna_2019-02-17T15:25:50.961100
1,550,417,150.9611
9,142
pythondev
help
honestly might be easiest
2019-02-17T15:26:03.961300
Bethany
pythondev_help_Bethany_2019-02-17T15:26:03.961300
1,550,417,163.9613
9,143
pythondev
help
only use conda for example
2019-02-17T15:26:07.961600
Bethany
pythondev_help_Bethany_2019-02-17T15:26:07.961600
1,550,417,167.9616
9,144
pythondev
help
or only use pyenv
2019-02-17T15:26:10.961900
Bethany
pythondev_help_Bethany_2019-02-17T15:26:10.961900
1,550,417,170.9619
9,145
pythondev
help
then what is my 1st
2019-02-17T15:26:18.962200
Gianna
pythondev_help_Gianna_2019-02-17T15:26:18.962200
1,550,417,178.9622
9,146
pythondev
help
but don't do that just yet
2019-02-17T15:26:18.962300
Bethany
pythondev_help_Bethany_2019-02-17T15:26:18.962300
1,550,417,178.9623
9,147
pythondev
help
type `python` what do you see
2019-02-17T15:26:28.962700
Bethany
pythondev_help_Bethany_2019-02-17T15:26:28.962700
1,550,417,188.9627
9,148
pythondev
help
but if use pyenv i cant use anaconda yes?
2019-02-17T15:26:42.963000
Gianna
pythondev_help_Gianna_2019-02-17T15:26:42.963000
1,550,417,202.963
9,149
pythondev
help
```python Python 2.7 (r27:82500, Dec 7 2018, 12:25:14) [GCC 4.2.1 Compatible Apple LLVM 10.0.0 (clang-1000.11.45.5)] on darwin Type "help", "copyright", "credits" or "license" for more information. &gt;&gt;&gt; ```
2019-02-17T15:26:56.963400
Gianna
pythondev_help_Gianna_2019-02-17T15:26:56.963400
1,550,417,216.9634
9,150
pythondev
help
you might be able to use both. I never use pyenv so can't say for sure
2019-02-17T15:26:57.963600
Bethany
pythondev_help_Bethany_2019-02-17T15:26:57.963600
1,550,417,217.9636
9,151
pythondev
help
looks like python is not pointing to anaconda python, but rather default Apple python (homebrew?)
2019-02-17T15:27:41.964100
Bethany
pythondev_help_Bethany_2019-02-17T15:27:41.964100
1,550,417,261.9641
9,152
pythondev
help
that might be a pyenv thing you need to change
2019-02-17T15:28:38.964700
Bethany
pythondev_help_Bethany_2019-02-17T15:28:38.964700
1,550,417,318.9647
9,153
pythondev
help
i have homevrew
2019-02-17T15:29:02.964900
Gianna
pythondev_help_Gianna_2019-02-17T15:29:02.964900
1,550,417,342.9649
9,154
pythondev
help
yes, so you must have something like the following in your file system
2019-02-17T15:29:31.965300
Bethany
pythondev_help_Bethany_2019-02-17T15:29:31.965300
1,550,417,371.9653
9,155
pythondev
help
None
2019-02-17T15:30:38.965400
Bethany
pythondev_help_Bethany_2019-02-17T15:30:38.965400
1,550,417,438.9654
9,156
pythondev
help
your current setup, which appears to be through pyenv, has `python` pointing to `/bin/python` or whatever it is on mac
2019-02-17T15:31:09.966200
Bethany
pythondev_help_Bethany_2019-02-17T15:31:09.966200
1,550,417,469.9662
9,157
pythondev
help
<http://prntscr.com/mmdnwn>
2019-02-17T15:31:30.966600
Gianna
pythondev_help_Gianna_2019-02-17T15:31:30.966600
1,550,417,490.9666
9,158
pythondev
help
yeah I'm not familiar with MacOS but the idea is the same
2019-02-17T15:32:03.967000
Bethany
pythondev_help_Bethany_2019-02-17T15:32:03.967000
1,550,417,523.967
9,159
pythondev
help
you have multiple python's lying around. And the one you get when you type `python` is not what you expect
2019-02-17T15:32:22.967500
Bethany
pythondev_help_Bethany_2019-02-17T15:32:22.967500
1,550,417,542.9675
9,160
pythondev
help
so you `pip install ...` it is installing to one of the pythons, but not the one you want
2019-02-17T15:32:39.967900
Bethany
pythondev_help_Bethany_2019-02-17T15:32:39.967900
1,550,417,559.9679
9,161
pythondev
help
does mac have `source .bashrc` or something equivalent?
2019-02-17T15:34:20.969500
Bethany
pythondev_help_Bethany_2019-02-17T15:34:20.969500
1,550,417,660.9695
9,162
pythondev
help
<http://prntscr.com/mmdpdh>
2019-02-17T15:34:55.969700
Gianna
pythondev_help_Gianna_2019-02-17T15:34:55.969700
1,550,417,695.9697
9,163
pythondev
help
<@Bethany> did you see this <http://prntscr.com/mmdoqd>
2019-02-17T15:35:43.970400
Gianna
pythondev_help_Gianna_2019-02-17T15:35:43.970400
1,550,417,743.9704
9,164
pythondev
help
yes but I have never developed on mac before
2019-02-17T15:35:57.970800
Bethany
pythondev_help_Bethany_2019-02-17T15:35:57.970800
1,550,417,757.9708
9,165
pythondev
help
this is ~/.bash_profile
2019-02-17T15:35:59.971000
Gianna
pythondev_help_Gianna_2019-02-17T15:35:59.971000
1,550,417,759.971
9,166
pythondev
help
its bash file
2019-02-17T15:36:06.971200
Gianna
pythondev_help_Gianna_2019-02-17T15:36:06.971200
1,550,417,766.9712
9,167
pythondev
help
do you `source ~/.bash_profile` to activate it?
2019-02-17T15:36:24.971600
Bethany
pythondev_help_Bethany_2019-02-17T15:36:24.971600
1,550,417,784.9716
9,168
pythondev
help
yes
2019-02-17T15:36:28.971800
Gianna
pythondev_help_Gianna_2019-02-17T15:36:28.971800
1,550,417,788.9718
9,169
pythondev
help
I think this may be a pyenv thing then
2019-02-17T15:36:48.972200
Bethany
pythondev_help_Bethany_2019-02-17T15:36:48.972200
1,550,417,808.9722
9,170
pythondev
help
yes
2019-02-17T15:36:53.972400
Gianna
pythondev_help_Gianna_2019-02-17T15:36:53.972400
1,550,417,813.9724
9,171
pythondev
help
what does `pyenv version` do
2019-02-17T15:37:18.972700
Bethany
pythondev_help_Bethany_2019-02-17T15:37:18.972700
1,550,417,838.9727
9,172
pythondev
help
after commend this line it show me now this
2019-02-17T15:40:31.973100
Gianna
pythondev_help_Gianna_2019-02-17T15:40:31.973100
1,550,418,031.9731
9,173
pythondev
help
```#if command -v pyenv 1&gt;/dev/null 2&gt;&amp;1; then # eval "$(pyenv init -)" #fi```
2019-02-17T15:40:38.973400
Gianna
pythondev_help_Gianna_2019-02-17T15:40:38.973400
1,550,418,038.9734
9,174
pythondev
help
python -V Python 2.7.15 :: Anaconda, Inc.
2019-02-17T15:40:47.973600
Gianna
pythondev_help_Gianna_2019-02-17T15:40:47.973600
1,550,418,047.9736
9,175
pythondev
help
but it old version
2019-02-17T15:40:53.973800
Gianna
pythondev_help_Gianna_2019-02-17T15:40:53.973800
1,550,418,053.9738
9,176
pythondev
help
but i have also python3 but its without anaconda
2019-02-17T15:42:03.974200
Gianna
pythondev_help_Gianna_2019-02-17T15:42:03.974200
1,550,418,123.9742
9,177
pythondev
help
```python3 -V Python 3.7.0``` <@Bethany>
2019-02-17T15:42:08.974500
Gianna
pythondev_help_Gianna_2019-02-17T15:42:08.974500
1,550,418,128.9745
9,178
pythondev
help
yeah this is probably pyenv overwriting the default python path, but I don't know that tool well enought to help.
2019-02-17T15:48:16.975100
Bethany
pythondev_help_Bethany_2019-02-17T15:48:16.975100
1,550,418,496.9751
9,179
pythondev
help
Hi people, I have one question related with this experiment: <https://github.com/whatisjasongoldstein/python-async-experiment/blob/master/app.py> As the author of the git file wrote, there is no insight on why is not working, and Im trying to find a way to make it work, as I already have some huge dependencies on flask...
2019-02-17T16:17:41.976500
Regenia
pythondev_help_Regenia_2019-02-17T16:17:41.976500
1,550,420,261.9765
9,180
pythondev
help
<@Hiroko> Ahh, yes. Someone else suggested that take a look at the proper use, format and syntax of Getter and Setters a few months ago. I just haven't circled back to that yet. The question posted and class definitions presented are distilled from two sets of course material. A recent speaker at a MeetUp utilized a ve...
2019-02-17T16:21:52.976900
Corey
pythondev_help_Corey_2019-02-17T16:21:52.976900
1,550,420,512.9769
9,181
pythondev
help
<@Hiroko> Thank you for sharing that insight/teaser. I''ll have to dig into decorators again and specifically the '@property' usage. :+1:
2019-02-17T16:23:46.977200
Corey
pythondev_help_Corey_2019-02-17T16:23:46.977200
1,550,420,626.9772
9,182
pythondev
help
to me, the use of option 1 suggests the presenter at that meetup is not too familiar with python, and comes from a Java/C# environment where getters and setters are more prevalent
2019-02-17T16:24:18.977400
Hiroko
pythondev_help_Hiroko_2019-02-17T16:24:18.977400
1,550,420,658.9774
9,183
pythondev
help
<https://stackoverflow.com/a/22716051/214892>
2019-02-17T16:25:37.977600
Hiroko
pythondev_help_Hiroko_2019-02-17T16:25:37.977600
1,550,420,737.9776
9,184
pythondev
help
<https://stackoverflow.com/a/6618176/214892>
2019-02-17T16:26:01.977900
Hiroko
pythondev_help_Hiroko_2019-02-17T16:26:01.977900
1,550,420,761.9779
9,185
pythondev
help
<@Regenia> please expand on “doesn’t work”
2019-02-17T16:30:23.978900
Hiroko
pythondev_help_Hiroko_2019-02-17T16:30:23.978900
1,550,421,023.9789
9,186
pythondev
help
about the only thing that pops up at me is using requests, which is not async
2019-02-17T16:30:45.979500
Hiroko
pythondev_help_Hiroko_2019-02-17T16:30:45.979500
1,550,421,045.9795
9,187
pythondev
help
sure, is throwing the ``` There is no current event loop in thread ```
2019-02-17T16:30:57.979700
Regenia
pythondev_help_Regenia_2019-02-17T16:30:57.979700
1,550,421,057.9797
9,188
pythondev
help
there is another example on: <https://stackoverflow.com/questions/47841985/python3-asyncio-call-from-flask-route>
2019-02-17T16:31:19.980000
Regenia
pythondev_help_Regenia_2019-02-17T16:31:19.980000
1,550,421,079.98
9,189
pythondev
help
``` import aiohttp import asyncio import async_timeout from flask import Flask loop = asyncio.get_event_loop() app = Flask(__name__) async def fetch(url): async with aiohttp.ClientSession() as session, async_timeout.timeout(10): async with session.get(url) as response: return await response.te...
2019-02-17T16:31:26.980400
Regenia
pythondev_help_Regenia_2019-02-17T16:31:26.980400
1,550,421,086.9804
9,190
pythondev
help
oh, this is flask
2019-02-17T16:31:27.980500
Hiroko
pythondev_help_Hiroko_2019-02-17T16:31:27.980500
1,550,421,087.9805
9,191
pythondev
help
yes, indeed
2019-02-17T16:31:32.980800
Regenia
pythondev_help_Regenia_2019-02-17T16:31:32.980800
1,550,421,092.9808
9,192
pythondev
help
you might want to look at quart
2019-02-17T16:31:38.981100
Hiroko
pythondev_help_Hiroko_2019-02-17T16:31:38.981100
1,550,421,098.9811
9,193
pythondev
help
I know there are better alternatives for this kind of operations like quart
2019-02-17T16:31:44.981400
Regenia
pythondev_help_Regenia_2019-02-17T16:31:44.981400
1,550,421,104.9814
9,194
pythondev
help
its basically the flask api in async
2019-02-17T16:31:45.981600
Hiroko
pythondev_help_Hiroko_2019-02-17T16:31:45.981600
1,550,421,105.9816
9,195
pythondev
help
but right now im trying to do some optimizations, and I dont want to impact the platform
2019-02-17T16:32:11.982700
Regenia
pythondev_help_Regenia_2019-02-17T16:32:11.982700
1,550,421,131.9827
9,196
pythondev
help
I’m not sure you’ll be able to get this going, to be honest. I tried something similar in a flask service and ran into the same issues
2019-02-17T16:32:25.983000
Hiroko
pythondev_help_Hiroko_2019-02-17T16:32:25.983000
1,550,421,145.983
9,197
pythondev
help
can’t remember the details much, this was about July or so last year
2019-02-17T16:33:14.983500
Hiroko
pythondev_help_Hiroko_2019-02-17T16:33:14.983500
1,550,421,194.9835
9,198
pythondev
help
my guess is flask and event loops don’t play nicely with each other
2019-02-17T16:34:06.984000
Hiroko
pythondev_help_Hiroko_2019-02-17T16:34:06.984000
1,550,421,246.984
9,199
pythondev
help
:disappointed:, Ill try to google deeper before giving up
2019-02-17T16:35:41.984600
Regenia
pythondev_help_Regenia_2019-02-17T16:35:41.984600
1,550,421,341.9846
9,200
pythondev
help
good luck :slightly_smiling_face:
2019-02-17T16:40:32.985000
Hiroko
pythondev_help_Hiroko_2019-02-17T16:40:32.985000
1,550,421,632.985
9,201
pythondev
help
<@Hiroko> Thanks again DD. The first referenced page offers some succinct examples and the second offers more of the philosphy behind the use of properly described and utilized Getters and Setters.
2019-02-17T16:49:29.985300
Corey
pythondev_help_Corey_2019-02-17T16:49:29.985300
1,550,422,169.9853
9,202
pythondev
help
:thumbsup: glad that helps
2019-02-17T16:50:24.985500
Hiroko
pythondev_help_Hiroko_2019-02-17T16:50:24.985500
1,550,422,224.9855
9,203
pythondev
help
It helps and it hurts :slightly_smiling_face:
2019-02-17T17:03:14.985900
Corey
pythondev_help_Corey_2019-02-17T17:03:14.985900
1,550,422,994.9859
9,204
pythondev
help
Haven't seen this yet. Thanks for mentioning it :thumbsup:
2019-02-17T17:27:00.986300
Lydia
pythondev_help_Lydia_2019-02-17T17:27:00.986300
1,550,424,420.9863
9,205
pythondev
help
<@Hiroko> class A(object): def __init__(self, **kwargs): self._x = kwargs['x'] if 'x' in kwargs else 0 self._y = kwargs['y'] if 'y' in kwargs else 0 @property def x(self): return self._x + 2 @x.setter def x(self, value): self._x = value def y(self): ret...
2019-02-17T19:28:45.986800
Corey
pythondev_help_Corey_2019-02-17T19:28:45.986800
1,550,431,725.9868
9,206
pythondev
help
<@Hiroko> In this re-working of an example taken from one of the pages you referenced earlier, an author's point is point is illustrated, that being that when utilizing getters/setters an attribute, here 'x', is referenced by its name. And when accessing the other attribute, 'y', the method is called. Are these terms a...
2019-02-17T19:35:01.987000
Corey
pythondev_help_Corey_2019-02-17T19:35:01.987000
1,550,432,101.987
9,207
pythondev
help
What is reason of this error?
2019-02-18T01:10:03.988000
Aracelis
pythondev_help_Aracelis_2019-02-18T01:10:03.988000
1,550,452,203.988
9,208
pythondev
help
import mysql.connector mydb = mysql.connector.connect( host="localhost", user="myusername", passwd="mypassword" ) print(mydb)
2019-02-18T01:10:25.988400
Aracelis
pythondev_help_Aracelis_2019-02-18T01:10:25.988400
1,550,452,225.9884
9,209
pythondev
help
This is my code..
2019-02-18T01:10:39.988900
Aracelis
pythondev_help_Aracelis_2019-02-18T01:10:39.988900
1,550,452,239.9889
9,210
pythondev
help
<@Aracelis> have you tried to google the error message?
2019-02-18T01:12:34.989300
Chester
pythondev_help_Chester_2019-02-18T01:12:34.989300
1,550,452,354.9893
9,211
pythondev
help
no...
2019-02-18T01:15:54.989500
Aracelis
pythondev_help_Aracelis_2019-02-18T01:15:54.989500
1,550,452,554.9895
9,212
pythondev
help
the same code i m trying to execute in pycharm...
2019-02-18T01:16:26.990100
Aracelis
pythondev_help_Aracelis_2019-02-18T01:16:26.990100
1,550,452,586.9901
9,213
pythondev
help
it gives me following error..
2019-02-18T01:16:49.990500
Aracelis
pythondev_help_Aracelis_2019-02-18T01:16:49.990500
1,550,452,609.9905
9,214
pythondev
help
C:\Users\PCUser\Desktop\pyCharmPractice\venv\Scripts\python.exe C:/Users/PCUser/Desktop/pyCharmPractice/Database/demoDb.py Traceback (most recent call last): File "C:/Users/PCUser/Desktop/pyCharmPractice/Database/demoDb.py", line 1, in &lt;module&gt; import mysql.connector ModuleNotFoundError: No module named 'my...
2019-02-18T01:16:50.990700
Aracelis
pythondev_help_Aracelis_2019-02-18T01:16:50.990700
1,550,452,610.9907
9,215
pythondev
help
Just google these error messages.
2019-02-18T01:17:07.991000
Chester
pythondev_help_Chester_2019-02-18T01:17:07.991000
1,550,452,627.991
9,216
pythondev
help
Solutions are literally on the very first link.
2019-02-18T01:17:27.991300
Chester
pythondev_help_Chester_2019-02-18T01:17:27.991300
1,550,452,647.9913
9,217
pythondev
help
no one here to help me?
2019-02-18T01:27:46.991600
Aracelis
pythondev_help_Aracelis_2019-02-18T01:27:46.991600
1,550,453,266.9916
9,218
pythondev
help
No one will google error messages for you, yes.
2019-02-18T01:28:33.992000
Chester
pythondev_help_Chester_2019-02-18T01:28:33.992000
1,550,453,313.992
9,219
pythondev
help
does anybody know why it not showing my anaconda with python3 ? <http://prntscr.com/mmiskg>
2019-02-18T01:41:21.992600
Gianna
pythondev_help_Gianna_2019-02-18T01:41:21.992600
1,550,454,081.9926
9,220