From: Subject: Re: Debugging your environment... Date: Fri, 14 Oct 2016 14:15:25 -0400 Message-ID: <580120dc.8b65810a.76e3b.a63c@mx.google.com> References: <1476459542.27020.309.camel@gsyc.es> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8404431630206453698==" Return-path: Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bv71U-0007ER-Mo for xen-devel@lists.xenproject.org; Fri, 14 Oct 2016 18:16:00 +0000 Received: by mail-yw0-f169.google.com with SMTP id w3so79538827ywg.1 for ; Fri, 14 Oct 2016 11:15:58 -0700 (PDT) In-Reply-To: <1476459542.27020.309.camel@gsyc.es> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: "Jesus M. Gonzalez-Barahona" Cc: Lars Kurth , "Xen-Devel@Lists. Xenproject. Org" List-Id: xen-devel@lists.xenproject.org --===============8404431630206453698== Content-Type: multipart/alternative; boundary="_C243C8A8-35AA-488D-8ED5-70145B9FC7CE_" --_C243C8A8-35AA-488D-8ED5-70145B9FC7CE_ Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Hi Jesus, =09Since our last chat here is what I have done. I have created a new virt= ualenv with "--no-site-packages" to insure a fresh clean environment. Afte= r I followed your instructions and pulled up my "dir" data. I notice I did= n't have a "bin" directory and researched why. It turns out a "bin" direct= ory is created on POSIZ systems only. Also some paths within the virtualen= v are different on Windows: scripts and executables on Windows go in "ENV\= Scripts\" instead of "ENV/bin". I don't know if this will have a problem w= ith perceval command scripts.=20 =09I install perceval into my virtualenv and tried to run Perceval again. = It still isn=E2=80=99t working for me, so I am going to try changing my OS= to Unbuntu and try again there. I inserted my command prompt below. =20 Microsoft Windows [Version 10.0.14393] (c) 2016 Microsoft Corporation. All rights reserved. C:\Users\Tevin>cd Desktop C:\Users\Tevin\Desktop>md perceval C:\Users\Tevin\Desktop>md project C:\Users\Tevin\Desktop>cd project C:\Users\Tevin\Desktop\project>virtualenv --no-site-packages perceval Using base prefix 'c:\\users\\tevin\\appdata\\local\\programs\\python\\pyt= hon35-32' New python executable in C:\Users\Tevin\Desktop\project\perceval\Scripts\p= ython.exe Installing setuptools, pip, wheel...done. C:\Users\Tevin\Desktop\project>cd perceval C:\Users\Tevin\Desktop\project\perceval>dir Volume in drive C is OS Volume Serial Number is 2606-BFCB Directory of C:\Users\Tevin\Desktop\project\perceval 10/14/2016 01:25 PM . 10/14/2016 01:25 PM .. 10/07/2016 12:24 AM Include 10/14/2016 01:24 PM Lib 10/14/2016 01:25 PM 60 pip-selfcheck.json 10/14/2016 01:25 PM Scripts 10/14/2016 01:24 PM tcl 1 File(s) 60 bytes 6 Dir(s) 416,644,304,896 bytes free C:\Users\Tevin\Desktop\project\perceval>scripts\activate (perceval) C:\Users\Tevin\Desktop\project\perceval>pip install perceval Collecting perceval Using cached perceval-0.3.0-py3-none-any.whl Collecting python-dateutil>=3D2.0.0 (from perceval) Using cached python_dateutil-2.5.3-py2.py3-none-any.whl Collecting requests>=3D2.7.0 (from perceval) Using cached requests-2.11.1-py2.py3-none-any.whl Collecting beautifulsoup4>=3D4.3.2 (from perceval) Using cached beautifulsoup4-4.5.1-py3-none-any.whl Collecting six>=3D1.5 (from python-dateutil>=3D2.0.0->perceval) Using cached six-1.10.0-py2.py3-none-any.whl Installing collected packages: six, python-dateutil, requests, beautifulso= up4, perceval Successfully installed beautifulsoup4-4.5.1 perceval-0.3.0 python-dateutil= -2.5.3 requests-2.11.1 six-1.10.0 (perceval) C:\Users\Tevin\Desktop\project\perceval>dir Volume in drive C is OS Volume Serial Number is 2606-BFCB Directory of C:\Users\Tevin\Desktop\project\perceval 10/14/2016 01:25 PM . 10/14/2016 01:25 PM .. 10/07/2016 12:24 AM Include 10/14/2016 01:24 PM Lib 10/14/2016 01:25=20PM 60 pip-selfcheck.json 10/14/2016 01:31 PM Scripts 10/14/2016 01:24 PM tcl 1 File(s) 60 bytes 6 Dir(s) 416,637,894,656 bytes free (perceval) C:\Users\Tevin\Desktop\project\perceval>echo %PATH% C:\Users\Tevin\Desktop\project\perceval\Scripts;C:\ProgramData\Oracle\Java= \javapath;C:\Program Files (x86)\Intel\TXE Components\TCS\;C:\Program File= s\Intel\TXE Components\TCS\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Syst= em32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x8= 6)\Common Files\Adobe\AGL;C:\Program Files (x86)\DevDesktop\drush;C:\Progr= am Files\Java\jdk\bin;C:\Program Files\Java\jre\bin;C:\Users\Tevin\AppData= \Local\Programs\Python\Python35-32\Scripts\;C:\Users\Tevin\AppData\Local\P= rograms\Python\Python35-32\;C:\Users\Tevin\AppData\Local\Microsoft\Windows= Apps;C:\Windows\System32;C:\Users\Tevin\Documents\project\mtask\Lib\site-p= ackages (perceval) C:\Users\Tevin\Desktop\project\perceval>echo=20%PYTHONPATH %PYTHONPATH (perceval) C:\Users\Tevin\Desktop\project\perceval>path PATH=3DC:\Users\Tevin\Desktop\project\perceval\Scripts;C:\ProgramData\Orac= le\Java\javapath;C:\Program Files (x86)\Intel\TXE Components\TCS\;C:\Progr= am Files\Intel\TXE Components\TCS\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDO= WS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Fi= les (x86)\Common Files\Adobe\AGL;C:\Program Files (x86)\DevDesktop\drush;C= :\Program Files\Java\jdk\bin;C:\Program Files\Java\jre\bin;C:\Users\Tevin\= AppData\Local\Programs\Python\Python35-32\Scripts\;C:\Users\Tevin\AppData\= Local\Programs\Python\Python35-32\;C:\Users\Tevin\AppData\Local\Microsoft\= WindowsApps;C:\Windows\System32;C:\Users\Tevin\Documents\project\mtask\Lib= \site-packages (perceval) C:\Users\Tevin\Desktop\project\perceval>perceval 'perceval' is not recognized as an internal or external command, operable program or batch file. (perceval) C:\Users\Tevin\Desktop\project\perceval>perceval --help 'perceval' is not recognized as an internal or external command, operable program or batch file. (perceval) C:\Users\Tevin\Desktop\project\perceval>python Python 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:01:18) [MSC v.1900 32 b= it (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> exit() (perceval) C:\Users\Tevin\Desktop\project\perceval>Scripts\perceval 'Scripts\perceval' is not recognized as an internal or external command, operable program or batch file. (perceval) C:\Users\Tevin\Desktop\project\perceval>scripts\perceval 'scripts\perceval' is not recognized as an internal or external command, operable program or batch file. (perceval) C:\Users\Tevin\Desktop\project\perceval> Sent from Mail for Windows 10 From: Jesus M. Gonzalez-Barahona Sent: Friday, October 14, 2016 11:39 AM To: tevin.k.mallory@gmail.com Subject: Debugging your environment... Hi, Tevin, After our conversation via irc, please do the following: * Let's assume you have the "C:\Users\Tevin\Desktop\project" directory=C2=A0= created=20already, with no "perceval" subdirectory in it. * Run "venv C:\Users\Tevin\Desktop\project\perceval" Now you should have a "C:\Users\Tevin\Desktop\project\perceval" directory. Change to it: * "cd C:\Users\Tevin\Desktop\project\perceval" * Get a listing of its contents, and in particular of its bin directory: "dir ." "dir bin" * Now, activate the environment. * Once the environment is activated, run "pip install perceval" And then again "dir ." "dir bin" * and let's get some environment variables: "echo %PATH%" "echo %PYTHONPATH" * Then, try to run perceval: "perceval" * and python: "python --version" (of course, after activation, everything from the same console). Plese, copy and paste in a message all what you typed and the answer by the system. And let's see if we can progress from that... Saludos, =09Jesus. --=20 http://twitter.com/jgbarah=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 http://gsyc.es/~jgb --_C243C8A8-35AA-488D-8ED5-70145B9FC7CE_ Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8"

Hi Jesus,

= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 Since our last chat here is what I have done. I have creat= ed a new virtualenv with "--no-site-packages" to insure a fresh = clean environment. After I followed your instructions and pulled up my &qu= ot;dir" data. I notice I didn't have a "bin" directory and = researched why. It turns out a "bin" directory is created on POS= IZ systems only. Also some paths within the virtualenv are different on Wi= ndows: scripts and executables on Windows go in "ENV\Scripts\" i= nstead of "ENV/bin". I don't know if this will have a problem wi= th perceval command scripts.

=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 I in= stall perceval into my virtualenv and tried to run Perceval again. It stil= l isn=E2=80=99t working for me, so I am going to try changing my OS to Unb= untu and try again there. I inserted my command prompt below. =C2=A0

 

 

Microsoft Windows [Version 10.0.14393]=

(c) 2016 Microsoft Cor= poration. All rights reserved.

 

C:\Users\Tevin>cd Desktop

 

C:\Users\Tevin\Desktop>md perceval

 

C:\Users\Tevin\Desktop>md project

 

C:\Users\Tevin\Desktop>cd project

 

C:\Users\Tevin\Desktop\project>virtuale= nv --no-site-packages perceval

Using base prefix 'c:\\users\\tevin\\appdata\\local\\programs\\pyt= hon\\python35-32'

