Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Python 3 D-Rats on Windows (Was: [d-rats] D-Rats on RF has met its demise here.)
On 2/19/2023 10:31 AM, Scott Allison (KR3L) wrote:
Don,Just wanted to confirm, you installed Python from the Microsoft Store on Windows 10, and you were able to get D-Rats 0.3.10b6.dev287 to install and run? Did you use a pip install to install D-Rats 0.3.10b6.dev287? It should have used pip to install all of the dependencies. I have also just confirmed that beautifulsoup is not installed on either my Windows 7 system or my Anti-X Linux system. D-Rats 0.3.10b6.dev287 does not depend on it. When I tried that on Windows 7, the pip modules for GTK+ would not install. Looked up that multiple people on multiple version of Windows, including Windows 10 were complaining about the same problem. Only working solution posted was to use Msys2 mingw64 instead. A note about the versioning for python3 D-Rats: The 0.3.10b6 is the last commit for python2 based D-Rats. It is very unlikely that there will be any more commits to the python2 branch of D-Rats. There have been 287 commits made to D-Rats since that time to make it run on Python3, and this includes fixes for many bugs that were found in the older python 2 version. Once we can get some feedback that D-Rats 0.3.10b6.dev287 is a working version, we can set a release of 0.4.0 for the first actual Python 3 D-Rats release. But since I have seen almost no feedback about D-Rats 0.1.10b6.dev287, except that the install Microsoft Windows is too Convoluted, there does not seem to be any point in making a 0.4.0 release or even working on fixing the known bugs that in D-Rats. 73, -John wb8tyw |
John, I have found?a problem, my doing.? D-Rats is installed in a One Drive\Documents\D-Rats-0.3.9_WindowsXP\D-Rats-0.3.9 folder.? In that folder are files for python 2.7 as well as a zip file with beautifulsoup.? I did install python 3 as well as beautifulsoup4 in my computer but not in that above folder.? The D-Rats debug log warns me about beautifulsoup.? Where should everything by installed?? Same directory? Don On Sun, Feb 19, 2023 at 3:27 PM John E. Malmberg <wb8tyw@...> wrote: On 2/19/2023 10:31 AM, Scott Allison (KR3L) wrote: --
73 de N4VIP, Don |
On 2/20/2023 1:46 PM, Donald Hinsman wrote:
John,It appears that you are not running D-Rats 0.3.10b6.dev287. You appear to be running the older python2 based d-rats, which will not work with python3 very well. The way it should work is below, but I am warning you now, I have not gotten it to work. Download the current D-Rats /g/d-rats/files/D-Rats/D-RATS%20pre-release/D-Rats-0.3.10b6.dev287.tar.gz 1. Install Python from the Microsoft store. 2. Go into a Windows command window that is set to your Windows home directory. 3. create a virtual environment, you may need to give a path for the installed python3 python -m venv ~/drats_venv --system-site-packages 4. Activate the virtual environment, not sure how to do that with the Microsoft Store Python3 as they do not have a source command. You should be able to find that on the wild wild web. 5. The pip command may need a path as with the Microsoft Store Python to do the install pip install %USERPROFILE\downloads\D-Rats-0.3.10b6.dev287.tar.gz At this point on Microsoft Windows systems the install fails as it tries to build gtk3 on your system if it is not present. This will require additional packages like Visual Studio to be installed, and even if you install Visual Studio Code, the compile of GTK 3 will fail because it is not compatible with Visual Studio Code. And that is where everyone says using Msys2 is the only way to get things working. 73, -John |
to navigate to use esc to dismiss