pyvenv icon indicating copy to clipboard operation
pyvenv copied to clipboard

Problem w/ venv's on Windows 10

Open dstrozzi opened this issue 5 years ago • 5 comments

This is a thread I posted on the elpy github, user galaunay was quite helpful but we couldn't figure it out. He suggested I post it here, so there I am. I'll just link to the old thread:

https://github.com/jorgenschaefer/elpy/issues/1628#issuecomment-515718124

dstrozzi avatar Sep 08 '19 18:09 dstrozzi

Hello and thanks for the report! I'm afraid this is tricky to address … Windows uses virtualenvs, just "a little bit different" than Unix. And Anaconda also uses virtualenvs, just "a little bit different" than normal Python. I have neither Windows nor Anaconda here, so I can't really reproduce this :-(

If you find out what the problem is, or anyone else, please let me know!

jorgenschaefer avatar Sep 09 '19 08:09 jorgenschaefer

Well, a year later I am trying to revisit this. In case you're interested, I started an SO question: https://stackoverflow.com/questions/63862190/using-numpy-in-anaconda-python-running-in-emacs-on-windows

dstrozzi avatar Sep 12 '20 15:09 dstrozzi

OK here's a glimmer of hope. I started cmd.exe (the good old DOS shell), did "conda.bat activate", then started emacs from that CMD session. And, I can load numpy! AND "from pylab import *" works too! But figure windows don't work - the original old problem. But progress.

dstrozzi avatar Sep 13 '20 16:09 dstrozzi

@dstrozzi it's been a while. Did you solve this issue? It's definitely affecting me, and I can see this issue #113 being clearly related.

acimmarusti avatar Jan 19 '22 01:01 acimmarusti

Good to hear from someone on this! I have largely given up on trying to use python within emacs on Windows. In the various Venn diagrams of workflows, it seems like this is a set of measure zero. But, I am willing to try revisiting it together. Stay tuned.

dstrozzi avatar Jan 22 '22 16:01 dstrozzi