Debugging your environment...
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hello Jesus,
I’ll get started on debugging my environment right away. Thanks a lot for your time. I have attached the logs of our IRC meeting today…I’ll email you with my debugging results soon.
Sent from Mail for Windows 10
From: Jesus M. Gonzalez-Barahona
Sent: Friday, October 14, 2016 11:39 AM
To: [email protected]
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.
Signature · 1 line
http://twitter.com/jgbarah http://gsyc.es/~jgb
Session Start: Mon Oct 03 17:36:20 2016
Session Ident: #metrics-grimoire
03[17:36] * Now talking in #metrics-grimoire
02[17:40] * gayathri___ (uid69915@gateway/web/irccloud.com/x-zbftnjrevqetnmfh) Quit (Quit: Connection closed for inactivity) 03[19:48] * _acs_ ([email protected]) has joined #metrics-grimoire 02[20:00] * _acs_ ([email protected]) Quit (Quit: Leaving.)
02[20:11] * jgbarah ([email protected]) Quit (Ping timeout: 248 seconds) 02[21:56] * Disconnected
Session Close: Mon Oct 03 21:56:33 2016
Session Start: Mon Oct 03 21:56:33 2016
Session Ident: #metrics-grimoire
02[21:56] * Attempting to rejoin channel #metrics-grimoire 03[21:56] * Rejoined channel #metrics-grimoire 02[23:03] * Disconnected
Session Close: Mon Oct 03 23:03:21 2016
Session Start: Fri Oct 07 10:31:01 2016
Session Ident: #metrics-grimoire
03[10:31] * Now talking in #metrics-grimoire
03[10:31] * _acs_ ([email protected]) has joined #metrics-grimoire
01[10:32] <tmallory> Hello Everyone, I am Tevin Mallory. How are you all doing today?
[10:33] <jgbarah> Hi Tevin!
[10:34] <jgbarah> tmallory: How do you do? Is the hurricane being a problem?
[10:35] <jgbarah> tmallory: Are you there?
01[10:35] <tmallory> I am doing well so far, the hurrican hasn't hit my area yet.
[10:36] <jgbarah> ok. I hope it doesn't become a big problem for you...
[10:36] <jgbarah> Anyway, could you have a look a the microtask description?
01[10:37] <tmallory> Thank you. I hope so as well. I have the microtask description in fornt me.
01[10:38] <tmallory> I started on it yesterday and have been installing the requirements for perceval
[10:38] <jgbarah> ok. I have to leave in 10 min, but will be back in 30, so let's start, and if needed and you can, we can follow up later [10:38] <jgbarah> Good. Any trouuble with Perceval?
01[10:39] <tmallory> Okay
01[10:40] <tmallory> I haven't started using Perceval yet, but i shouldn't have any trouble with it.
01[10:41] <tmallory> I just started learning python a little while ago, so i spent a great amount of time getting a good grasp
[10:41] <jgbarah> OK. The other stuff that could block you is installing ElasticSearch and maybe Kibana. I would start with ElasticSearch, which is all you'll need for onow 01[10:42] <tmallory> Ok i'll work on installing that next
[10:42] <jgbarah> ok, let me know if you need some help for Python. I can point you to courses and material if you happen to need those
[10:42] <jgbarah> For elasticSearch, you'll mainly need a working Java vm on your computer, not much more than that.
01[10:43] <tmallory> Okay I'am taking note of that
[10:43] <jgbarah> Can I help you in some way now, or you're on your way?
01[10:44] <tmallory> I am pretty much on my way.
01[10:45] <tmallory> no major problems
[10:45] <jgbarah> Perfect. Then, maybe we can just schedule a meeting for next week
[10:45] <jgbarah> Meanwhile you can ping me here, or via email
01[10:45] <tmallory> Ok. perfect
[10:46] <jgbarah> For the meeting here, we can consider tentatively next Friday, but 45 min. later
[10:46] <jgbarah> Is that ok with you?
01[10:46] <tmallory> yes it is great
[10:46] <jgbarah> I guess that would be 17:15 CEST, 11:15am EST
[10:47] <jgbarah> Good!
[10:47] <jgbarah> There is a slight chance that I cannot make that time, in that case I will suggest meeting a bit later
[10:47] <jgbarah> Anthing else from your side?
01[10:48] <tmallory> No I am all green lights on my side, if anything comes up I'll let you know
01[10:48] <tmallory> Thank you for your time.
[10:49] <jgbarah> Perfect! It was great meeting you. See you next week! If you don't mind, please send Lars and me the log for his meeting via email 01[10:50] <tmallory> No problem, I'll send it right away.
01[10:50] <tmallory> It was great meeting with you as well.
[10:50] <jgbarah> Thanks! See you. Bye for now!
02[10:51] * jgbarah ([email protected]) Quit (Quit: Leaving.)
02[11:11] * _acs_ ([email protected]) Quit (Ping timeout: 272 seconds)
03[11:32] * _acs_ ([email protected]) has joined #metrics-grimoire
03[11:34] * _acs_ ([email protected]) has left #metrics-grimoire
02[11:44] * Disconnected
Session Close: Fri Oct 07 11:44:29 2016
Session Start: Fri Oct 07 13:21:08 2016 Session Ident: #metrics-grimoire 03[13:21] * Now talking in #metrics-grimoire 03[13:22] * Retrieving #metrics-grimoire modes... 02[13:35] * Disconnected
Session Close: Fri Oct 07 13:35:43 2016
Session Start: Fri Oct 14 10:18:31 2016
Session Ident: #metrics-grimoire
03[10:18] * Now talking in #metrics-grimoire
03[10:31] * jgbarah ([email protected]) has joined #metrics-grimoire
[10:31] <jgbarah> Hi tmallory!
[10:33] <jgbarah> tmallory: are you around?
01[10:38] <tmallory> Yes, I am here
01[10:40] <tmallory> I am still trying to get perceval to work agian, I have edited my Path with hopes it would fix the problem. It hasn't worked for me yet. [10:41] <jgbarah> Hi! Can i help you somehow?
[10:41] <jgbarah> Instead of editing paths or whatever, why don't you just create a new virtual environment from scratch?
[10:43] <jgbarah> tmallory: Do you prefer that we talk at some other time?
01[10:44] <tmallory> I tried that as well, I have made 5 new virtual enironments.
01[10:44] <tmallory> I made both venv and virtualenv
[10:44] <jgbarah> And which problem do you have?
[10:45] <jgbarah> I mean, what's happening that prevents you from running perceval?
01[10:46] <tmallory> 'perceval' is not recognized as an internal or external command operable program or bath file
[10:47] <jgbarah> You're working in Windows?
01[10:47] <tmallory> yes, sir
[10:47] <jgbarah> Hmmm. I lack experience with Windows :-(
[10:47] <jgbarah> But let's see how we can sort this out
[10:48] <jgbarah> Which version of Windows are you running?
01[10:48] <tmallory> windows 10
[10:48] <jgbarah> (no need to call me sir, by the way ;-) )
[10:49] <jgbarah> ok, give me a moment....
01[10:49] <tmallory> ok no problem
[10:49] <jgbarah> Meanwhile, any chance of you using some Linux-based system?
01[10:50] <tmallory> Not at the moment, but I can look into switching over
[10:52] <jgbarah> That would probably be a good idea, anyway ;-) But don't do that only for this project...
[10:52] <jgbarah> If you want, you can try to run a Linux virtual machine on top of Windows, for a start
01[10:52] <tmallory> what are your thoughts on ubuntu, I was thinking of changing my os.
[10:52] <jgbarah> But anyway, let's sort it out how to run perceval on Windows...
[10:53] <jgbarah> If you decide to try Linux, Ubuntu can be a good first choice
[10:53] <jgbarah> I use Debian myself, which is quite similar
[10:53] <jgbarah> OK, coming back to Windows. How did you install it?
[10:54] <jgbarah> I mean, Python
[10:54] <jgbarah> I see there are detailed docs at https://docs.python.org/3/using/windows.html
01[10:54] <tmallory> how I have python 3, installed from the python site.
[10:56] <jgbarah> ok
01[10:57] <tmallory> I have sent you an email with more details, have you had a chance to view it?
[10:57] <jgbarah> Then, you open a shell in windows (I guess it is called a command line window or something), and run python, right? [10:57] <jgbarah> Ooops. No, I guess I missed that message. Let me check
01[10:58] <tmallory> Yes
[11:00] <jgbarah> tmallory: I see the problem
[11:00] <jgbarah> Sidenote: it is better if you copy & paste the text, it is easier to work with (instead of the screenshot)
[11:01] <jgbarah> Anyway, it is strange. Did it work for you at some point?
01[11:01] <tmallory> yes it it did
01[11:01] <tmallory> before I installed elasticsearch
[11:02] <jgbarah> Hmmm. How strange...
01[11:02] <tmallory> however elasticsearch is running fine
[11:02] <jgbarah> Can you look for perceval, the command?
[11:02] <jgbarah> It should be in your virtualenvironment, bin directory
01[11:02] <tmallory> I'll look
[11:02] <jgbarah> Is it there?
[11:03] <jgbarah> If you can, copy here the result of running "dir" in that directory
01[11:04] <tmallory> ok 1 moment
01[11:08] <tmallory> C:\Users\Tevin\Desktop\project> dir
01[11:08] <tmallory> Volume in drive C is OS 01[11:08] <tmallory> Volume Serial Number is 2606-BFCB 01[11:08] <tmallory> Directory of C:\Users\Tevin\Desktop\project 01[11:08] <tmallory> 10/12/2016 04:37 PM <DIR> . 01[11:08] <tmallory> 10/12/2016 04:37 PM <DIR> .. 01[11:08] <tmallory> 10/12/2016 04:38 PM <DIR> mtask
01[11:08] <tmallory> 0 File(s) 0 bytes
01[11:08] <tmallory> 3 Dir(s) 415,432,097,792 bytes free
[11:08] <jgbarah> C:\Users\Tevin\Desktop\project is your virtual environment? [11:09] <jgbarah> It doesn't seem it is...
01[11:09] <tmallory> let me try that agian
[11:09] <jgbarah> I mean, the directory that was created when runing "venv" [11:09] <jgbarah> you can just run "dir xxxx"
[11:09] <jgbarah> Where xxx is your virtualenvironment
01[11:12] <tmallory> Directory of C:\Users\Tevin\Desktop\project\mtask
01[11:12] <tmallory> 10/12/2016 07:11 PM <DIR> . 01[11:12] <tmallory> 10/12/2016 07:11 PM <DIR> .. 01[11:12] <tmallory> 10/12/2016 07:11 PM <DIR> Include 01[11:12] <tmallory> 10/12/2016 07:11 PM <DIR> Lib 01[11:12] <tmallory> 10/12/2016 04:38 PM 60 pip-selfcheck.json 01[11:12] <tmallory> 10/12/2016 07:11 PM <DIR> Scripts 01[11:12] <tmallory> 10/12/2016 07:11 PM <DIR> tcl
01[11:12] <tmallory> 1 File(s) 60 bytes
01[11:12] <tmallory> 6 Dir(s) 416,702,984,192 bytes free
[11:16] <jgbarah> tmallory: something weird is happening. If that's your virtual environment,
[11:16] <jgbarah> you should have a bin directory, which I don't see there
[11:16] <jgbarah> Besides, no "tcl" directory should be there...
[11:16] <jgbarah> Do you have some 10 min to start from scratch right now?
01[11:16] <tmallory> yes
[11:18] <jgbarah> tmallory: ok, let's go then
[11:18] <jgbarah> Let s use venv
01[11:18] <tmallory> okay
[11:18] <jgbarah> Let's assume you want your virtiual environment in C:\Users\Tevin\Desktop\project\perceval [11:18] <jgbarah> (just to try)
01[11:19] <tmallory> ok
[11:19] <jgbarah> Please, run "venv C:\Users\Tevin\Desktop\project\perceval"
[11:19] <jgbarah> Paste here the output...
[11:19] <jgbarah> And the output of "dir C:\Users\Tevin\Desktop\project\perceval"
[11:23] <jgbarah> tmallory: ???
01[11:23] <tmallory> i am installing perceval into my venv
[11:26] <jgbarah> tmallory: Before that,could you past the output after running venv, the output of the dir command above, [11:26] <jgbarah> and how you activate the venv, please?
01[11:26] <tmallory> ok
[11:27] <jgbarah> tmallory: Just to try to spot if everything is going as it should go...
01[11:29] <tmallory> this is before perceval installation
01[11:29] <tmallory> Microsoft Windows [Version 10.0.14393]
01[11:29] <tmallory> (c) 2016 Microsoft Corporation. All rights reserved.
01[11:29] <tmallory> C:\Users\Tevin>cd Documents
01[11:29] <tmallory> C:\Users\Tevin\Documents>md project2
01[11:29] <tmallory> C:\Users\Tevin\Documents>cd ..\..
01[11:29] <tmallory> C:\Users> venv \Users\Tevin\Desktop\project\perceval
01[11:29] <tmallory> 'venv' is not recognized as an internal or external command,
01[11:29] <tmallory> operable program or batch file.
01[11:29] <tmallory> C:\Users>cd Tevin
01[11:29] <tmallory> C:\Users\Tevin>cd projects2
01[11:29] <tmallory> The system cannot find the path specified.
01[11:29] <tmallory> C:\Users\Tevin>cd Documents
01[11:29] <tmallory> C:\Users\Tevin\Documents>cd project2
01[11:29] <tmallory> C:\Users\Tevin\Documents\project2>md perceval
01[11:29] <tmallory> C:\Users\Tevin\Documents\project2>venv perceval
01[11:29] <tmallory> 'venv' is not recognized as an internal or external command,
01[11:29] <tmallory> operable program or batch file.
01[11:29] <tmallory> C:\Users\Tevin\Documents\project2>pip install venv
01[11:29] <tmallory> Collecting venv
01[11:29] <tmallory> Could not find a version that satisfies the requirement venv (from versions: )
01[11:29] <tmallory> No matching distribution found for venv
01[11:29] <tmallory> C:\Users\Tevin\Documents\project2>venv perceval
01[11:29] <tmallory> 'venv' is not recognized as an internal or external command,
01[11:29] <tmallory> operable program or batch file.
01[11:29] <tmallory> C:\Users\Tevin\Documents\project2>virtualenv perceval
01[11:29] <tmallory> Using base prefix 'c:\\users\\tevin\\appdata\\local\\programs\\python\\python35-32' 01[11:29] <tmallory> New python executable in C:\Users\Tevin\Documents\project2\perceval\Scripts\python.exe 01[11:29] <tmallory> Installing setuptools, pip, wheel...done.
01[11:29] <tmallory> C:\Users\Tevin\Documents\project2>cd perceval
01[11:29] <tmallory> C:\Users\Tevin\Documents\project2\perceval>dir
01[11:29] <tmallory> Volume in drive C is OS 01[11:29] <tmallory> Volume Serial Number is 2606-BFCB 01[11:29] <tmallory> Directory of C:\Users\Tevin\Documents\project2\perceval 01[11:29] <tmallory> 10/14/2016 11:26 AM <DIR> . 01[11:29] <tmallory> 10/14/2016 11:26 AM <DIR> .. 01[11:29] <tmallory> 10/07/2016 12:24 AM <DIR> Include 01[11:29] <tmallory> 10/14/2016 11:26 AM <DIR> Lib 01[11:29] <tmallory> 10/14/2016 11:26 AM 60 pip-selfcheck.json 01[11:29] <tmallory> 10/14/2016 11:26 AM <DIR> Scripts 01[11:29] <tmallory> 10/14/2016 11:26 AM <DIR> tcl 01[11:29] <tmallory> 1 File(s) 60 bytes 01[11:29] <tmallory> 6 Dir(s) 416,668,360,704 bytes free 01[11:29] <tmallory> C:\Users\Tevin\Documents\project2\perceval>dir perceval 01[11:29] <tmallory> Volume in drive C is OS 01[11:29] <tmallory> Volume Serial Number is 2606-BFCB 01[11:29] <tmallory> Directory of C:\Users\Tevin\Documents\project2\perceval 01[11:29] <tmallory> File Not Found 01[11:29] <tmallory> C:\Users\Tevin\Documents\project2\perceval>scripts\activate 01[11:29] <tmallory> (perceval) C:\Users\Tevin\Documents\project2\perceval>dir 01[11:29] <tmallory> Volume in drive C is OS 01[11:29] <tmallory> Volume Serial Number is 2606-BFCB 01[11:29] <tmallory> Directory of C:\Users\Tevin\Documents\project2\perceval 01[11:29] <tmallory> 10/14/2016 11:26 AM <DIR> . 01[11:29] <tmallory> 10/14/2016 11:26 AM <DIR> .. 01[11:29] <tmallory> 10/07/2016 12:24 AM <DIR> Include 01[11:29] <tmallory> 10/14/2016 11:26 AM <DIR> Lib 01[11:29] <tmallory> 10/14/2016 11:26 AM 60 pip-selfcheck.json 01[11:29] <tmallory> 10/14/2016 11:26 AM <DIR> Scripts 01[11:29] <tmallory> 10/14/2016 11:26 AM <DIR> tcl 01[11:29] <tmallory> 1 File(s) 60 bytes 01[11:29] <tmallory> 6 Dir(s) 416,668,676,096 bytes free 01[11:29] <tmallory> (perceval) C:\Users\Tevin\Documents\project2\perceval>dir perceval 01[11:29] <tmallory> Volume in drive C is OS 01[11:29] <tmallory> Volume Serial Number is 2606-BFCB 01[11:29] <tmallory> Directory of C:\Users\Tevin\Documents\project2\perceval
01[11:29] <tmallory> File Not Found
01[11:29] <tmallory> (perceval) C:\Users\Tevin\Documents\project2\perceval> 02[11:29] * Disconnected
Session Close: Fri Oct 14 11:29:23 2016
Session Start: Fri Oct 14 11:29:23 2016
Session Ident: #metrics-grimoire
02[11:29] * Attempting to rejoin channel #metrics-grimoire
03[11:29] * Rejoined channel #metrics-grimoire
[11:30] <jgbarah> tmallory: I only get up to "C:\Users\Tevin\Documents>cd ..\.."
01[11:31] <tmallory> strange
[11:31] <jgbarah> In any case, I have to leave. I'm going to send you an email lmessage with some homework (basically, r,unning this and sending me the output) [11:31] <jgbarah> let's folow up from there...
01[11:32] <tmallory> ok thank you very much
02[11:32] * DawnFoster1 ([email protected]) Quit (Quit: Leaving.)
01[11:33] <tmallory> i am going to keep trying,I'll also try using a different computer.
01[11:34] <tmallory> I'll Also email you the Log of this meeting
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
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.
Quoted 1 line
Quoted 1 line
Quoted 1 line
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: [email protected]
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.
Signature · 1 line
http://twitter.com/jgbarah http://gsyc.es/~jgb
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Thanks, Tevin.
My experience with Windows is very limited, but it seems what happens is that the system founds the perceval script, but is not able of running it because it does not identify the shebang line (the first line in the script). I'm not completely sure about this, but it seems that's the problem.
Yoou can check that by cd to the Scripts directory where perceval lives, and executing:
python perceval --help
If that works, it is very likely that the problem is that one.
Please, try, and if that's the case, we can try to find some fix...
Jesus.
Quoted 217 lines · On Fri, 2016-10-14 at 14:15 -0400, [email protected] wrote:
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\Wb em;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\Pytho n35- 32\Scripts\;C:\Users\Tevin\AppData\Local\Programs\Python\Python35- 32\;C:\Users\Tevin\AppData\Local\Microsoft\WindowsApps;C:\Windows\Sys tem32;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\O racle\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\Wb em;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\Pytho n35- 32\Scripts\;C:\Users\Tevin\AppData\Local\Programs\Python\Python35- 32\;C:\Users\Tevin\AppData\Local\Microsoft\WindowsApps;C:\Windows\Sys tem32;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.Quoted 1 line
Quoted 1 line
Quoted 1 line
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: [email protected]
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
[email protected]
https://lists.xen.org/xen-devel
Signature · 8 lines
Bitergia: http://bitergia.com /me at Twitter: https://twitter.com/jgbarah _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel