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 | if you’re using postgres, why not use the jsonb type? | 2019-04-23T07:24:01.350500 | Hiroko | pythondev_help_Hiroko_2019-04-23T07:24:01.350500 | 1,556,004,241.3505 | 20,121 |
pythondev | help | my database is essentially just staging for a visualization tool which only accepts CSV uploads (REST API) | 2019-04-23T07:24:52.351300 | Alvina | pythondev_help_Alvina_2019-04-23T07:24:52.351300 | 1,556,004,292.3513 | 20,122 |
pythondev | help | I do make use of jsonb, but then I need to unnest it as actual columns to send to the tool so it creates more work eventually | 2019-04-23T07:25:17.351900 | Alvina | pythondev_help_Alvina_2019-04-23T07:25:17.351900 | 1,556,004,317.3519 | 20,123 |
pythondev | help | None | 2019-04-23T07:26:10.352000 | Alvina | pythondev_help_Alvina_2019-04-23T07:26:10.352000 | 1,556,004,370.352 | 20,124 |
pythondev | help | I do keep track of the actual source file (original file name and modified timestamp) as part of each table though | 2019-04-23T07:26:30.352700 | Alvina | pythondev_help_Alvina_2019-04-23T07:26:30.352700 | 1,556,004,390.3527 | 20,125 |
pythondev | help | so changing the column names is not a huge deal | 2019-04-23T07:26:50.353100 | Alvina | pythondev_help_Alvina_2019-04-23T07:26:50.353100 | 1,556,004,410.3531 | 20,126 |
pythondev | help | ```
From debian:jessie
RUN apt-get -y install python-pip python-dev build-essential
WORKDIR /diary
COPY . /diary
EXPOSE 5000
ENTRYPOINT ["python"]
CMD["app. py"]
``` | 2019-04-23T07:38:51.354400 | Elmira | pythondev_help_Elmira_2019-04-23T07:38:51.354400 | 1,556,005,131.3544 | 20,127 |
pythondev | help | Error : can't find or open file "app.py file" <@Hiroko> | 2019-04-23T07:39:51.355300 | Elmira | pythondev_help_Elmira_2019-04-23T07:39:51.355300 | 1,556,005,191.3553 | 20,128 |
pythondev | help | Any help please? | 2019-04-23T07:40:00.355600 | Elmira | pythondev_help_Elmira_2019-04-23T07:40:00.355600 | 1,556,005,200.3556 | 20,129 |
pythondev | help | there's a space in "app. py" | 2019-04-23T07:40:34.356000 | Jettie | pythondev_help_Jettie_2019-04-23T07:40:34.356000 | 1,556,005,234.356 | 20,130 |
pythondev | help | Still same error.... | 2019-04-23T07:46:48.356300 | Elmira | pythondev_help_Elmira_2019-04-23T07:46:48.356300 | 1,556,005,608.3563 | 20,131 |
pythondev | help | I have successfully built the image but I want to start and run it as a container but is says "Error : can't find or open file "app.py file" | 2019-04-23T07:58:17.358100 | Elmira | pythondev_help_Elmira_2019-04-23T07:58:17.358100 | 1,556,006,297.3581 | 20,132 |
pythondev | help | `docker exec` into the container and verify that `diary/app.py` exists | 2019-04-23T08:05:35.359200 | Jewell | pythondev_help_Jewell_2019-04-23T08:05:35.359200 | 1,556,006,735.3592 | 20,133 |
pythondev | help | copying into a container can be weird sometimes | 2019-04-23T08:06:31.359900 | Jewell | pythondev_help_Jewell_2019-04-23T08:06:31.359900 | 1,556,006,791.3599 | 20,134 |
pythondev | help | Not working | 2019-04-23T08:28:50.360200 | Elmira | pythondev_help_Elmira_2019-04-23T08:28:50.360200 | 1,556,008,130.3602 | 20,135 |
pythondev | help | what is `not working`? | 2019-04-23T08:35:35.360400 | Hiroko | pythondev_help_Hiroko_2019-04-23T08:35:35.360400 | 1,556,008,535.3604 | 20,136 |
pythondev | help | that’s a fairly non-descript complaint | 2019-04-23T08:35:45.360700 | Hiroko | pythondev_help_Hiroko_2019-04-23T08:35:45.360700 | 1,556,008,545.3607 | 20,137 |
pythondev | help | <@Elmira> Have you tried to remove the `ENTRYPOINT` and just use the simpler format `CMD ["python", "app.py"]` ? | 2019-04-23T09:12:38.361900 | My | pythondev_help_My_2019-04-23T09:12:38.361900 | 1,556,010,758.3619 | 20,138 |
pythondev | help | I'm trying to watermark every page of a pdf (will ultimately used for ingest of lots of pdfs). The image will be a .png file that has transparency. I'm looking at using the merge function from PyPDF2. For that to work, it seems that I need to convert the .png into a single page pdf. To do THAT, I'm attempting to use PIL (concept testing code): | 2019-04-23T10:10:48.366700 | Marth | pythondev_help_Marth_2019-04-23T10:10:48.366700 | 1,556,014,248.3667 | 20,139 |
pythondev | help | but I'm getting a ValueError `ValueError: cannot save mode RGBA` | 2019-04-23T10:11:09.367300 | Marth | pythondev_help_Marth_2019-04-23T10:11:09.367300 | 1,556,014,269.3673 | 20,140 |
pythondev | help | so either PIL can't save RGBA to pdf, or perhaps pdfs don't support alpha channels? | 2019-04-23T10:11:36.367900 | Marth | pythondev_help_Marth_2019-04-23T10:11:36.367900 | 1,556,014,296.3679 | 20,141 |
pythondev | help | maybe a dependency issue ? | 2019-04-23T10:12:08.368700 | Jimmy | pythondev_help_Jimmy_2019-04-23T10:12:08.368700 | 1,556,014,328.3687 | 20,142 |
pythondev | help | the image HAS to have an alpha channel though since as a watermark, it needs to be seen through | 2019-04-23T10:12:10.368800 | Marth | pythondev_help_Marth_2019-04-23T10:12:10.368800 | 1,556,014,330.3688 | 20,143 |
pythondev | help | PDFs do support alpha channels, but it's possible there's more you need to do to get it working. | 2019-04-23T10:12:15.369000 | Carmen | pythondev_help_Carmen_2019-04-23T10:12:15.369000 | 1,556,014,335.369 | 20,144 |
pythondev | help | ok...that's good to know, I'll dig more into PIL and see if I'm missing something. | 2019-04-23T10:13:00.369500 | Marth | pythondev_help_Marth_2019-04-23T10:13:00.369500 | 1,556,014,380.3695 | 20,145 |
pythondev | help | Urghhh. Pip update break on Debian | 2019-04-23T10:38:23.370100 | Raymonde | pythondev_help_Raymonde_2019-04-23T10:38:23.370100 | 1,556,015,903.3701 | 20,146 |
pythondev | help | I'm able to watermark a multipage pdf, provided my watermark file is a .pdf with a transparent image (I created a test one manually via Adobe illustrator to make sure I had my PyPDF2 code working corrently). Can't seem to convert a .png into a .pdf and maintain the alpha channel. PIL doesn't seem to support it (RGB only). I saw another library called 'wand' but it seems to be just bindings to ImageMagick, and it wouldn't run on my machine (separate set of issues). Just wondering if there are other image manipulation libraries I'm overlooking that will allow me to save a .png file to .pdf WITH alpha? | 2019-04-23T13:04:38.377400 | Marth | pythondev_help_Marth_2019-04-23T13:04:38.377400 | 1,556,024,678.3774 | 20,147 |
pythondev | help | or of course, if I'm missing something to make PIL work, that would work for me as well | 2019-04-23T13:05:05.378000 | Marth | pythondev_help_Marth_2019-04-23T13:05:05.378000 | 1,556,024,705.378 | 20,148 |
pythondev | help | Hello All, Is there a way to find if two dates are overlapping? I've tried the following, but I don't think I'm doing it right. | 2019-04-23T13:50:27.378400 | Milly | pythondev_help_Milly_2019-04-23T13:50:27.378400 | 1,556,027,427.3784 | 20,149 |
pythondev | help | <https://stackoverflow.com/questions/9044084/efficient-date-range-overlap-calculation-in-python> | 2019-04-23T13:53:23.378800 | Hiroko | pythondev_help_Hiroko_2019-04-23T13:53:23.378800 | 1,556,027,603.3788 | 20,150 |
pythondev | help | guys i have this function executing runuser and some long java line | 2019-04-23T14:09:06.379600 | Kam | pythondev_help_Kam_2019-04-23T14:09:06.379600 | 1,556,028,546.3796 | 20,151 |
pythondev | help | None | 2019-04-23T14:09:47.379800 | Kam | pythondev_help_Kam_2019-04-23T14:09:47.379800 | 1,556,028,587.3798 | 20,152 |
pythondev | help | and my output is | 2019-04-23T14:10:15.380200 | Kam | pythondev_help_Kam_2019-04-23T14:10:15.380200 | 1,556,028,615.3802 | 20,153 |
pythondev | help | None | 2019-04-23T14:10:23.380300 | Kam | pythondev_help_Kam_2019-04-23T14:10:23.380300 | 1,556,028,623.3803 | 20,154 |
pythondev | help | am I wrapping up my command correctly? | 2019-04-23T14:10:39.380800 | Kam | pythondev_help_Kam_2019-04-23T14:10:39.380800 | 1,556,028,639.3808 | 20,155 |
pythondev | help | <@Marth> If you're willing to add another library to the mix, you can combine PyPDF2 with ReportLab to convert your transparent PNG into a PDF and overlay it on another PDF. | 2019-04-23T14:20:53.381900 | Carmen | pythondev_help_Carmen_2019-04-23T14:20:53.381900 | 1,556,029,253.3819 | 20,156 |
pythondev | help | oh nice! I'll take a look at ReportLab. I was starting to "settle" on just using `subprocess` to call the imagemagick command. Thanks! <@Carmen> :taco: | 2019-04-23T14:22:04.382800 | Marth | pythondev_help_Marth_2019-04-23T14:22:04.382800 | 1,556,029,324.3828 | 20,157 |
pythondev | help | You're looking for `reportlab.pdfgen`. | 2019-04-23T14:24:05.383200 | Carmen | pythondev_help_Carmen_2019-04-23T14:24:05.383200 | 1,556,029,445.3832 | 20,158 |
pythondev | help | Page 14 of the user manual discusses adding images to your PDF, including transparency. | 2019-04-23T14:24:30.383600 | Carmen | pythondev_help_Carmen_2019-04-23T14:24:30.383600 | 1,556,029,470.3836 | 20,159 |
pythondev | help | Then you just save your canvas, using a `StringIO` object if you want to avoid a temporary file on your filesystem, and use PyPDF2 to read that PDF and merge it with your actual PDF. | 2019-04-23T14:26:23.385200 | Carmen | pythondev_help_Carmen_2019-04-23T14:26:23.385200 | 1,556,029,583.3852 | 20,160 |
pythondev | help | Thanks for the points in the right direction. Sounds like it's what I'm looking for! | 2019-04-23T14:27:39.385800 | Marth | pythondev_help_Marth_2019-04-23T14:27:39.385800 | 1,556,029,659.3858 | 20,161 |
pythondev | help | :+1: | 2019-04-23T14:27:49.386000 | Carmen | pythondev_help_Carmen_2019-04-23T14:27:49.386000 | 1,556,029,669.386 | 20,162 |
pythondev | help | Hey newbie question created new list inside of my function and when I pass that list it returns the list as type function and printing the list gives the memory space ? any idea's ? | 2019-04-23T15:25:10.388300 | Avis | pythondev_help_Avis_2019-04-23T15:25:10.388300 | 1,556,033,110.3883 | 20,163 |
pythondev | help | got to show your code. | 2019-04-23T15:26:06.388600 | Clemmie | pythondev_help_Clemmie_2019-04-23T15:26:06.388600 | 1,556,033,166.3886 | 20,164 |
pythondev | help | ```def checker(values,dot):
values1 = [s.replace('.', '-') for s in values]
list1 = list()
list2 = list()
for item in values1:
if item >= dot:
list1.append(item)
else:
list2.append(item)
return(list1)
def elasticdump(past_dates):
print type(past_dates)
return
def main():
tmx,past = check_indices()
checker(tmx, past)
list1 = checker
elasticdump(list1)
main()``` | 2019-04-23T15:28:40.389200 | Avis | pythondev_help_Avis_2019-04-23T15:28:40.389200 | 1,556,033,320.3892 | 20,165 |
pythondev | help | when you do `list1 = checker` in `main` you are setting it to the method signature. you want `list1 = checker(tmx, past)` | 2019-04-23T15:29:43.390000 | Clemmie | pythondev_help_Clemmie_2019-04-23T15:29:43.390000 | 1,556,033,383.39 | 20,166 |
pythondev | help | <@Clemmie> I have to include the argument as well ? | 2019-04-23T15:32:08.390900 | Avis | pythondev_help_Avis_2019-04-23T15:32:08.390900 | 1,556,033,528.3909 | 20,167 |
pythondev | help | that's from another functions | 2019-04-23T15:32:49.391600 | Avis | pythondev_help_Avis_2019-04-23T15:32:49.391600 | 1,556,033,569.3916 | 20,168 |
pythondev | help | Any time that you want to call a function, you need to provide the arguments for that function. | 2019-04-23T15:46:16.392300 | Carmen | pythondev_help_Carmen_2019-04-23T15:46:16.392300 | 1,556,034,376.3923 | 20,169 |
pythondev | help | It relies on them to compute it's output. | 2019-04-23T15:46:22.392500 | Carmen | pythondev_help_Carmen_2019-04-23T15:46:22.392500 | 1,556,034,382.3925 | 20,170 |
pythondev | help | Are you able to load this notebook ?
<https://github.com/paulgureghian/SpaCy/blob/master/SpaCy1.ipynb> | 2019-04-23T15:47:37.392900 | Clayton | pythondev_help_Clayton_2019-04-23T15:47:37.392900 | 1,556,034,457.3929 | 20,171 |
pythondev | help | Yes and still the same error | 2019-04-23T15:53:46.393400 | Elmira | pythondev_help_Elmira_2019-04-23T15:53:46.393400 | 1,556,034,826.3934 | 20,172 |
pythondev | help | Hello everyone, I’m running:
pylint **/*.py
And having a rare issue:
File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/sre_parse.py”, line 651, in _parse
source.tell() - here + len(this))
re.error: nothing to repeat at position 0
Someone knows why?
Thanks in advance | 2019-04-23T16:14:28.395600 | Deirdre | pythondev_help_Deirdre_2019-04-23T16:14:28.395600 | 1,556,036,068.3956 | 20,173 |
pythondev | help | I just fixed. Thanks! | 2019-04-23T16:28:08.396100 | Deirdre | pythondev_help_Deirdre_2019-04-23T16:28:08.396100 | 1,556,036,888.3961 | 20,174 |
pythondev | help | I have a thermometer object and I want to give or simulate the classic functionalities, I defined the on and off method but I can not find a way to measure it, measure the temperature and return it, can someone help me? | 2019-04-23T16:57:29.396500 | Melia | pythondev_help_Melia_2019-04-23T16:57:29.396500 | 1,556,038,649.3965 | 20,175 |
pythondev | help | Hey everyone! I have these 5 sets I've tried to get the lengths from. How would I find which set has the most? Clearly, I can tell which one it is, but how do I let Python convey that? | 2019-04-23T17:05:37.397600 | Milly | pythondev_help_Milly_2019-04-23T17:05:37.397600 | 1,556,039,137.3976 | 20,176 |
pythondev | help | here you go <@Milly> | 2019-04-23T17:16:02.398100 | Jorge | pythondev_help_Jorge_2019-04-23T17:16:02.398100 | 1,556,039,762.3981 | 20,177 |
pythondev | help | something like that should work | 2019-04-23T17:16:10.398500 | Jorge | pythondev_help_Jorge_2019-04-23T17:16:10.398500 | 1,556,039,770.3985 | 20,178 |
pythondev | help | Idk if this is the right place for this or not. I'm running into some issues trying to install Cython on a new MacBook that I haven't seen before, it appears to be coming from within Xcode. I installed Xcode from the App Store as I have in the past and didn't run into this issue before. This is the error I get when trying to run the Cython `setup.py` script. `pip install Cython` works, but when I try to compile anything it fails which is why I'm trying to build from source | 2019-04-23T17:16:52.399400 | Cherish | pythondev_help_Cherish_2019-04-23T17:16:52.399400 | 1,556,039,812.3994 | 20,179 |
pythondev | help | you want to iterate over all of your lists, and if the length of the current list is greater than the maximum that you've seen so far,
you set that list to the greatest list | 2019-04-23T17:17:09.400300 | Jorge | pythondev_help_Jorge_2019-04-23T17:17:09.400300 | 1,556,039,829.4003 | 20,180 |
pythondev | help | Oh! Okay Thanks so much <@Jorge> . I'll be trying that now. | 2019-04-23T17:17:55.400900 | Milly | pythondev_help_Milly_2019-04-23T17:17:55.400900 | 1,556,039,875.4009 | 20,181 |
pythondev | help | <@Cherish>
I know i had a lot of issues recently trying to use a lot of Make/Cmake utilities on my macbook
turns out that while I had installed all the xcode tools that I needed, I hadnt signed the XCode Developer license agreement
not sure if thats what this is, but you might look into it | 2019-04-23T17:21:34.403100 | Jorge | pythondev_help_Jorge_2019-04-23T17:21:34.403100 | 1,556,040,094.4031 | 20,182 |
pythondev | help | yeah I just did that after a few minutes of trying without it, but still no luck. Gonna keep banging against it for now | 2019-04-23T17:23:05.404300 | Cherish | pythondev_help_Cherish_2019-04-23T17:23:05.404300 | 1,556,040,185.4043 | 20,183 |
pythondev | help | well, I found a solution that worked, not sure how I got it into a state which needed it but at least I can move on: <https://stackoverflow.com/questions/46872922/broken-c-std-libraries-on-macos-high-sierra-10-13/47401866#47401866> | 2019-04-23T17:47:19.406100 | Cherish | pythondev_help_Cherish_2019-04-23T17:47:19.406100 | 1,556,041,639.4061 | 20,184 |
pythondev | help | Could this be a Python issue ?
Screenshot : <https://imgur.com/a/iD828Pc> | 2019-04-23T18:20:00.406800 | Clayton | pythondev_help_Clayton_2019-04-23T18:20:00.406800 | 1,556,043,600.4068 | 20,185 |
pythondev | help | is the file you're running called `spacy.py`? probably conflicting...rename it and try again? | 2019-04-23T18:22:29.407500 | Maricruz | pythondev_help_Maricruz_2019-04-23T18:22:29.407500 | 1,556,043,749.4075 | 20,186 |
pythondev | help | <@Clayton> ^^ | 2019-04-23T18:25:26.407800 | Gemma | pythondev_help_Gemma_2019-04-23T18:25:26.407800 | 1,556,043,926.4078 | 20,187 |
pythondev | help | I’m trying to clean up some output for a file. Can someone tell me if there is a better way to write this - Reduce the number of .replace calls?
my_item = item[-1].replace(‘}’, ‘’).replace(‘]’, ‘’).replace(‘\n’, ‘’).replace(‘“’, ‘’) | 2019-04-23T18:25:31.408000 | Oda | pythondev_help_Oda_2019-04-23T18:25:31.408000 | 1,556,043,931.408 | 20,188 |
pythondev | help | Thanks. that might work | 2019-04-23T18:27:12.408300 | Clayton | pythondev_help_Clayton_2019-04-23T18:27:12.408300 | 1,556,044,032.4083 | 20,189 |
pythondev | help | Did not work | 2019-04-23T18:29:58.408600 | Clayton | pythondev_help_Clayton_2019-04-23T18:29:58.408600 | 1,556,044,198.4086 | 20,190 |
pythondev | help | <@Clayton>, what is the output from `python -c 'import sys; print(sys.path)'`? | 2019-04-23T18:48:04.409500 | Gemma | pythondev_help_Gemma_2019-04-23T18:48:04.409500 | 1,556,045,284.4095 | 20,191 |
pythondev | help | Lets see .. | 2019-04-23T18:48:49.409900 | Clayton | pythondev_help_Clayton_2019-04-23T18:48:49.409900 | 1,556,045,329.4099 | 20,192 |
pythondev | help | that command goes in ipython ? python ? terminal ? | 2019-04-23T18:49:54.410600 | Clayton | pythondev_help_Clayton_2019-04-23T18:49:54.410600 | 1,556,045,394.4106 | 20,193 |
pythondev | help | terminal | 2019-04-23T18:49:58.410800 | Gemma | pythondev_help_Gemma_2019-04-23T18:49:58.410800 | 1,556,045,398.4108 | 20,194 |
pythondev | help | ~or command prompt~ | 2019-04-23T18:50:06.411000 | Gemma | pythondev_help_Gemma_2019-04-23T18:50:06.411000 | 1,556,045,406.411 | 20,195 |
pythondev | help | stand by... | 2019-04-23T18:50:22.411400 | Clayton | pythondev_help_Clayton_2019-04-23T18:50:22.411400 | 1,556,045,422.4114 | 20,196 |
pythondev | help | None | 2019-04-23T18:51:28.411500 | Clayton | pythondev_help_Clayton_2019-04-23T18:51:28.411500 | 1,556,045,488.4115 | 20,197 |
pythondev | help | Is this right ? | 2019-04-23T18:51:49.412000 | Clayton | pythondev_help_Clayton_2019-04-23T18:51:49.412000 | 1,556,045,509.412 | 20,198 |
pythondev | help | single quotes look like they are not working | 2019-04-23T18:52:11.412600 | Gemma | pythondev_help_Gemma_2019-04-23T18:52:11.412600 | 1,556,045,531.4126 | 20,199 |
pythondev | help | you can go into a python repl and do `import sys`, `print(sys.path)` | 2019-04-23T18:53:03.413200 | Gemma | pythondev_help_Gemma_2019-04-23T18:53:03.413200 | 1,556,045,583.4132 | 20,200 |
pythondev | help | I am not very familiar with the operation. is there a doc I can read ? | 2019-04-23T18:54:36.414200 | Clayton | pythondev_help_Clayton_2019-04-23T18:54:36.414200 | 1,556,045,676.4142 | 20,201 |
pythondev | help | Is it a Spyder issue ? | 2019-04-23T18:55:27.414600 | Clayton | pythondev_help_Clayton_2019-04-23T18:55:27.414600 | 1,556,045,727.4146 | 20,202 |
pythondev | help | I renamed it and still got the same error | 2019-04-23T19:31:11.415800 | Clayton | pythondev_help_Clayton_2019-04-23T19:31:11.415800 | 1,556,047,871.4158 | 20,203 |
pythondev | help | Oops, yeah just saw. Sorry! | 2019-04-23T19:31:18.416100 | Letty | pythondev_help_Letty_2019-04-23T19:31:18.416100 | 1,556,047,878.4161 | 20,204 |
pythondev | help | Is there a `spacy.pyc` file in that directory? you’ll have to delete that too. | 2019-04-23T19:31:41.416500 | Letty | pythondev_help_Letty_2019-04-23T19:31:41.416500 | 1,556,047,901.4165 | 20,205 |
pythondev | help | also, when you did `ls` it still shows the spacy.py, is it possible it’s still there? | 2019-04-23T19:32:09.417300 | Letty | pythondev_help_Letty_2019-04-23T19:32:09.417300 | 1,556,047,929.4173 | 20,206 |
pythondev | help | So, even if the file is renamed the original still remains and has to be deleted ? | 2019-04-23T19:32:30.417800 | Clayton | pythondev_help_Clayton_2019-04-23T19:32:30.417800 | 1,556,047,950.4178 | 20,207 |
pythondev | help | yeah, when you say `import blah` python will look for `blah.py` next to your file, then go searching in the libraries. | 2019-04-23T19:33:07.418500 | Letty | pythondev_help_Letty_2019-04-23T19:33:07.418500 | 1,556,047,987.4185 | 20,208 |
pythondev | help | Lets see if that works. thanks | 2019-04-23T19:33:30.418800 | Clayton | pythondev_help_Clayton_2019-04-23T19:33:30.418800 | 1,556,048,010.4188 | 20,209 |
pythondev | help | I changed the file name, deleted the original file, restarted spyder and the kernel. still getting this error: | 2019-04-23T19:56:05.420100 | Clayton | pythondev_help_Clayton_2019-04-23T19:56:05.420100 | 1,556,049,365.4201 | 20,210 |
pythondev | help | Hey all, I got here via the Django channels docs. Looking for just general places to inquire about it. Am I in the right spot? | 2019-04-23T20:16:55.421200 | Jordan | pythondev_help_Jordan_2019-04-23T20:16:55.421200 | 1,556,050,615.4212 | 20,211 |
pythondev | help | <@Clayton> Put `print(spacy.__file__)` in your script and run it again, that’ll tell you which file you’re importing. | 2019-04-23T20:27:37.421700 | Letty | pythondev_help_Letty_2019-04-23T20:27:37.421700 | 1,556,051,257.4217 | 20,212 |
pythondev | help | (after the import, before the load) | 2019-04-23T20:28:07.421900 | Letty | pythondev_help_Letty_2019-04-23T20:28:07.421900 | 1,556,051,287.4219 | 20,213 |
pythondev | help | ok. FYI, spacy seems better on Mac than Windows / Linux to this point | 2019-04-23T20:29:03.422900 | Clayton | pythondev_help_Clayton_2019-04-23T20:29:03.422900 | 1,556,051,343.4229 | 20,214 |
pythondev | help | It's a bit late now, <@Clayton>, but `sys.path` tells you all the various paths that python attempts to resolve. | 2019-04-23T20:38:43.424100 | Gemma | pythondev_help_Gemma_2019-04-23T20:38:43.424100 | 1,556,051,923.4241 | 20,215 |
pythondev | help | It will go through those paths and try to load your dependencies so I was trying to see if your custom `spacy.py` file was on one of those paths! | 2019-04-23T20:39:48.425300 | Gemma | pythondev_help_Gemma_2019-04-23T20:39:48.425300 | 1,556,051,988.4253 | 20,216 |
pythondev | help | That way you could rest assure that there was a namespace collision occurring. | 2019-04-23T20:40:24.425800 | Gemma | pythondev_help_Gemma_2019-04-23T20:40:24.425800 | 1,556,052,024.4258 | 20,217 |
pythondev | help | (or as easily as one can with a looming namespace collision to fix) | 2019-04-23T20:40:52.426600 | Gemma | pythondev_help_Gemma_2019-04-23T20:40:52.426600 | 1,556,052,052.4266 | 20,218 |
pythondev | help | That command faulted as well. it just doesnt seem like spacy is being imported properly. | 2019-04-23T20:41:11.427100 | Clayton | pythondev_help_Clayton_2019-04-23T20:41:11.427100 | 1,556,052,071.4271 | 20,219 |
pythondev | help | So, even if deleted the file can still be on one of the paths ? | 2019-04-23T20:42:53.427900 | Clayton | pythondev_help_Clayton_2019-04-23T20:42:53.427900 | 1,556,052,173.4279 | 20,220 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.