I can’t successfully get through the “install the dependencies” step documented in the readme file:
cd pyjoulescope_examples
pip3 install -r requirements.txt
``` https://github.com/jetperch/pyjoulescope_examples/blob/master/README.md
Please look at this screenshot:
https://drive.google.com/open?id=1Dt7O9nrsxpvNvgyCVrOBf8SqTn3ackMm
You'll note the unzipped folder was "joulescope_examples/...", and not "pyjoulescope_examples" as indicated in your readme file.
I had to move the "requirements.txt" file up to the joulescope_examples folder (it was one file back), and then I got all the failures indicated in the linked screenshot above.
Help, please?
Hi @audiobrian1 and welcome to the forum. Sorry to hear that the steps in the README aren’t working for you. You should not have to move around the files. Depending upon how you extract the zip file, you may have a folder “pyjoulescope_examples-master” which contains folders “bin” and “joulescope_examples”. You can keep the “requirements.txt” file in the original location alongside the README.md.
However, it looks like something is wrong with your python pip installation. First, lets make sure you have a good version of python:
python -VV
Python 3.7.6 (tags/v3.7.6:43364a7ae0, Dec 19 2019, 00:42:30) [MSC v.1916 64 bit (AMD64)]
You should have 3.6 or higher, but I recommend 3.7 or 3.8. You can download the latest version from python.org. Also make sure that you have the 64-bit version. pyjoulescope does not work with 32-bit Python or 32-bit Windows.
Assuming that works, let’s reinstall pyjoulescope:
Thanks for the response, and the welcome!
“python -vv” reported “Python 3.8.3”, but it wasn’t the 64 bit version. I uninstalled the 32 bit version, and then installed the 64 bit version of Python, pathed it and the folder with “PIP3.exe” in it, and followed your uninstall/install instructions for Joulescope. I get the failure messages here: https://drive.google.com/open?id=10deQbtynNt5do_cBHRve1MMDCCQ3B1zL
Something is not right about your pip3 install. The error is that it cannot verify the SSL certificate of pypi. I just installed Python 3.8.3 x64, and I verified that pip &pypi are working, at least for me:
A google search turns up some recommendations. Are you behind a corporate firewall that blocks connections? I normally would not recommend disabling SSL verification, but you can do that…
Another thought… do you also use Anaconda or another, older Python distribution? If so, you user site packages could be getting in the way. To display your site packages:
python -m site --user-site
In my opinion, site packages make things worse rather than better. Either use the global environment or a venv.
No Anaconda package is on this machine. I intentionally deleted older Python installs (including the mistakened 32-bit installs that I mentioned earlier) before the latest Python 3.8.3 64 bit installation.
For some reason, I cannot access the screenshot on google drive. Assuming your IT department does not block the feature, you can just add the screenshot images directly to the forum post by dragging and dropping or clicking the upload button.
Ok. You installed python for yourself only rather than all users, but that should be fine. Can you try:
You can then open that path in File Explorer and ensure that it is empty. Assuming it’s empty, the problem is likely with IT. This StackOverflow discussion has some tips on how to deal with it, if you are ok with disabling SSL. If not, let me know, and we’ll figure something else out.
By the way, did you have any issues with installing the Joulescope UI given your IT policies?
Ok. So something is wrong with SSL certificate validation. Are you comfortable disabling SSL validation as discussed in the StackOverflow discussion? Something like: