Cannot access RIDE robot framework from other users in same machine - installation

I installed Robotframework RIDE with my user credentials and trying to access that by logging in with the another user in the same machine. when i copy paste the ride.py(available in C:/Python27/Scripts) file from my user to another user i can access RIDE by double clicking the ride.py file, but when i try to access using ride.py through command line i am not able access RIDE showing a error msg as "ride.py is not recognised as an internal or external command, operable program or batch file ". Installed python for all users and again re installed everything through pip in C:/Users, previously installed in C:/Users/MyUser. While i am trying to re install everything using pip in C:\Users it is showing as "Requirement already satisfied"

This error indicates that ride.py is not in the %PATH% sys variable:
"ride.py is not recognised as an internal or external command, operable program or batch file ".
Usually RIDE lives at C:\Python27\Lib\site-packages\robotide
You may try to run it with the full path in the command:
pythonw C:\Python27\Lib\site-packages\robotide\__init__.py
You may check if there is C:\Python27\Scripts\ride.py and the %PATH% variable for the other users (better to change it a System level).
About the error "Requirement already satisfied" from pip, that may be because:
1. RIDE is correctly installed (but you missed to run it in the first error)
2. You were calling a different pip install

finally got the solution, problem is not with the other users or installation, it is ride.py file which is missing in 'C:\Python27\Scripts' folder i replaced that file and now i am able to access ride.py from command prompt for all users in the machine.

Check the directory where you have the ride(Python file).
Upon opening the command prompt , for me the default path is C:\Users\etwxxbe.
Copy paste the ride(Python file) in the default path ,here the directory is etwxxbe.
Then use the command C:\Users\etwxxbe>ride.py to open ride.

Related

What is the proper way to insert a variable into a file path in BASH?

I am working on my first script and it has been going well aside from one thing. The script is meant to be a simple script to install a software on Ubuntu devices for work. The main problem I am running into is the path the package is downloaded to is /home/(the user)/Linux_Test (custom file I have in github). Since this is suppose to run on multiple machines I am trying to make the user part of the path a variable. Currently I have
# Install the Agent.
sudo dpkg -i "/home/$USERNAME/Linux_Test/'SentinelAgent_linux_v22_1_2_7 (1).deb'"
and the error it is throwing is:
dpkg: error: cannot access archive '/home//Linux_Test/'SentinelAgent_linux_v22_1_2_7 (1).deb'': No such file or directory
I have changed the variable from "USERNAME" to just "USER" but that attempts to run it as root.

Aws CLI installation error on windows system

when i tried to install aws cli on cmd(Windows). i am getting message first later its continued.you can see below
By the way I added path in environmental variable like that
after finish intallation i get this message
but still i am getting this message .what should i do please help me .
aws' is not recognized as an internal or external command,
operable program or batch file.
see the error message during the installation, "Defauling to user installation because normal site-packages is not writable". So it has been installed inside your user directory.
to find out the user installatiion directory.
you can open a python prompt by entering the command python in the command line
import sys package import sys
check the output of sys.path
then you can add the script directoy of the python path to the PATH environment variable
Usually the installation location should be c:\users\[username]\AppData\Roaming\Python\Python38\scripts/aws.exe
your python version might be different.
You should also add c:\users\[username]\AppData\Roaming\Python\Python38\scripts to your path.
update: you can also use pip show awscli to see where the module is installed

Edit installation path

I want to install appx Package with $Add-AppxPackage, but I need to install the app on my 2nd HDD, so how to change installation path in PowerShell $Add-AppxPackage?
You couldn't change the install location during the add-appxpackage process, there is no optional parameter for changing the install location in the Add-AppxPackage. You could see the same opinion in the thread:Question on "Add-AppxPackage" powershell command
However, you could try to change the app's install location after the app is installed.The steps for the Windows 10:Setting-->Apps-->Apps&features-->select your app-->Move-->Choose your 2nd Hdd.
I just copied the files where i wanted them to be (not program files though, doesn't work) set-location "THE FILEPATH YOU TRANSFERRED TO"
And then run the Add-AppPackage command once you're in the directory

JPM not recognized as a command

I'm trying to write my fist firefox addon, but I can't seem to get jpm working. My OS is Windows 7. I have node js installed and I'm trying to follow the instructions here to install the add-on sdk. However, after I install jpm and I try running the command, I get the error jpm is not recognized as an internal or external command, operable program, or batch file." below is a screenshot of the command prompt window.
Let's say nodejs folder's path is C:/nodejs/
You can run jpm from the command line, but you must do it from nodejs installation directory.
If you wish to run it from any directory, what you need to do is edit a System Variable called Path, by appending to it the path to your nodejs installation, like this: ;C:\nodejs\. Afterwards open a new terminal (command prompt) session.
So for example: go to Control Panel -> search for "system variable" -> edit system variables -> find "Path" system (not user) variable on the list -> edit it -> append ;C:\nodejs\ to the end of its text -> open new command prompt.
I'm running a Polish version of Windows at the moment, so the guide isn't exact. I'll update it later. By system variable I mean global system environment variable as opposed to user environment variable.
I had the same problem...
when you install jpm using the npm --global option, the package is installed in c:\users\<your-user-name>\AppData\Roaming\npm\
In your example, you can either call jpm by specifying the complete path.
C:\users\B^3\AppData\Roaming\npm\jpm
Or add the C:\users\B^3\AppData\Roaming\npm to the environment variable PATH as suggested by #Sagi

Automated cygwin install fails with "mount: Access is denied."

I am trying to create a .bat script that will perform an unattended Cygwin install.
The setup-x86.exe file and package directory are available as a network share mapped to the Z: drive. The script is as follows:
Z:\cygwin\setup-x86.exe --local-install --local-package-dir Z:\cygwin\packages --quiet-mode --no-admin
When I run the script, I get the Cygwin Setup screen and "Checking prerequisites..." and then a popup entitled "mount" with the message "Access is denied."
I tried adding a '--root C:\Users\username\cygwin' to the command line but got exactly the same result. (Note that the C:\Users\username directory exists and can be written by the current user)

Resources