seaborn

0 views
Skip to first unread message

Mark Yuen

unread,
Dec 1, 2016, 6:31:50 PM12/1/16
to Anaconda - Public
Hi- I am having some trouble with the seaborn package and was wondering if anyone else is seeing the same.

Here is what I'm doing (done on 2 diff computers)
* creating a new environment and installing seaborn
* activating that env
* when i try to "import seaborn" it says that there is no module named seaborn.  however it shows in that env in anaconda navigator.

Also the strangest thing is that the module may actually work though it gives the import error.  Is anyone else seeing the same issue?  thank you, mark

Michael Sarahan

unread,
Dec 1, 2016, 7:43:04 PM12/1/16
to Anaconda - Public
Never seen anything quite like this.  It seems likely that when you run "python" you are getting a different python than the one you want.  Activating environments really should take care of that, though.  What is the output of

If on linux/mac:
which python

if on windows:
where python

and also what is 

echo $PATH

or

echo %PATH%    


PYTHONPATH is also potentially a culprit.  Do you have that set?

--
Anaconda Community Support Group Brought to you by Continuum Analytics
---
You received this message because you are subscribed to the Google Groups "Anaconda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to anaconda+unsubscribe@continuum.io.
To post to this group, send email to anac...@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/anaconda/.

Mark Yuen

unread,
Dec 1, 2016, 7:59:02 PM12/1/16
to Anaconda - Public
i don't have pythonpath i don't think

here are the results

C:\Users\myuen>where python
C:\Users\myuen\AppData\Local\Continuum\Anaconda2\python.exe

C:\Users\myuen>echo %PATH%
C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;c:\Program Files\mongodb\server\3.2\bin;C:\Program Files (x86)\MySQL\MySQL Fabric 1.5
MySQL  Ver 14.14 Distrib 5.7.12, for Win64 (x86_64)
Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.






On Thursday, December 1, 2016 at 4:43:04 PM UTC-8, Michael Sarahan wrote:
Never seen anything quite like this.  It seems likely that when you run "python" you are getting a different python than the one you want.  Activating environments really should take care of that, though.  What is the output of

If on linux/mac:
which python

if on windows:
where python

and also what is 

echo $PATH

or

echo %PATH%    


PYTHONPATH is also potentially a culprit.  Do you have that set?
On Thu, Dec 1, 2016 at 5:31 PM, Mark Yuen <mark....@gmail.com> wrote:
Hi- I am having some trouble with the seaborn package and was wondering if anyone else is seeing the same.

Here is what I'm doing (done on 2 diff computers)
* creating a new environment and installing seaborn
* activating that env
* when i try to "import seaborn" it says that there is no module named seaborn.  however it shows in that env in anaconda navigator.

Also the strangest thing is that the module may actually work though it gives the import error.  Is anyone else seeing the same issue?  thank you, mark

--
Anaconda Community Support Group Brought to you by Continuum Analytics
---
You received this message because you are subscribed to the Google Groups "Anaconda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to anaconda+u...@continuum.io.

Michael Sarahan

unread,
Dec 1, 2016, 8:17:49 PM12/1/16
to Anaconda - Public
Your PATH looks pretty wrong.

C:\Users\myuen>echo %PATH%
C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;c:\Program Files\mongodb\server\3.2\bin;C:\Program Files (x86)\MySQL\MySQL Fabric 1.5
MySQL  Ver 14.14 Distrib 5.7.12, for Win64 (x86_64)
Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.

That MySQL version output - is that actually part of your PATH?  What does it show in the Windows PATH gui manager?  See https://www.java.com/en/download/help/path.xml for directions on how to see it.

To unsubscribe from this group and stop receiving emails from it, send an email to anaconda+unsubscribe@continuum.io.
Reply all
Reply to author
Forward
0 new messages