Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
install from IDLE, not OS
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
pca  
View profile  
 More options Apr 26 2012, 4:06 am
From: pca <pierre.carbonne...@gmail.com>
Date: Thu, 26 Apr 2012 01:06:54 -0700 (PDT)
Local: Thurs, Apr 26 2012 4:06 am
Subject: install from IDLE, not OS

As a developer of a python module called pyDatalog<http://pypi.python.org/pypi/pyDatalog>,
I find the installation of modules by end-user frustratingly complex.  One
reason is that installation instructions currently need to be OS dependent.
 A solution to that issue would be to let users install module by using
IDLE, not their OS.  Indeed, IDLE is the same on all OS.  

Users would :
* start IDLE of the python they want to install the module in
* import an installation module, e.g import pip
* execute a python command to install the desired module : pip('install',
'pyDatalog')
* restart IDLE to take advantage of the new module

Has this been considered before ? A search of 'IDLE' on this list did not
bring anything.  Is this technically possible ? Any comments welcome.
 PCA


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thomas Kluyver  
View profile   Translate to Translated (View Original)
 More options May 30 2012, 3:18 pm
From: Thomas Kluyver <tak...@gmail.com>
Date: Wed, 30 May 2012 12:18:19 -0700 (PDT)
Local: Wed, May 30 2012 3:18 pm
Subject: Re: install from IDLE, not OS

+1 - I've thought for a while that it would be nice to be able to install
packages from inside Python. Another major selling point is for novice
users, especially on Windows, who may not be comfortable with the system
command line. In R, the default method of installing packages is a built-in
install.package() function, and I think it does make it much easier for new
programmers to understand.

Thomas


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
pca  
View profile  
 More options Nov 1 2012, 3:40 pm
From: pca <pierre.carbonne...@gmail.com>
Date: Thu, 1 Nov 2012 12:40:40 -0700 (PDT)
Local: Thurs, Nov 1 2012 3:40 pm
Subject: Re: install from IDLE, not OS

Thank you Thomas.  I wish someone would hear our voices...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
pca  
View profile  
 More options Dec 17 2012, 10:57 am
From: pca <pierre.carbonne...@gmail.com>
Date: Mon, 17 Dec 2012 07:57:26 -0800 (PST)
Local: Mon, Dec 17 2012 10:57 am
Subject: Re: install from IDLE, not OS

I found a way to do it !

in idle, type the following code :

from subprocess import call
call("pip install pyDatalog", shell=True) # install a package

You need to have pip installed.
PC


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »