On 06/16/2015 09:01 PM, Chris Edwards wrote:
OK I did as suggested with the following results

/cbhe:pip install --upgrade certifi/
//Library/Python/2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90:
InsecurePlatformWarning: A true SSLContext object is not available. This
prevents urllib3 from configuring SSL appropriately and may cause
certain SSL connections to fail. For more information, see
https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning./
/  InsecurePlatformWarning/
/Requirement already up-to-date: certifi in
/Library/Python/2.7/site-packages/
/cbhe:pip install --allow-external metis --pre/
/You must give at least one requirement to install (see "pip help install")/
/cbhe:/
/
/
I went to /pip help install/ and tried several install requirements but
none of them worked for me.

I had not realised that metis was ‘alpha software’ when I visited
https://metis.readthedocs.org/en/latest/#. I understood it to be
available and the example code looked just what I was looking for.

Well the below in the documentation is wrong :
"
It’s on PyPI, so installation should be as easy as:

pip install metis
      -or-
easy_install metis
"

There is no actual file on PyPi. To get it to install, I went to(from the Download URL on the PyPi page) to here:

https://bitbucket.org/kw/metis-python/downloads

and downloaded the repo, unzipped it and then ran:

python setup.py install

If it where me I would go here:

https://bitbucket.org/kw/metis-python

and file a bug report

FYI the last commit to the code was 2013-10-10. so I would not hold out great hopes.


Are you able to execute that example as below? If so perhaps it
might help to isolate my problem.

No, because I do not have Metis or Networkx installed.

import  networkx  as  nx
import  metis
G  =  metis.example_networkx()
(edgecuts,  parts)  =  metis.part_graph(G,  3)
colors  =  ['red','blue','green']
for  i,  p  in  enumerate(parts):
...     G.node[i]['color']  =  colors[p]
...
nx.write_dot(G,  'example.dot')  # Requires pydot or pygraphviz






--
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