Re: [Tutor] pip install

2018-10-16 Thread Carlton Banks
I never had any success with Windows and python, and even the Ubuntu shell which Windows do offer as a feature isnt that good in my opinion. But a big googling gave me this tutorial.. http://timmyreilly.azurewebsites.net/python-pip-virtualenv-installation-on-windows Might be bit more useful ?

Re: [Tutor] pip install

2018-10-16 Thread Mats Wichmann
On 10/15/2018 04:11 PM, Roger Lea Scherer wrote: > Hey all, > > I'm trying to set up a virtual environment. I've used Windows Powershell on > my desktop with Windows 10. I was able only to get to 2.5 minutes of a 9.75 > minute video before getting frozen, not just stuck. I was unable to > activate

[Tutor] pip install

2018-10-16 Thread Roger Lea Scherer
Hey all, I'm trying to set up a virtual environment. I've used Windows Powershell on my desktop with Windows 10. I was able only to get to 2.5 minutes of a 9.75 minute video before getting frozen, not just stuck. I was unable to activate the batch file even though everything appeared to be where i

Re: [Tutor] Pip install and Ipv6

2018-07-06 Thread Mats Wichmann
On 07/02/2018 10:48 AM, Luiz Gustavo S. Costa wrote: > Hello, > > Is anyone else here having problems using Pip repository with ipv6? > > If I try to install something with pip, I get this: > > (python2) lgcosta:api/ $ pip install falcon > Collecting falcon Retrying (Retry(total=4, connect=None,

[Tutor] Pip install and Ipv6

2018-07-02 Thread Luiz Gustavo S. Costa
Hello, Is anyone else here having problems using Pip repository with ipv6? If I try to install something with pip, I get this: (python2) lgcosta:api/ $ pip install falcon Collecting falcon Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by '

Re: [Tutor] pip install of subprocess module

2017-09-18 Thread Alan Gauld via Tutor
On 18/09/17 18:59, Derek Smith wrote: > I want to use the subprocess.run module b/c per the> docs os.system is > antiquated Its not so much antiquated but it is deprecated because it is severely limited, all you get back is an error code. > Why am I doing wrong below? You are trying to insta

[Tutor] pip install of subprocess module

2017-09-18 Thread Derek Smith
Hi All, Thank for the recent replies. I want to use the subprocess.run module b/c per the docs os.system is antiquated and cannot use more than 1 arg in 3.6. Why am I doing wrong below? Also couldn't I just copy and paste the subprocess code from github and create a file, but then how do I te

Re: [Tutor] pip install in a virtualenv *without* internet?

2015-08-19 Thread Mike C. Fletcher
On 15-08-19 05:27 AM, Alex Kleider wrote: On 2015-08-18 19:32, Mike C. Fletcher wrote: To install without going out to the internet, you can use these arguments: pip install --no-index --find-links=/path/to/download/directory For this to work, /path/to/download/directory would, I ass

Re: [Tutor] pip install in a virtualenv *without* internet?

2015-08-19 Thread Albert-Jan Roskam
> Date: Wed, 19 Aug 2015 09:49:43 -0700 > From: marc.tompk...@gmail.com > To: tutor@python.org > Subject: Re: [Tutor] pip install in a virtualenv *without* internet? > > On Wed, Aug 19, 2015 at 9:18 AM, Alex Kleider wrote: > > > I guess if you 'never' have a

Re: [Tutor] pip install in a virtualenv *without* internet?

2015-08-19 Thread Marc Tompkins
On Wed, Aug 19, 2015 at 9:18 AM, Alex Kleider wrote: > I guess if you 'never' have an internet connection what I'm trying to do > won't work, > but I'm addressing a different use case: I have connectivity in some > environments > but would like to be able to do a pip install at times when there

Re: [Tutor] pip install in a virtualenv *without* internet?

2015-08-19 Thread Alex Kleider
On 2015-08-19 04:28, Albert-Jan Roskam wrote: Date: Wed, 19 Aug 2015 02:27:41 -0700 From: aklei...@sonic.net To: tutor@python.org Subject: Re: [Tutor] pip install in a virtualenv *without* internet? On 2015-08-18 19:32, Mike C. Fletcher wrote: > To install without going out to the inter

Re: [Tutor] pip install in a virtualenv *without* internet?

2015-08-19 Thread Albert-Jan Roskam
Sorry, now with Reply All From: sjeik_ap...@hotmail.com To: mcfle...@vrplumber.com Subject: RE: [Tutor] pip install in a virtualenv *without* internet? Date: Wed, 19 Aug 2015 11:25:49 + > Date: Tue, 18 Aug 2015 22:32:28 -0400 > From: mcfle...@vrplumber.com > To: tutor@python.org

Re: [Tutor] pip install in a virtualenv *without* internet?

2015-08-19 Thread Albert-Jan Roskam
> Date: Wed, 19 Aug 2015 02:27:41 -0700 > From: aklei...@sonic.net > To: tutor@python.org > Subject: Re: [Tutor] pip install in a virtualenv *without* internet? > > On 2015-08-18 19:32, Mike C. Fletcher wrote: > > > To install without going out to the internet, you c

Re: [Tutor] pip install in a virtualenv *without* internet?

2015-08-19 Thread Alex Kleider
On 2015-08-18 19:32, Mike C. Fletcher wrote: To install without going out to the internet, you can use these arguments: pip install --no-index --find-links=/path/to/download/directory For this to work, /path/to/download/directory would, I assume, first have to be populated. I further

Re: [Tutor] pip install in a virtualenv *without* internet?

2015-08-19 Thread Mike C. Fletcher
On 15-08-18 04:10 PM, Albert-Jan Roskam wrote: Hi, I use Python(x y) (Python 2.7) on Win7. I need a higher version of openpyxl, because pandas.Dataframe.to_excel yields an error. So pandas and its own dependencies (e.g. numpy) could remain in the python(x y) site-packages, I just need a hig

Re: [Tutor] pip install in a virtualenv *without* internet?

2015-08-18 Thread Laura Creighton
In a message of Tue, 18 Aug 2015 20:10:15 -, Albert-Jan Roskam writes: >So I would like to pip install a openpyxl AND its specific dependencies in a >virtualenv. >The problem is that I can't use pip to download the packages from Pypi because >I do not have a regular internet connection. Is t

[Tutor] pip install in a virtualenv *without* internet?

2015-08-18 Thread Albert-Jan Roskam
Hi, I use Python(x y) (Python 2.7) on Win7. I need a higher version of openpyxl, because pandas.Dataframe.to_excel yields an error. So pandas and its own dependencies (e.g. numpy) could remain in the python(x y) site-packages, I just need a higher version of openpyxl without disturbing the x

Re: [Tutor] pip install M2crypto

2015-04-28 Thread Alan Gauld
On 28/04/15 03:14, Juanald Reagan wrote: Good Evening, I am trying to install the M2crypto package via pip and receive an error. Python version is 2.7.4, any ideas on how to fix the SWIG error? Do you have SWIG installed? It should be in your repo. unable to execute swig: No such fi

[Tutor] pip install M2crypto

2015-04-27 Thread Juanald Reagan
Good Evening, I am trying to install the M2crypto package via pip and receive an error. Python version is 2.7.4, any ideas on how to fix the SWIG error? Jon$ sudo -H pip install M2crypto /Library/Python/2.7/site-packages/pip-6.1.1-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:79:

Re: [Tutor] pip install lxml fails

2015-04-09 Thread Alex Kleider
On 2015-04-09 13:26, Peter Otten wrote: I'd try $ sudo apt-get build-dep python3-lxml build-dep is not an apt-get command I've seen before but it did the trick! This should install all build dependencies of the python3-lxml package which are likely the same as those of a manual install

Re: [Tutor] pip install lxml fails

2015-04-09 Thread Alex Kleider
I tried something different and although not successful, there seems to be some progress: (env)alex@t61p:~/P3env$ CFLAGS="-O0" STATIC_DEPS=true pip install lxml . Exception: Command "make -j3" returned code 512 --

Re: [Tutor] pip install lxml fails

2015-04-09 Thread Peter Otten
Stefan Behnel wrote: > Alex Kleider schrieb am 09.04.2015 um 21:49: >> On 2015-04-09 09:11, Stefan Behnel wrote: >>> All you need to do is install the "-dev" package that goes with your >>> Python installation, e.g. "python3-dev" should match Python 3.4 in >>> current Ubuntu releases. >>> >>> The

Re: [Tutor] pip install lxml fails

2015-04-09 Thread Stefan Behnel
Alex Kleider schrieb am 09.04.2015 um 21:49: > On 2015-04-09 09:11, Stefan Behnel wrote: >> All you need to do is install the "-dev" package that goes with your Python >> installation, e.g. "python3-dev" should match Python 3.4 in current Ubuntu >> releases. >> >> The reason why it's in a separate

Re: [Tutor] pip install lxml fails

2015-04-09 Thread Alex Kleider
On 2015-04-09 09:11, Stefan Behnel wrote: It's solved already. :) All you need to do is install the "-dev" package that goes with your Python installation, e.g. "python3-dev" should match Python 3.4 in current Ubuntu releases. The reason why it's in a separate package is that many people ac

Re: [Tutor] pip install lxml fails

2015-04-09 Thread Stefan Behnel
Alex Kleider schrieb am 09.04.2015 um 17:29: > On 2015-04-09 07:08, Brandon McCaig wrote: >> I'm a python newbie, but it looks to me like your compiler cannot >> find your header files, and in particular pyconfig.h. >> >> I tried searching my system and found a file with that name at >> these locat

Re: [Tutor] pip install lxml fails

2015-04-09 Thread Alex Kleider
On 2015-04-09 07:08, Brandon McCaig wrote: I'm a python newbie, but it looks to me like your compiler cannot find your header files, and in particular pyconfig.h. I tried searching my system and found a file with that name at these locations: /home/bambams/src/pyenv/versions/2.7.9/include/p

[Tutor] pip install lxml fails

2015-04-08 Thread Alex Kleider
In the process of trying to learn about web scraping (http://docs.python-guide.org/en/latest/scenarios/scrape/) I tried to pip install lxml. Can anyone suggest a remedy? The output goes on for many pages and the resulting .pip/pip.log file is almost 900 lines long but the main meat of the failur