New p= ython executable in C:\Users\Tevin\Desktop\project\perceval\Scripts\python= .exe

Installing setupto= ols, pip, wheel...done.

 

C:\U= sers\Tevin\Desktop\project>cd perceval

 

C:\Users\Tevin\Desktop\project\perceval>dir

Volume in drive C is OS

Volume Serial Number is 2606-BFCB

 

Directory of C:\Users\Tevin\D= esktop\project\perceval

 

10/1= 4/2016=C2=A0 01:25 PM=C2=A0=C2=A0=C2=A0 <DIR>=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 .

10/14/2016=C2=A0 01:25 PM=C2=A0=C2=A0=C2=A0 <DIR>=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ..

10/07/2016=C2=A0 12:24 AM=C2=A0=C2=A0=C2=A0 <= DIR>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Include

<= p class=3DMsoNormal style=3D'margin-left:.5in'>10/14/2016=C2=A0 01:24 PM=C2= =A0=C2=A0=C2=A0 <DIR>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 Lib

10/14/2016=C2= =A0 01:25 PM=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 60 pip-selfcheck.json

10/14/2016=C2=A0 01:25 PM=C2=A0=C2=A0=C2=A0 <= ;DIR>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Scripts

=

10/14/2016=C2=A0 01:24 PM=C2= =A0=C2=A0=C2=A0 <DIR>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 tcl

=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 1= File(s)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 60 bytes

