« first day (2996 days earlier)      last day (1944 days later) » 

wim
12:03 AM
--..,_                     _,.--.
   `'.'.                .'`__ o  `;__.
      '.'.            .'.'`  '---'`  `
        '.`'--....--'`.'
          `'--....--'`
 
12:19 AM
hey guys
why would someone still use anaconda on windows, given how easy it is to install (normal) python in windows, use virtual environments, and install whl binaries?
(for that matter why do people install it in cygwin?)
 
I was under the impression that if it weren't for gohlke's private collection installing packages would be near hopeless
 
thats not been my experience with modern python
 
but this is just from remarks I've seen mentioned here every once in a while
 
maybe for 2.6 ...
 
there are also people using anaconda on linux, for reasons
 
12:22 AM
i mean the errors now even tell you the exact link to download the mvc++ compiler that is required for your python version (on the off chance you still need to build something, that doesnt come prepackagesd as a whl)
Im genuinly curious ... I just dont understand i feel like im missing something
 
Nov 23 at 10:43, by roganjosh
I'm not convinced the OP needed to take that action but, on the flip side, some things are just genuinely difficult on Windows. Installing the scientific stack is awful without things like Anaconda or the unofficial binaries
Do you use numpy/scipy?
 
I do
and pip installs them just fine
 
then I don't know
 
that was only a few months ago
 
yes
 
12:23 AM
I wonder when the last time roganjosh tried
 
you can ask @roganjosh ^
 
I think the one that might be hard is numpy+MKL ... but even then i think its not hard
 
probably not that long before
 
it certainly used to be much harder ... but in recent years its pretty easy
 
fyi, I have a hard time installing python packages under windows nowadays
 
12:25 AM
I have been summoned?
 
I use pycharm's bash, and every other day installing anything does not work at all, and virtualenvs can't be found
 
@JoranBeasley Because it's god awful to install numpy with MKL on Windows unless you use the unofficial binaries
 
lol i thought maybe numpy+MKL
normal numpy installs easy
I can agree with that ... I think I use gohlke's for that one package
 
Yep, you probably do, and it's a viable approach
 
(its been a while since i needed the MKL version (even though you can always benefit from it))
 
12:28 AM
You basically always need the MKL version. Edit: good edit :P
 
only if you have an intel cpu and want it to be fast ;)
 
most of the math i do is pretty easy ... and in human terms fast enough :P ... and the other part of the time im writing server code in linux where its no problems
good to know ... I was trying to help someone using anaconda, and i was a bit curious as to reasons to use it today with modern python and whl and all that ... tbh im not sure why there isnt a numpy+MKL whl
(I guess gohlke sort of is)
 
The scientific stack (like scipy, mainly IIRC) can cause serious headaches. Anaconda just shuts the whole thing away. Why would you want to avoid Conda here? Too large?
 
yeah it just seems sledge hammery ...
 
@JoranBeasley there is one?
Then go Miniconda and install dependencies as you see fit
 
12:33 AM
hehe yeah i mean one you can just pip install (or can you point directly to golkes urls now ... I know they used to do weird redirects or naming or something that prevented you from pointing to his urls
 
I just download direct from the site and install locally
 
yeah fair point ... I like my normal python and it works fine :) but you convinced me not to try to get hombre to uninstall his anaconda
(yeah but its nice to put in requirements.txt (like how you can point to git+ssh:// urls and stuff)
 
probably relevant to numpy wheels github.com/numpy/numpy/issues/5479
 
Now I know a lot more about Python, I probably could go without Anaconda, but you'd need to drug me up to even bother to do it because.... why bother?
 
because i want to pip install no matter what im on without aliasing conda to pip :P
 
12:35 AM
At the end of the day, you can still pip install into your Anaconda installation
 
(although i guess i could conda on linux too and just conda install :P )
 
No, just pip install into it. Forget about conda install if you want
 
lol ok
maybe ill give it another shot one of these days
 
ah nevermind, what I linked isn't MKL-specific and closed because there are non-MKL wheels
 
If you install Anaconda onto Windows, almost certainly you want to make it the primary Python version. pip can be pointed to it easily.
 
12:36 AM
(not today ... all my python environments are already setup :P ) ... but im always interested in easier ways to get new developers spun up
this is the question (although im pretty sure conda has nothing to do with his problem)
-1
Q: Persistent EOF While Parsing whenever using "for", "while", etc

RubcorBasically, apart from the fact that I am supposed to be doing some much more complicated jobs, I am stuck when trying to run even a very basic code, because I always get a SyntaxError: unexpected EOF while parsing whenever I use a "for", "while" and so on I'm using the latest version of Anaconda...

 
Oh. I've already commented on that question
 
lol oh yeah i see now
 
God knows, just do a restart of the kernel. It's not worth trying to guess what they did in the IPython console
 
yeah it sounds like they have ... a few times
but i suspect is pebkac
 
@JoranBeasley ok, your mistake here is between Anaconda/Spyder
Anaconda is just a distro that makes it easier to install the scientific stack on Windows (mostly). Spyder is the IDE that has an interactive IPython console. That's where the OP is working
So the issue is nothing at all to do with Anaconda
 
12:44 AM
no no i know
 
Spyder comes as the free IDE with the Anaconda installation, but there is nothing compelling you to use it. You could just hook Anaconda up as the the Python version for Pycharm if you wanted.
 
I know what spyder is
and i know what anaconda is :P
 
" I would recommend just installing normal python ... I dont know what anaconda actually provides these days, since python has msi installers, and whl files .." is confusing me then
 
I was just thinking out loud there on the last sentence of that comment
I then realized that the comment there was less appropriate there than here in this chatroom
(if i could still edit the comment i would remove that last line)
 
last comment with 0 votes; you can always repost it
OP hasn't seen it yet based on their activity
 
12:47 AM
I'm going for it
 
good call :)
 
Honestly, this is really far removed from Anaconda/Spyder or anything else. We're stressing brain cells over something unseen :)
 
yeah I agree
I was just wondering while i was typing that comment ... and then i came and wondered here ...
and you satisfied my wonder :)
 
:)
 
not enough for me to rush out and install it
but enough :P
 
12:49 AM
On Windows.... just do it :P
If you want easy. The only issue I've found is that admin privileges might stop it creating an envs directory
Keep in mind, I'm not just talking about Windows, but corporate PCs running Windows that have all sorts of horrible restrictions
You can create the directory manually and "retry" to finish installation.
 
1:09 AM
@JoranBeasley I just went for a cig and had a horrible flashback. Now I have a compelling argument for Anaconda. When you install things like SciPy and Pandas, they will come with dependencies, and it will totally trash your unofficial binaries. I was stuck in a loop for an entire day of installations getting overwritten every time I tried to upgrade to 3.7. It was a mess.
 
 
1 hour later…
2:25 AM
I really think people should read at least some of the literature before jumping into ML. I'm all for their curiosity, but they should prepare a bit.

https://stackoverflow.com/questions/53966037/what-kind-of-curve-fitting-method-should-i-takepython
Eh no big deal
 
2:53 AM
2 hours ago, by Joran Beasley
(not today ... all my python environments are already setup :P ) ... but im always interested in easier ways to get new developers spun up
@JoranBeasley when I teach Python it's really helpful not to have to tell students how to use package managers and virtual environments, and just get right into coding.
I can jump right into the course description with Anaconda.
If they get a job that requires them to use virtual environments and package managers (not all jobs do) then they can learn that on the job.
However, if you're a pip-master, you could totally create a requirements.txt to rule them all, ensure that all the packages work together, and write up a small tutorial on how to install Python from python.org and use python -m venv ... and python -m pip install -r requirements.txt like a pro.
I'm kinda inspired to do it myself, but post-inspiration someone-else-will-do-it laziness has kicked in...
 
3:58 AM
@AaronHall lol ... I know that feels all too well
 
 
3 hours later…
7:40 AM
morning cabbage
 
 
3 hours later…
@Zlytherin I'll repeat what the meta comments reflected. SO is not a website for such social interactions, kindly stop making such posts / comments.
 
@shad0w_wa1k3r Got it
 
10:58 AM
yup, not to mention the terrible choice in game
 
we only play AoC in here :-p
 
Barely more than 330 days to go
 
AoC? Whats that?
 
sometimes I wish users had the ability to singlehandedly put questions on hold the way moderators can. It would be nice to make that privilege available to users with > 5K (or > 10K score) in a particular tag. Like a mjolnir, but for closures besides dupe-related ones.
 
11:11 AM
There's been suggestions for giving badgers more vote weight. Or dedicated close-moderators.
 
@AndrasDeak That is an idea. Give badgers an extra close vote for every 2K/5K score they have in that tag. The specifics can be decided but giving extra votes will definitely help take out the trash quicker.
 
 
3 hours later…
2:39 PM
Hi guys, how can I open a new chat regarding my questions?
I'm new to StackOverflow chat ...
Thank you so much.
 
as long as your question is python related, you can ask it here. However, please follow the room rules when posting.
 
Thanks! Where are they written (the rules)?
 
