On 03/18/2015 01:45 PM, Chris Edwards wrote:
Adrian,

Thanks for the quick reply.

I am running OS X 10.10.2 and have a Parallels 10.1.4 Windows 7 virtual
machine. I can run Spyder 2.3.2 in both OS X and Windows 7.

Both the Windows and OS X Spyder were installed from downloaded
installers. I can execute Python code on both instances.

NetworkX was installed via the OS X command line using pip and I have
tried to access it in both the OS X and Windows Spyder, but get the same
message.

I opened a python interpreter via the command line command. The attached
screenshot shows the result; which I interpret to show that networkx was
imported.

I hope this helps in understanding my problem.

Yes, I think. For now and to keep the moving parts to a minimum lets stay in one OS. Since the chances that a Windows VM can see libraries installed on OS X would seem to be slim to none, lets stick with OS X.

FYI another way to see if pip has installed something is to do:

pip freeze

which can return a lot of information. So in this case on OS X:

pip freeze | grep -i networkx

The screenshot shows that networkx has been installed in OS X.

What happens if you run Spyder in OS X and in either the Python or IPython console do?:

import networkx as nx


Chris




--
Adrian Klaver
[email protected]

--
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.

Reply via email to