=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= 6 Dir(s)=C2=A0 416,644,304,896 bytes free

 

C:\Users\Tevin\Desktop\project\perceval>scripts\activate<= /p>

 

(perceval) C:\Users\Tevin\De= sktop\project\perceval>pip install perceval

Collecting perceval

=C2=A0 Using cached perceval-0.3.0-py3-none-any.whl

=

Collecting python-dateutil= >=3D2.0.0 (from perceval)

=C2=A0 Using cached python_dateutil-2.5.3-py2.py3-none-any.whl

Collecting requests>=3D2.= 7.0 (from perceval)

=C2= =A0 Using cached requests-2.11.1-py2.py3-none-any.whl

Collecting beautifulsoup4>=3D4.3.2 (from= perceval)

=C2=A0 Using= cached beautifulsoup4-4.5.1-py3-none-any.whl

Collecting six>=3D1.5 (from python-dateutil>=3D= 2.0.0->perceval)

=C2= =A0 Using cached six-1.10.0-py2.py3-none-any.whl

Installing collected packages: six, python-dateu= til, requests, beautifulsoup4, perceval

Successfully installed beautifulsoup4-4.5.1 perceval-0.3.= 0 python-dateutil-2.5.3 requests-2.11.1 six-1.10.0

 

(perceval) C:\Users\Tevin\Desktop\project\perceval&= gt;dir

Volume in drive= C is OS

Volume Serial= Number is=202606-BFCB

=  

Dire= ctory of C:\Users\Tevin\Desktop\project\perceval

 

10/14/2016=C2=A0 01:25 PM=C2=A0=C2=A0=C2=A0 <DIR>= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 .

10/14/2016=C2=A0 01:25 PM=C2=A0=C2=A0=C2= =A0 <DIR>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ..

10/07/2016=C2=A0 12:24 A= M=C2=A0 =C2=A0=C2=A0<DIR>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 Include

10/14= /2016=C2=A0 01:24 PM=C2=A0=C2=A0=C2=A0 <DIR>=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Lib

10/14/2016=C2=A0 01:25 PM=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 60 pip-selfcheck.json<= /p>

10/14/2016=C2=A0 01:31 = PM=C2=A0=C2=A0=C2=A0 <DIR>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 Scripts

10= /14/2016=C2=A0 01:24 PM=C2=A0=C2=A0=C2=A0 <DIR>=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 tcl

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 1 File(s)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 60 bytes

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 6 Dir(s)=C2=A0 416,637,894,656 bytes free

<= p class=3DMsoNormal style=3D'margin-left:.5in'> 

(perceval) C:\Users\Tevin\Deskto= p\project\perceval>echo %PATH%

C:\Users\Tevin\Desktop\project\perceval\Scripts;C:\ProgramData\= Oracle\Java\javapath;C:\Program Files (x86)\Intel\TXE Components\TCS\;C:\P= rogram Files\Intel\TXE Components\TCS\;C:\WINDOWS\system32;C:\WINDOWS;C:\W= INDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Progra= m Files (x86)\Common Files\Adobe\AGL;C:\Program Files (x86)\DevDesktop\dru= sh;C:\Program Files\Java\jdk\bin;C:\Program Files\Java\jre\bin;C:\Users\Te= vin\AppData\Local\Programs\Python\Python35-32\Scripts\;C:\Users\Tevin\AppD= ata\Local\Programs\Python\Python35-32\;C:\Users\Tevin\AppData\Local\Micros= oft\WindowsApps;C:\Windows\System32;C:\Users\Tevin\Documents\project\mtask= \Lib\site-packages

 

(perceval= ) C:\Users\Tevin\Desktop\project\perceval>echo %PYTHONPATH

%PYTHONPATH

 

(perceval) C:\Users\Tevin\Desktop\project\perceval>p= ath