2:56 PM
Oh now I see. Thank you @coldspeed. (:
 
3:37 PM
Hey all! I'm trying to create a custom room-based webrtc client, The current implementation uses async for message in self.conn: github.com/centricular/gstwebrtc-demos/blob/master/sendrecv/gst/…
is there an ok way of using something like an iterator for setup stuff, instead? like msg = await self.next_message()
 
I just found this. Not sure if it's what you want
https://docs.python.org/3/library/asyncio-queue.html
You could put message objects in an async queue, then work with it kind of like an iterator
 
4:07 PM
@AnttiHaapala take a gander at my new hat :D
 
4:46 PM
I want to mock a dict so I can access a key using the dict.key syntax. I tried dict = {'key': [1,2,3]} but I get AttributeError: 'dict' object has no attribute 'key'
How do I create such a dict?
I've now tried all different syntaxes I could find on google without success.. I'm using Python3 FWIW
 
5:23 PM
Seems like you can't add custom attributes to a dict by design, so I went with a Bunch class. More info here: stackoverflow.com/questions/2827623/…
 
5:48 PM
Hi, any idea what the best room for tensorflow debugger questions would be?
datascience chat is empty and there are messages about every 2 days
 
@Hakaishin Unless you have language specific questions I think you'd have more luck in the GitHub issues for the Tensorflow project than any SO chat room
 
Probably true, but who knows maybe a tf professional is just hanging out here :)
:P
 
Who knows :)
 
6:25 PM
Why is this still the case? reverse compatibility? stackoverflow.com/questions/5663980/…
 
wim
6:42 PM
@AndrasDeak More power to the badgers!!
 
7:38 PM
Cbg
Curiosity; do we know any regular in here that uses CUDA?
 
I'm learning a bit of cuda, but I'm a neither a regular nor would I say I "use" it :P
 
:P unfortunately I don't know TF so I'm unlikely to be able to help you either, sorry.
 
I hate working with alpha and beta software, it's just so buggy
and badly documented
 
8:41 PM
@simeg use a SimpleNamespace instead?
@jamesson you mean that the library known as bs4 is still known as bs4?
 
@AndrasDeak didn't know about SimpleNamespace. Will look into it - thanks
 
It's in the ~third answer on the question you linked
 
9:16 PM
recbg
 
10:00 PM
coldspeed, thanks for your pandas posts lately regarding merging, eval, strings. They have been very informative to me!
 
10:29 PM
Finally got bored enough to start putting together an online portfolio but finding a template to same me the CSS is tough. Most of them seem to want giant photos of the developer looking wistfully into the middle distance, with some bizarre progress bars showing that they're 78% competent in JavaScript, whatever that means...
 
10:52 PM
Good luck with that. Does anyone here use the IDE Rodeo? I have really liked it, but recently read that it is no longer being developed. Does anyone have any python IDE's that they would recommend using?
 
@d_kennetz What OS? Are you looking for IPython built in?
 
@roganjosh I use Windows10, I think IPython builtin would be nice because my primary needs are data analysis based. i'm not a software engineer or anything.
 
11:16 PM
@d_kennetz The only two I've used properly are Spyder and Canopy in Windows. Enthought Canopy can basically be ditched on sight. I actually like Spyder a lot despite the couple of gotchyas that you can adjust to pretty quickly
And Pycharm, but it doesn't have the same kinda interactive intent as those two
 
Thanks, I actually gave pycharm a quick run through this afternoon but it just didn't feel familiar. I will try spyder out. Thanks for the info!
 
@d_kennetz stackoverflow.com/a/47738834/4799172 if you're from MATLAB, maybe that behaviour is typical, but it can be really surprising as a default setting in Python
 
@d_kennetz pycharm all the way :)
 
@roganjosh I am not from MATLAB, this is good to know. I wrote all my code in a cluster environment using emacs and checking with pylint, but I have started to enjoy using Rodeo, only to find out it is dead content :/.
 
@Hakaishin correct me if I'm wrong, but Pycharm doesn't have an interactive console?
Once you run a script in Spyder, you can hash half of the code out and the names are still accessible and possible to inspect, for instance
For data processing, this is a serious advantage
Load a 4GB file into memory, it will be fully loaded "forever" and there's no need to load it a second time
 
11:29 PM
@roganjosh @Hakaishin forgive me for ignorance here but how does that work for HDD storage? Clear occasionally and I should be okay? Set my CWD to a 4TB passport? :)
 
In other words, names persist across runs, they get thrown into a persistent, shared, namespace. You can do whatever you want with the data to test methods out
Nothing to do with HDD. If anything it's RAM
Let's say I write a script that loads a multi-GB file into a DF and let's say it takes 5 minutes (deliberately exaggerating). In my script I also have a second line of code that tries to transform that DF
Now I want to see what I have, but I didn't have a print() in the script. No bother, just type df.head() in the console
Looks good, but maybe I better look at df.head(100). Bad news, didn't work as expected. Fine, hash out the line that reads the data (taking 5 minutes) and alter the second line of code that actually transforms the data. Rinse, repeat, without the 5 min loading time.
 
I see, that's great (very similar behavior to rodeo). That is essentially all I'm looking for. I dont like writing dummy python scripts in a cluster and running in a second shell just to do some quick and dirty scripting.
So say I load this fatty file as df, if I overwrite the variable later with a skinny file it will clear from cache?
 
Yes, then you will lose the data if you overwrite the name
So, just don't do that if you want to refer back :P
 
That's good to know. Sounds like desired behavior for me. Thank you for all your help. I will be back another day.
 

« first day (2996 days earlier)      last day (1944 days later) »