Hi Jesus,
        Since our last chat here is what I have done. I have created a new 
virtualenv with "--no-site-packages" to insure a fresh clean environment. After 
I followed your instructions and pulled up my "dir" data. I notice I didn't 
have a "bin" directory and researched why. It turns out a "bin" directory is 
created on POSIZ systems only. Also some paths within the virtualenv 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 with perceval 
command scripts. 
        I install perceval into my virtualenv and tried to run Perceval again. 
It still isn’t working for me, so I am going to try changing my OS to Unbuntu 
and try again there. I inserted my command prompt below.  


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\\python35-32'
New python executable in 
C:\Users\Tevin\Desktop\project\perceval\Scripts\python.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    <DIR>          .
10/14/2016  01:25 PM    <DIR>          ..
10/07/2016  12:24 AM    <DIR>          Include
10/14/2016  01:24 PM    <DIR>          Lib
10/14/2016  01:25 PM                60 pip-selfcheck.json
10/14/2016  01:25 PM    <DIR>          Scripts
10/14/2016  01:24 PM    <DIR>          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>=2.0.0 (from perceval)
  Using cached python_dateutil-2.5.3-py2.py3-none-any.whl
Collecting requests>=2.7.0 (from perceval)
  Using cached requests-2.11.1-py2.py3-none-any.whl
Collecting beautifulsoup4>=4.3.2 (from perceval)
  Using cached beautifulsoup4-4.5.1-py3-none-any.whl
Collecting six>=1.5 (from python-dateutil>=2.0.0->perceval)
  Using cached six-1.10.0-py2.py3-none-any.whl
Installing collected packages: six, python-dateutil, 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>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    <DIR>          .
10/14/2016  01:25 PM    <DIR>          ..
10/07/2016  12:24 AM    <DIR>          Include
10/14/2016  01:24 PM    <DIR>          Lib
10/14/2016  01:25 PM                60 pip-selfcheck.json
10/14/2016  01:31 PM    <DIR>          Scripts
10/14/2016  01:24 PM    <DIR>          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 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 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>echo %PYTHONPATH
%PYTHONPATH

(perceval) C:\Users\Tevin\Desktop\project\perceval>path
PATH=C:\Users\Tevin\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 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 bit 
(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.mall...@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 
created already, 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,

        Jesus.



-- 
http://twitter.com/jgbarah          http://gsyc.es/~jgb

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to