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 | true, so the value of `combined` is None, but the value of `calyear` has been changed by the update method call.. | 2019-02-01T10:54:10.569700 | Agustina | pythondev_help_Agustina_2019-02-01T10:54:10.569700 | 1,549,018,450.5697 | 5,921 |
pythondev | help | correct | 2019-02-01T10:54:52.570200 | Ashley | pythondev_help_Ashley_2019-02-01T10:54:52.570200 | 1,549,018,492.5702 | 5,922 |
pythondev | help | I missed that when I first read the sample code, good catch <@Ashley> | 2019-02-01T10:54:56.570400 | Agustina | pythondev_help_Agustina_2019-02-01T10:54:56.570400 | 1,549,018,496.5704 | 5,923 |
pythondev | help | sorry, didn't mean to mislead | 2019-02-01T10:55:01.570500 | Ashley | pythondev_help_Ashley_2019-02-01T10:55:01.570500 | 1,549,018,501.5705 | 5,924 |
pythondev | help | also, for styling notes, you should put spaces around the `=` when assigning to a variable, but not when passing or defining keyword arguments to/for a function | 2019-02-01T10:57:09.571300 | Ashley | pythondev_help_Ashley_2019-02-01T10:57:09.571300 | 1,549,018,629.5713 | 5,925 |
pythondev | help | <@Granville> is this Python 3? | 2019-02-01T10:58:28.571600 | Ashley | pythondev_help_Ashley_2019-02-01T10:58:28.571600 | 1,549,018,708.5716 | 5,926 |
pythondev | help | <@Ashley> it is | 2019-02-01T10:58:37.571800 | Granville | pythondev_help_Granville_2019-02-01T10:58:37.571800 | 1,549,018,717.5718 | 5,927 |
pythondev | help | cool, one sec | 2019-02-01T10:58:44.572000 | Ashley | pythondev_help_Ashley_2019-02-01T10:58:44.572000 | 1,549,018,724.572 | 5,928 |
pythondev | help | thanks all. I'll take a look at this a bit further. I've never done something this way, so I may need to go back and do some tweaking until I get things right | 2019-02-01T10:59:28.572800 | Granville | pythondev_help_Granville_2019-02-01T10:59:28.572800 | 1,549,018,768.5728 | 5,929 |
pythondev | help | <@Granville> here's a fixed up version. Take a look at the `**` operator. You can probably use it to eliminate this function entirely | 2019-02-01T11:01:46.573100 | Ashley | pythondev_help_Ashley_2019-02-01T11:01:46.573100 | 1,549,018,906.5731 | 5,930 |
pythondev | help | the `*` and `**` operators are also super handy in general, so you'll benefit from learning them | 2019-02-01T11:02:39.574000 | Ashley | pythondev_help_Ashley_2019-02-01T11:02:39.574000 | 1,549,018,959.574 | 5,931 |
pythondev | help | forr what to google, you can look for "packing" and "unpacking" | 2019-02-01T11:03:00.574400 | Ashley | pythondev_help_Ashley_2019-02-01T11:03:00.574400 | 1,549,018,980.5744 | 5,932 |
pythondev | help | <@Ashley> Thanks! Ah, I was supposed to have a return regardless. | 2019-02-01T11:08:18.575000 | Granville | pythondev_help_Granville_2019-02-01T11:08:18.575000 | 1,549,019,298.575 | 5,933 |
pythondev | help | <@Granville> usually if the only thing that would go in your `else` is just a `return`, you don't need the else, and can just put it in normally | 2019-02-01T11:10:18.576100 | Ashley | pythondev_help_Ashley_2019-02-01T11:10:18.576100 | 1,549,019,418.5761 | 5,934 |
pythondev | help | except that str(None) is ‘None’ so your variables will ALWAYS be populated. | 2019-02-01T11:10:51.576800 | Agustina | pythondev_help_Agustina_2019-02-01T11:10:51.576800 | 1,549,019,451.5768 | 5,935 |
pythondev | help | `year` won't be | 2019-02-01T11:11:18.577100 | Ashley | pythondev_help_Ashley_2019-02-01T11:11:18.577100 | 1,549,019,478.5771 | 5,936 |
pythondev | help | or `code` | 2019-02-01T11:11:26.577400 | Ashley | pythondev_help_Ashley_2019-02-01T11:11:26.577400 | 1,549,019,486.5774 | 5,937 |
pythondev | help | they'd both still be `None` | 2019-02-01T11:11:34.577700 | Ashley | pythondev_help_Ashley_2019-02-01T11:11:34.577700 | 1,549,019,494.5777 | 5,938 |
pythondev | help | ah… sorry, you’re right… I need to stop switching languages and drink more coffee… | 2019-02-01T11:12:09.578200 | Agustina | pythondev_help_Agustina_2019-02-01T11:12:09.578200 | 1,549,019,529.5782 | 5,939 |
pythondev | help | However, you did make me think of a better approach | 2019-02-01T11:14:21.578300 | Ashley | pythondev_help_Ashley_2019-02-01T11:14:21.578300 | 1,549,019,661.5783 | 5,940 |
pythondev | help | I like it… easier to read. | 2019-02-01T11:15:22.578800 | Agustina | pythondev_help_Agustina_2019-02-01T11:15:22.578800 | 1,549,019,722.5788 | 5,941 |
pythondev | help | You can also consider to return an empty dictionary instead of `None` if `year` and `code` aren't specified | 2019-02-01T11:17:10.579400 | Chester | pythondev_help_Chester_2019-02-01T11:17:10.579400 | 1,549,019,830.5794 | 5,942 |
pythondev | help | So this snippet is simplified to just
```
def queries(year=None, code=None):
response = {}
if year:
respone["Year"] = str(year)
if code:
respone["code"] = str(code)
return response
``` | 2019-02-01T11:17:40.580400 | Chester | pythondev_help_Chester_2019-02-01T11:17:40.580400 | 1,549,019,860.5804 | 5,943 |
pythondev | help | <@Chester> yeah, that would be better. It's still falsey and has a consistent data type | 2019-02-01T11:17:40.580500 | Ashley | pythondev_help_Ashley_2019-02-01T11:17:40.580500 | 1,549,019,860.5805 | 5,944 |
pythondev | help | also less code | 2019-02-01T11:17:46.580700 | Ashley | pythondev_help_Ashley_2019-02-01T11:17:46.580700 | 1,549,019,866.5807 | 5,945 |
pythondev | help | Any help for the state transitions | 2019-02-01T11:19:38.582600 | Micki | pythondev_help_Micki_2019-02-01T11:19:38.582600 | 1,549,019,978.5826 | 5,946 |
pythondev | help | Also raises the question why do you need this as a function :slightly_smiling_face: It's pretty dumb (in its current form) to hide some complexity (there is no complexity in there), you probably won't use it for code reuse | 2019-02-01T11:19:44.582700 | Chester | pythondev_help_Chester_2019-02-01T11:19:44.582700 | 1,549,019,984.5827 | 5,947 |
pythondev | help | unless this was just an except from a larger function to discuss this piece of the logic | 2019-02-01T11:20:53.583400 | Agustina | pythondev_help_Agustina_2019-02-01T11:20:53.583400 | 1,549,020,053.5834 | 5,948 |
pythondev | help | yeah, that's why I was thinking `**` could pretty much nullify the need for the function | 2019-02-01T11:22:29.583900 | Ashley | pythondev_help_Ashley_2019-02-01T11:22:29.583900 | 1,549,020,149.5839 | 5,949 |
pythondev | help | Hi all, how could I best iterate through a list of regex's to format a string (when/if it get's to the correct corresponding pattern) and also raise an error if none of the regex patterns match | 2019-02-01T11:55:10.587500 | Britt | pythondev_help_Britt_2019-02-01T11:55:10.587500 | 1,549,022,110.5875 | 5,950 |
pythondev | help | None | 2019-02-01T11:59:02.587600 | Britt | pythondev_help_Britt_2019-02-01T11:59:02.587600 | 1,549,022,342.5876 | 5,951 |
pythondev | help | <@Britt> | 2019-02-01T12:04:11.587900 | Clemmie | pythondev_help_Clemmie_2019-02-01T12:04:11.587900 | 1,549,022,651.5879 | 5,952 |
pythondev | help | Let's consider the string `"A\nB"`. In memory, this is three bytes: `0x41, 0x0A, 0x42`, or `A`, `linefeed`, `B`. But it would be awkward to have to hit return in the middle of typing it, so Python allows you to type `\n` in your source code instead in order to get that linefeed character. And if you ask for the `repr()... | 2019-02-01T12:10:36.588400 | Sasha | pythondev_help_Sasha_2019-02-01T12:10:36.588400 | 1,549,023,036.5884 | 5,953 |
pythondev | help | Since Python has those escaping rules involving the backslash, if you want an actual backslash character in your string, you would ordinarily use `"\\"` in your code, which is just one character in memory, and prints out as just `\`. Though again, if you ask for the `repr()` form of the string, Python will back-convert... | 2019-02-01T12:13:07.588600 | Sasha | pythondev_help_Sasha_2019-02-01T12:13:07.588600 | 1,549,023,187.5886 | 5,954 |
pythondev | help | What you have now works only because there is no defined `\*` escape sequence, so Python just says, "Oh, he probably just meant a literal backslash in this case." However, when it gives you back the `repr()` form, it gives you the more proper source-code format, `"\\*"`. Got it? | 2019-02-01T12:14:46.588900 | Sasha | pythondev_help_Sasha_2019-02-01T12:14:46.588900 | 1,549,023,286.5889 | 5,955 |
pythondev | help | thanks all | 2019-02-01T12:21:01.589200 | Granville | pythondev_help_Granville_2019-02-01T12:21:01.589200 | 1,549,023,661.5892 | 5,956 |
pythondev | help | Hi guys, not sure if this is the right place to ask, but I've been building a pretty simple web app in Flask most of today, it's a weight tracker app. It talks to postgres db and I'm using sqlalchemy. I'm having a massive problem displaying the data in my database back to the user in the web app. I'm planning on workin... | 2019-02-01T14:06:40.592800 | Gayla | pythondev_help_Gayla_2019-02-01T14:06:40.592800 | 1,549,030,000.5928 | 5,957 |
pythondev | help | you could ask here, and we also have a <#C0LN2AD7T|flask> channel as well | 2019-02-01T14:07:56.593200 | Hiroko | pythondev_help_Hiroko_2019-02-01T14:07:56.593200 | 1,549,030,076.5932 | 5,958 |
pythondev | help | is the problem with your db, api or frontend? | 2019-02-01T14:08:08.593500 | Hiroko | pythondev_help_Hiroko_2019-02-01T14:08:08.593500 | 1,549,030,088.5935 | 5,959 |
pythondev | help | Oh cool, let me get into that channel too. I am struggling with the syntax/code of querying the database to return all the rows in the db. And then I just want to simply display these results in a simple results page for the user. It's 3 columns, Date, Stone, Pounds (it's a weight tracker app). | 2019-02-01T14:16:05.595100 | Gayla | pythondev_help_Gayla_2019-02-01T14:16:05.595100 | 1,549,030,565.5951 | 5,960 |
pythondev | help | How do I join the flask channel? | 2019-02-01T14:16:34.595500 | Gayla | pythondev_help_Gayla_2019-02-01T14:16:34.595500 | 1,549,030,594.5955 | 5,961 |
pythondev | help | I've got everything set up and working in terms of db connections etc. I just don't know how to query the db, return all results and then display that to the user. | 2019-02-01T14:17:29.596700 | Gayla | pythondev_help_Gayla_2019-02-01T14:17:29.596700 | 1,549,030,649.5967 | 5,962 |
pythondev | help | just click on the highlighted, or go to channels in the sidebar and search for flask | 2019-02-01T14:20:20.596800 | Hiroko | pythondev_help_Hiroko_2019-02-01T14:20:20.596800 | 1,549,030,820.5968 | 5,963 |
pythondev | help | I'm using a dictionary to store classifiers in memory on an API so I don't need to download and unpickle each classifier on use. This takes up about 1 GB in RAM.
I am hoping to reduce this if possible. Anyone have any ideas? | 2019-02-01T16:00:34.599400 | Darlene | pythondev_help_Darlene_2019-02-01T16:00:34.599400 | 1,549,036,834.5994 | 5,964 |
pythondev | help | What kind of classifiers are they? | 2019-02-01T16:03:19.600000 | Bethany | pythondev_help_Bethany_2019-02-01T16:03:19.600000 | 1,549,036,999.6 | 5,965 |
pythondev | help | And how many | 2019-02-01T16:03:35.600200 | Bethany | pythondev_help_Bethany_2019-02-01T16:03:35.600200 | 1,549,037,015.6002 | 5,966 |
pythondev | help | classifying text, so I have vectorizers and classifiers.. and 12 | 2019-02-01T16:11:07.601000 | Darlene | pythondev_help_Darlene_2019-02-01T16:11:07.601000 | 1,549,037,467.601 | 5,967 |
pythondev | help | is the dictionary for the vectorizers loaded into RAM? | 2019-02-01T16:11:49.601200 | Bethany | pythondev_help_Bethany_2019-02-01T16:11:49.601200 | 1,549,037,509.6012 | 5,968 |
pythondev | help | yes | 2019-02-01T16:11:59.601400 | Darlene | pythondev_help_Darlene_2019-02-01T16:11:59.601400 | 1,549,037,519.6014 | 5,969 |
pythondev | help | hm | 2019-02-01T16:12:44.601600 | Bethany | pythondev_help_Bethany_2019-02-01T16:12:44.601600 | 1,549,037,564.6016 | 5,970 |
pythondev | help | ```vectorizers[f] = vectorizer
classifiers[f] = classifier``` | 2019-02-01T16:12:57.601800 | Darlene | pythondev_help_Darlene_2019-02-01T16:12:57.601800 | 1,549,037,577.6018 | 5,971 |
pythondev | help | for each vectorizer/classifier | 2019-02-01T16:13:11.602000 | Darlene | pythondev_help_Darlene_2019-02-01T16:13:11.602000 | 1,549,037,591.602 | 5,972 |
pythondev | help | and you don't reuse vectorizer? | 2019-02-01T16:13:16.602200 | Bethany | pythondev_help_Bethany_2019-02-01T16:13:16.602200 | 1,549,037,596.6022 | 5,973 |
pythondev | help | across classifiers | 2019-02-01T16:13:21.602400 | Bethany | pythondev_help_Bethany_2019-02-01T16:13:21.602400 | 1,549,037,601.6024 | 5,974 |
pythondev | help | they are all different unfortunately | 2019-02-01T16:15:07.602600 | Darlene | pythondev_help_Darlene_2019-02-01T16:15:07.602600 | 1,549,037,707.6026 | 5,975 |
pythondev | help | So it seems like you either need to do something like have a LR | 2019-02-01T16:15:35.602800 | Bethany | pythondev_help_Bethany_2019-02-01T16:15:35.602800 | 1,549,037,735.6028 | 5,976 |
pythondev | help | have LRU cache for the model objects or separate them out into their own services | 2019-02-01T16:15:54.603000 | Bethany | pythondev_help_Bethany_2019-02-01T16:15:54.603000 | 1,549,037,754.603 | 5,977 |
pythondev | help | then only load `n` models at a time | 2019-02-01T16:16:11.603200 | Bethany | pythondev_help_Bethany_2019-02-01T16:16:11.603200 | 1,549,037,771.6032 | 5,978 |
pythondev | help | no clue what LRU caching is or LR, I will do some research | 2019-02-01T16:20:56.603400 | Darlene | pythondev_help_Darlene_2019-02-01T16:20:56.603400 | 1,549,038,056.6034 | 5,979 |
pythondev | help | like load it up when it's needed, and keep in RAM until something else is needed | 2019-02-01T16:21:43.603600 | Bethany | pythondev_help_Bethany_2019-02-01T16:21:43.603600 | 1,549,038,103.6036 | 5,980 |
pythondev | help | Every classifier is used for each request.. it seems like LRU would be better suited if I was only calling specific classifiers | 2019-02-01T16:27:43.604200 | Darlene | pythondev_help_Darlene_2019-02-01T16:27:43.604200 | 1,549,038,463.6042 | 5,981 |
pythondev | help | yeah that's True | 2019-02-01T16:28:04.604400 | Bethany | pythondev_help_Bethany_2019-02-01T16:28:04.604400 | 1,549,038,484.6044 | 5,982 |
pythondev | help | well if you want all the classifiers to fire on each request I don't see too much choice | 2019-02-01T16:28:25.604600 | Bethany | pythondev_help_Bethany_2019-02-01T16:28:25.604600 | 1,549,038,505.6046 | 5,983 |
pythondev | help | ya. I'm at a loss | 2019-02-01T16:28:32.604800 | Darlene | pythondev_help_Darlene_2019-02-01T16:28:32.604800 | 1,549,038,512.6048 | 5,984 |
pythondev | help | what libraries did you use to mamke the classifier | 2019-02-01T16:28:50.605100 | Bethany | pythondev_help_Bethany_2019-02-01T16:28:50.605100 | 1,549,038,530.6051 | 5,985 |
pythondev | help | RandomForrest I believe (is this what you wanted to know)? Or scikit-learn? | 2019-02-01T16:31:32.605300 | Darlene | pythondev_help_Darlene_2019-02-01T16:31:32.605300 | 1,549,038,692.6053 | 5,986 |
pythondev | help | scikit-learn | 2019-02-01T16:31:42.605500 | Bethany | pythondev_help_Bethany_2019-02-01T16:31:42.605500 | 1,549,038,702.6055 | 5,987 |
pythondev | help | I didn't make the classifiers, but I can only assume | 2019-02-01T16:31:49.605700 | Darlene | pythondev_help_Darlene_2019-02-01T16:31:49.605700 | 1,549,038,709.6057 | 5,988 |
pythondev | help | how much RAM is due to vectorizers and how much is due to classifiers | 2019-02-01T16:32:07.605900 | Bethany | pythondev_help_Bethany_2019-02-01T16:32:07.605900 | 1,549,038,727.6059 | 5,989 |
pythondev | help | is there a good way to check this? they are loaded from the same pickled file | 2019-02-01T16:32:51.606100 | Darlene | pythondev_help_Darlene_2019-02-01T16:32:51.606100 | 1,549,038,771.6061 | 5,990 |
pythondev | help | I come from ruby.. so performance wasn't my forte | 2019-02-01T16:33:21.606300 | Darlene | pythondev_help_Darlene_2019-02-01T16:33:21.606300 | 1,549,038,801.6063 | 5,991 |
pythondev | help | try loading the model, then pickling the classifiers and vectorizers independently | 2019-02-01T16:34:00.606500 | Bethany | pythondev_help_Bethany_2019-02-01T16:34:00.606500 | 1,549,038,840.6065 | 5,992 |
pythondev | help | Is the problem you don't want to have a server with 1GB sitting around doing nothing? | 2019-02-01T16:34:38.606700 | Bethany | pythondev_help_Bethany_2019-02-01T16:34:38.606700 | 1,549,038,878.6067 | 5,993 |
pythondev | help | We are running on Heroku.. and 2GB servers start at $250 | 2019-02-01T16:35:10.606900 | Darlene | pythondev_help_Darlene_2019-02-01T16:35:10.606900 | 1,549,038,910.6069 | 5,994 |
pythondev | help | how often is the API called for these models? | 2019-02-01T16:36:09.607200 | Bethany | pythondev_help_Bethany_2019-02-01T16:36:09.607200 | 1,549,038,969.6072 | 5,995 |
pythondev | help | a single API call is made at a time one after another, from 2am - 5am I believe.. | 2019-02-01T16:36:55.607400 | Darlene | pythondev_help_Darlene_2019-02-01T16:36:55.607400 | 1,549,039,015.6074 | 5,996 |
pythondev | help | are these models `sklearn.pipeline([sklearn.dictVectorizer, sklearn.RandomForestClassifier])` | 2019-02-01T16:38:44.607600 | Bethany | pythondev_help_Bethany_2019-02-01T16:38:44.607600 | 1,549,039,124.6076 | 5,997 |
pythondev | help | I can think of two possibilities that are just different approaches - 1) factor out the vectorizers and use only one 2) Reformulate the problem to have 1 classifier with multilable output | 2019-02-01T16:40:08.607900 | Bethany | pythondev_help_Bethany_2019-02-01T16:40:08.607900 | 1,549,039,208.6079 | 5,998 |
pythondev | help | 1) This may be an option, I am going to bring it up. 2) I've already tried to suggest this, but the classifier performed much worse | 2019-02-01T16:42:16.608100 | Darlene | pythondev_help_Darlene_2019-02-01T16:42:16.608100 | 1,549,039,336.6081 | 5,999 |
pythondev | help | The other thing I could possibly think to do is to serve the model as a serverless function (aws lambda). If it's not being constantly invoked could save a lot | 2019-02-01T16:43:13.608300 | Bethany | pythondev_help_Bethany_2019-02-01T16:43:13.608300 | 1,549,039,393.6083 | 6,000 |
pythondev | help | I appreciate your help | 2019-02-01T16:46:12.608700 | Darlene | pythondev_help_Darlene_2019-02-01T16:46:12.608700 | 1,549,039,572.6087 | 6,001 |
pythondev | help | I'm going to think over all these suggestions.. | 2019-02-01T16:46:20.608900 | Darlene | pythondev_help_Darlene_2019-02-01T16:46:20.608900 | 1,549,039,580.6089 | 6,002 |
pythondev | help | good luck! | 2019-02-01T16:46:29.609100 | Bethany | pythondev_help_Bethany_2019-02-01T16:46:29.609100 | 1,549,039,589.6091 | 6,003 |
pythondev | help | Boss just came in and said team drinks, so I'm gone, thank you again! | 2019-02-01T16:46:35.609300 | Darlene | pythondev_help_Darlene_2019-02-01T16:46:35.609300 | 1,549,039,595.6093 | 6,004 |
pythondev | help | damn i want drinks | 2019-02-01T16:46:42.609500 | Bethany | pythondev_help_Bethany_2019-02-01T16:46:42.609500 | 1,549,039,602.6095 | 6,005 |
pythondev | help | has anyone had any experience deploying Django to Google Cloud? I'm having trouble figuring out where I should put my MEDIA_ROOT — on a storage container or locally on the Django Docker instance? | 2019-02-01T17:05:15.611400 | Zoraida | pythondev_help_Zoraida_2019-02-01T17:05:15.611400 | 1,549,040,715.6114 | 6,006 |
pythondev | help | I'm in the sad situation of trying to debug why ```pip install backports.os; python -c 'from backports import os'``` fails on some machines :disappointed: | 2019-02-01T17:50:01.613000 | Lizbeth | pythondev_help_Lizbeth_2019-02-01T17:50:01.613000 | 1,549,043,401.613 | 6,007 |
pythondev | help | Oddly, it succeeds on those machines if ~/.local contains an old install of backports.os. | 2019-02-01T17:50:57.613700 | Lizbeth | pythondev_help_Lizbeth_2019-02-01T17:50:57.613700 | 1,549,043,457.6137 | 6,008 |
pythondev | help | It's like something changed in the ecosystem in the last few days... | 2019-02-01T17:51:11.614100 | Lizbeth | pythondev_help_Lizbeth_2019-02-01T17:51:11.614100 | 1,549,043,471.6141 | 6,009 |
pythondev | help | whats the failure message? | 2019-02-01T17:53:42.614300 | Necole | pythondev_help_Necole_2019-02-01T17:53:42.614300 | 1,549,043,622.6143 | 6,010 |
pythondev | help | ```buildbot@ubu1804-demo:~$ python -c "from backports import os"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named backports
``` | 2019-02-01T17:54:45.614700 | Lizbeth | pythondev_help_Lizbeth_2019-02-01T17:54:45.614700 | 1,549,043,685.6147 | 6,011 |
pythondev | help | all the machines running the same version of python? | 2019-02-01T17:57:40.615100 | Necole | pythondev_help_Necole_2019-02-01T17:57:40.615100 | 1,549,043,860.6151 | 6,012 |
pythondev | help | yup, 2.7.15rc1 | 2019-02-01T17:58:05.615300 | Lizbeth | pythondev_help_Lizbeth_2019-02-01T17:58:05.615300 | 1,549,043,885.6153 | 6,013 |
pythondev | help | what happens when you just pip install and dont run the python command, no errors? | 2019-02-01T18:01:00.615800 | Necole | pythondev_help_Necole_2019-02-01T18:01:00.615800 | 1,549,044,060.6158 | 6,014 |
pythondev | help | right, no errors. and pip list shows the package happily installed. | 2019-02-01T18:01:39.616100 | Lizbeth | pythondev_help_Lizbeth_2019-02-01T18:01:39.616100 | 1,549,044,099.6161 | 6,015 |
pythondev | help | That sounds like pip isn't installing to the Python you think it is. | 2019-02-01T18:02:34.616400 | Carmen | pythondev_help_Carmen_2019-02-01T18:02:34.616400 | 1,549,044,154.6164 | 6,016 |
pythondev | help | That's a reasonable guess, but on both systems, it's installing to the same directory: .local/lib/python2.7/site-packages | 2019-02-01T18:04:07.617200 | Lizbeth | pythondev_help_Lizbeth_2019-02-01T18:04:07.617200 | 1,549,044,247.6172 | 6,017 |
pythondev | help | I used strace on the python command in both bad and good systems, and ran ```diff -u log-min.{bad,good} | grep backport | grep -v ENO``` | 2019-02-01T18:04:43.617900 | Lizbeth | pythondev_help_Lizbeth_2019-02-01T18:04:43.617900 | 1,549,044,283.6179 | 6,018 |
pythondev | help | Result: ```-execve("/usr/bin/python", ["python", "-c", "from backports import os"], 0xf000 /* 33 vars */) = 0
+execve("/usr/bin/python", ["python", "-c", "from backports import os"], 0xf000 /* 29 vars */) = 0
-stat("/usr/lib/python2.7/dist-packages/backports", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
-stat("/usr/... | 2019-02-01T18:05:11.618200 | Lizbeth | pythondev_help_Lizbeth_2019-02-01T18:05:11.618200 | 1,549,044,311.6182 | 6,019 |
pythondev | help | i.e. on the bad system, it looked only in /usr/lib/python2.7/dist-packages, but on the good system it looked only in $HOME/.local/lib/python2.7/site-packages. | 2019-02-01T18:05:57.619100 | Lizbeth | pythondev_help_Lizbeth_2019-02-01T18:05:57.619100 | 1,549,044,357.6191 | 6,020 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.