PATH=3DC:\Users\Tev= in\Desktop\project\perceval\Scripts;C:\ProgramData\Oracle\Java\javapath;C:= \Program Files (x86)\Intel\TXE Components\TCS\;C:\Program Files\Intel\TXE = Components\TCS\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:= \WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Common Fi= les\Adobe\AGL;C:\Program Files (x86)\DevDesktop\drush;C:\Program Files\Jav= a\jdk\bin;C:\Program Files\Java\jre\bin;C:\Users\Tevin\AppData\Local\Progr= ams\Python\Python35-32\Scripts\;C:\Users\Tevin\AppData\Local\Programs\Pyth= on\Python35-32\;C:\Users\Tevin\AppData\Local\Microsoft\WindowsApps;C:\Wind= ows\System32;C:\Users\Tevin\Documents\project\mtask\Lib\site-packages

<= p class=3DMsoNormal style=3D'margin-left:.5in'> 

(perceval) C:\Users\Tevin\Deskto= p\project\perceval>perceval

'perceval' is not recognized as an internal or external command,

operable program or batc= h file.

 

(perceval) C:\Users\= Tevin\Desktop\project\perceval>perceval --help

'perceval' is not recognized as an internal or = external command,

opera= ble program or batch file.

 

(= perceval) C:\Users\Tevin\Desktop\project\perceval>python

Python 3.5.2 (v3.5.2:4def2a2901a5, Ju= n 25 2016, 22:01:18) [MSC v.1900 32 bit (Intel)] on win32

Type "help", "copyright&= quot;, "credits" or "license" for more information.

>>> exit()

 

(perceval) C:\Users\Tevin\Desktop= \project\perceval>Scripts\perceval

'Scripts\perceval' is not recognized as an internal or exte= rnal command,

operable = program or batch file.

=  

(perc= eval) C:\Users\Tevin\Desktop\project\perceval>scripts\perceval

'scripts\perceval' is not recog= nized as an internal or external command,

operable program or batch file.

 

(perceval) C:\Users\Tevin\Desktop\project\perceval&= gt;

 

Sent= from Mail for Windows 10

 

From: Jesus M. Gonzalez-Baraho= na
Sent: Friday, October 14, 2016 11:39 AM
To: tevin.k.mallory@gmail.comSubject: Debugging your environment...

 

Hi, Tevin,

 

After our conversation via= irc, please do the following:

 

* Let's assume you have the "C:\Users\Tevin\De= sktop\project" directory 

created alread= y, with no "perceval" subdirectory in it.

 

* Run "venv C:\Users\Tevi= n\Desktop\project\perceval"

 =

Now you should have a "C:\Users\Tevin\Deskto= p\project\perceval"

directory. Change to it:<= /p>

 

* "= cd C:\Users\Tevin\Desktop\project\perceval"

<= o:p> 

* Get a listing of its contents, = and in particular of its bin

directory:

 

"dir ."<= /p>

"dir bin"

&= nbsp;

* Now, activate the environment.

 

* Once the en= vironment is activated, run

 

<= p class=3DMsoNormal>"pip install perceval"

 

And then again

 

"dir ."

<= p class=3DMsoNormal>"dir bin"

 = ;

* and let's get some environment variables= :

 

"= echo %PATH%"

"echo %PYTHONPATH"

=

 

* Then, try= to run perceval:

 

"perceval"

 

* and python:

 

"python --version"

 

(of course, after activa= tion, everything from the same console).

&nbs= p;

Plese, copy and paste in a message all wh= at you typed and the answer by

the system. And let= 's see if we can progress from that...

 =

Saludos,

 = ;

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Jesus.

 

 

 

--

http://twitter.com/jgbarah      &n= bsp;   http://gsyc.es/~jgb

 

 

--_C243C8A8-35AA-488D-8ED5-70145B9FC7CE_-- --===============8404431630206453698== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwczovL2xpc3RzLnhlbi5v cmcveGVuLWRldmVsCg== --===============8404431630206453698==--