As suggested I went to the link 
https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning 
<https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning>,
 and followed the instructions as far as I could with the following result

cbhe:python
Python 2.7.9rc1 (v2.7.9rc1:40eada278702, Nov 25 2014, 17:25:50) 
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import ssl
>>> ^D
cbhe:pip install certifi
Requirement already satisfied (use --upgrade to upgrade): certifi in 
/Library/Python/2.7/site-packages
cbhe:

I think that tells me that certificates are installed correctly but I might be 
misunderstanding this. As suggested I then tried pip install metis --pre and 
got the following

cbhe:pip install metis --pre
Collecting metis
/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
  Could not find a version that satisfies the requirement metis (from versions: 
)
  Some externally hosted files were ignored as access to them may be unreliable 
(use --allow-external metis to allow).
No matching distribution found for metis
cbhe:

Further instructions about updating and using certificates are beyond my 
ability to follow. So I am still in the unix-python-module swamp and yearning 
for a simple life where I can use Spyder for actually doing something.

Any suggestions as to where to go from here?

> On 15 Jun 2015, at 11:27 am, Adrian Klaver <[email protected]> wrote:
> 
> On 06/14/2015 05:40 PM, Chris Edwards wrote:
>> OK and thanks.
>> 
>> I installed networkx and can now import it in Spyder.
>> 
>> Next I go to https://metis.readthedocs.org/en/latest/ and try to install 
>> metis (as su) using pip.
>> 
>> I get the following result
>> 
>> cbhe:pip install metis
>> Collecting metis
>> /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.
> 
> Follow the above link for more information.
> 
>>   InsecurePlatformWarning
>>   Could not find a version that satisfies the requirement metis (from 
>> versions: )
>>   Some externally hosted files were ignored as access to them may be 
>> unreliable (use --allow-external metis to allow).
>> No matching distribution found for metis
> 
> Try:
> 
> pip install metis --pre
> 
> See answer in SO here:
> 
> http://stackoverflow.com/questions/18230956/could-not-find-a-version-that-satisfies-the-requirement-pytz
> 
>> 
>> So now I am back in the murky depths of a unix-python-module interaction.
>> 
>> Any suggestions as to how to get out of this quicksand?
>> 
>>> On 14 Jun 2015, at 11:36 pm, Adrian Klaver <[email protected]> 
>>> wrote:
>>> 
>>> On 06/14/2015 02:43 AM, Chrise123 wrote:
>>>> Hi,
>>>> 
>>>> Spyder is a great IDE; it works straight away after installation and is
>>>> intuitive to use. It is an excellent product and a credit to the
>>>> developers.!
>>>> 
>>>> My problem is that I would like to use other Python modules within
>>>> Spyder, e.g., Metis. I have reviewed the posts that discuss this issue
>>>> and have tried to follow the advice, but with no success. All the advice
>>>> assumes a level of knowledge about unix installations (and wrappers)
>>>> that exceeds my ability to interpret that advice.
>>>> 
>>>> I think it would be really useful if there was some way to utilise the
>>>> vast range of Python modules from with Spyder; perhaps with an installer
>>>> like pip. Am I being naive in thinking that this might be possible?
>>> 
>>> Just import them in your code or the console. The modules do not live in 
>>> Spyder, just where ever you normally install them.
>>> 
>>>> 
>>>> In the meantime can someone tell me how to import modules such as Metis
>>>> or PyMetis into Spyder in a way that does not assume a great deal of
>>>> unix expertise?
>>>> 
>>>> 
>>>> --
>>> 
>>> 
>>> 
>>> --
>>> Adrian Klaver
>>> [email protected]
>>> 
>>> --
>>> You received this message because you are subscribed to a topic in the 
>>> Google Groups "spyder" group.
>>> To unsubscribe from this topic, visit 
>>> https://groups.google.com/d/topic/spyderlib/OVxEjMp_TB8/unsubscribe.
>>> To unsubscribe from this group and all its topics, 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.
>> 
> 
> 
> -- 
> Adrian Klaver
> [email protected]
> 
> -- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "spyder" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/spyderlib/OVxEjMp_TB8/unsubscribe.
> To unsubscribe from this group and all its topics, 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.

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