Discussion:
[otb-users] install numpy with python 3.5 on windows
Hilaire Martin
2018-10-16 12:04:38 UTC
Permalink
Hello,
I try to install numpy, but when I run the command I've this error message:
python.exe -m pip install numpy
File "<stdin>", line 1

I tried:
python.exe -m pip*3* install numpy

python.exe -m pip*3.5* install numpy

still the same error

Have you an idea?

Hilaire
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to otb-***@googlegroups.com
To unsubscribe from this group, send email to
otb-users+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otb-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Poughon Victor
2018-10-16 13:08:28 UTC
Permalink
Hi Hilaire,

Is this related to OTB? How did you install python?

Victor Poughon

De : otb-***@googlegroups.com <otb-***@googlegroups.com> De la part de Hilaire Martin
Envoyé : mardi 16 octobre 2018 14:05
À : otb-users <otb-***@googlegroups.com>
Objet : [otb-users] install numpy with python 3.5 on windows

Hello,
I try to install numpy, but when I run the command I've this error message:
python.exe -m pip install numpy
File "<stdin>", line 1

I tried:
python.exe -m pip3 install numpy

python.exe -m pip3.5 install numpy

still the same error

Have you an idea?

Hilaire
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to otb-***@googlegroups.com<mailto:otb-***@googlegroups.com>
To unsubscribe from this group, send email to
otb-users+***@googlegroups.com<mailto:otb-users+***@googlegroups.com>
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otb-users+***@googlegroups.com<mailto:otb-users+***@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to otb-***@googlegroups.com
To unsubscribe from this group, send email to
otb-users+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otb-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hilaire Martin
2018-10-16 13:13:10 UTC
Permalink
I'm going to take a workshop on OTB and I have to install numpy.
I think the problem is related with the PROXY...
Post by Poughon Victor
Hi Hilaire,
Is this related to OTB? How did you install python?
Victor Poughon
part de* Hilaire Martin
*Envoyé :* mardi 16 octobre 2018 14:05
*Objet :* [otb-users] install numpy with python 3.5 on windows
Hello,
python.exe -m pip install numpy
File "<stdin>", line 1
python.exe -m pip*3* install numpy
python.exe -m pip*3.5* install numpy
still the same error
Have you an idea?
Hilaire
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html
You received this message because you are subscribed to the Google
Groups "otb-users" group.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html
You received this message because you are subscribed to the Google
Groups "otb-users" group.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to otb-***@googlegroups.com
To unsubscribe from this group, send email to
otb-users+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otb-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Poughon Victor
2018-10-16 13:18:06 UTC
Permalink
Ok, the error you have does not look related to OTB itself. I'm not familiar with Windows but if you send us more information about your setup we might be able to help.
Otherwise we'll be happy to help you get setup during the workshop.

Victor Poughon

De : otb-***@googlegroups.com <otb-***@googlegroups.com> De la part de Hilaire Martin
Envoyé : mardi 16 octobre 2018 15:13
À : otb-***@googlegroups.com
Objet : Re: [otb-users] install numpy with python 3.5 on windows

I'm going to take a workshop on OTB and I have to install numpy.
I think the problem is related with the PROXY...

Le mar. 16 oct. 2018 à 15:08, Poughon Victor <***@cnes.fr<mailto:***@cnes.fr>> a écrit :
Hi Hilaire,

Is this related to OTB? How did you install python?

Victor Poughon

De : otb-***@googlegroups.com<mailto:otb-***@googlegroups.com> <otb-***@googlegroups.com<mailto:otb-***@googlegroups.com>> De la part de Hilaire Martin
Envoyé : mardi 16 octobre 2018 14:05
À : otb-users <otb-***@googlegroups.com<mailto:otb-***@googlegroups.com>>
Objet : [otb-users] install numpy with python 3.5 on windows

Hello,
I try to install numpy, but when I run the command I've this error message:
python.exe -m pip install numpy
File "<stdin>", line 1

I tried:
python.exe -m pip3 install numpy

python.exe -m pip3.5 install numpy

still the same error

Have you an idea?

Hilaire
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to otb-***@googlegroups.com<mailto:otb-***@googlegroups.com>
To unsubscribe from this group, send email to
otb-users+***@googlegroups.com<mailto:otb-users+***@googlegroups.com>
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otb-users+***@googlegroups.com<mailto:otb-users+***@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to otb-***@googlegroups.com<mailto:otb-***@googlegroups.com>
To unsubscribe from this group, send email to
otb-users+***@googlegroups.com<mailto:otb-users%***@googlegroups.com>
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otb-users+***@googlegroups.com<mailto:otb-users+***@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to otb-***@googlegroups.com<mailto:otb-***@googlegroups.com>
To unsubscribe from this group, send email to
otb-users+***@googlegroups.com<mailto:otb-users+***@googlegroups.com>
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otb-users+***@googlegroups.com<mailto:otb-users+***@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to otb-***@googlegroups.com
To unsubscribe from this group, send email to
otb-users+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otb-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Manuel Grizonnet
2018-10-16 15:02:14 UTC
Permalink
Hi Martin,

on Windows you can download Python version 3.5.4 version available here :

https://www.python.org/ftp/python/3.5.4/python-3.5.4-amd64.exe

It does not require root privileges. Once installed, you can install NumPy
with pip with the command

python.exe -m pip install numpy

By default OTB Python bindings in the binary installer are compatible with
python 2.7. You need to edit the otbenv.bat
file to modify the line with PYTHONPATH, by changing lib/python to
lib/python3.

If you are on a company network behind a proxy, you can configure it with
the following command in a Windows
prompt:

set HTTPS_PROXY=http://Domain\User:***@proxy_address:port

Let me know if it works.

Manuel
Post by Hilaire Martin
I'm going to take a workshop on OTB and I have to install numpy.
I think the problem is related with the PROXY...
Post by Poughon Victor
Hi Hilaire,
Is this related to OTB? How did you install python?
Victor Poughon
part de* Hilaire Martin
*Envoyé :* mardi 16 octobre 2018 14:05
*Objet :* [otb-users] install numpy with python 3.5 on windows
Hello,
python.exe -m pip install numpy
File "<stdin>", line 1
python.exe -m pip*3* install numpy
python.exe -m pip*3.5* install numpy
still the same error
Have you an idea?
Hilaire
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html
You received this message because you are subscribed to the Google
Groups "otb-users" group.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html
You received this message because you are subscribed to the Google
Groups "otb-users" group.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html
You received this message because you are subscribed to the Google
Groups "otb-users" group.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
Manuel Grizonnet
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to otb-***@googlegroups.com
To unsubscribe from this group, send email to
otb-users+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otb-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hilaire Martin
2018-10-17 07:08:32 UTC
Permalink
Hello,

It works for the numpy installation.

But I had an error message when I ran import otbApplication.

I found a post on this group and I add some path as this:

PYTHONPATH > C:\OTB-6.6.0-Win64\lib\python3
Path > C:\OTB-6.6.0-Win64\bin
OTB_APPLICATION_PATH > C:\OTB-6.6.0-Win64\lib\otb\applications

now when I run otbApplication, I have no error...it seems working...

Hilaire
Post by Hilaire Martin
Hello,
python.exe -m pip install numpy
File "<stdin>", line 1
python.exe -m pip*3* install numpy
python.exe -m pip*3.5* install numpy
still the same error
Have you an idea?
Hilaire
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to otb-***@googlegroups.com
To unsubscribe from this group, send email to
otb-users+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otb-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...