Questions tagged [path]

The general form of a file or directory name that specifies a unique location in a file system. In many Linux and Unix-like OS the PATH (all upper case) variable specifies the directories where executable programs are searched for.

Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

can implement GoogleCredential.FromFile(file.json) when debugging but not after publishing

I'm trying to get data from Google Analytics through Data API v1Beta and it works properly until I publish the project(web application).Everything works fine except for a line that GoogleCredential....
Mohammad's user avatar
1 vote
1 answer
21 views

Android - do a Path comparison

In the Duolingo app, there's a feature where you can learn to draw letters and validate them afterwards, as in the picture below. I was curious as to what Android feature can be behind such ...
Youb's user avatar
  • 134
0 votes
1 answer
21 views

How to show the list of all file names in the SD card directory of Android device?

In my Android native Java project, I have a class, where I wanted to show the log for all the SD card directories and file names inside those folders. My Android OS version: Android 14 (API level 34) ...
S. M. Asif's user avatar
  • 3,507
0 votes
1 answer
32 views

How to draw every possible paths from a bi-directional state machine diagram using NetworkX Library in Python?

I have the state machine model of a system which has some nodes(states) and some edges(transitions). Some of the transitions are bi-directional. For example, one transition from 'State_B' to 'State_C' ...
jenil pandey's user avatar
0 votes
0 answers
7 views

mlflow sklearn log_model permission denied because obviously linux does not have a D drive

I am following a tutorial from a udemy course on mlflow. There is this code: import os import warnings import sys import pandas as pd import numpy as np from sklearn.metrics import mean_squared_error,...
KansaiRobot's user avatar
  • 7,934
0 votes
0 answers
8 views

Android: Getting free space of an empty MediaStore storage/volume?

I am trying to determine a free space of a MediaStore storage (an SD card - MediaStore.VOLUME_EXTERNAL_PRIMARY in my case). The following code works OK: Uri videoContentUri = MediaStore.Video.Media....
Pavel Hofman's user avatar
-2 votes
0 answers
17 views

Finding all images that don't meet a specific resolution (Apple MacOS Terminal)

I would like to know how I'm able to use my MacOS Terminal to locate all files in a directory that to not have a resolution of a perfect square number. For example, say I have a folder in which there ...
Spruce Studios's user avatar
0 votes
2 answers
34 views

VS Code Error and Related System Path Question

I recently got the following error msg in VSCode on my windows machine: "The environment variable 'Path' seems to have some paths containing the '"' character. The existence of such a ...
JBH_84's user avatar
  • 3
1 vote
0 answers
21 views

Program 'flutter.bat' failed to run: Access is deniedAt line:1 char:1 + flutter doctor

I have been trying to install Flutter in my windows Pc. In the enviroment variables I added: C:/src/bin, C:src/bin/flutter_console.bat to allow special access and yet I keep recieving this error. ...
Bhagyesha Khairnar's user avatar
1 vote
0 answers
23 views

Kotlin gradle can't find a csv file in my resources folder

I am new to Kotlin and I build a project in IntelliJ IDEA via gradle, I have a test which requires me to open a csv file, which I have put in my resources folder. But I cannot write the correct path ...
Kid A's user avatar
  • 21
1 vote
1 answer
32 views

Cannot run winget although it is in the path

I cannot run winget although it is in the path : PS C:\> $env:path -split ';' | sls WindowsApps %USERPROFILE%\AppData\Local\Microsoft\WindowsApps PS C:\> and winget is present in the %...
SebMa's user avatar
  • 4,165
0 votes
0 answers
12 views

Trouble Debugging xv6 Kernel with QEMU and Eclipse on Ubuntu: GDB Connection Issues

I'v a macbook pro 2018, 6-core Intel Core i7, ubuntu 20.04. I am attempting to debug the xv6 OS kernel using QEMU and Eclipse on Ubuntu, but I'm encountering issues with setting up the GDB connection. ...
NateD's user avatar
  • 17
0 votes
0 answers
29 views

install apk from unity Luncher

I am making a lucnher for my Android game, and I have created a script to download the game from the Internet, but after downloading I want to start installing the game on the phone directly without ...
H7mza's user avatar
  • 1
0 votes
1 answer
59 views

Do I need to add every version of Python to PATH?

I've been getting this error when using pip to install: "WARNING: The script foo is installed in '/Users/bar/Library/Python/3.9/bin' which is not on PATH." Do I need to remember to add to ...
JobHunter69's user avatar
  • 1,773
-1 votes
0 answers
19 views

How do I delete an "undeletable file"? [closed]

Soooooo I downloaded a picture off the internet (discord) and now that I want to delete it I cant. I cant move it into an another folder nor rename it. I tried do use cmd, 3rd party deleting software, ...
Igre Tron Gaming's user avatar
0 votes
0 answers
15 views

How to get the path for a new USB drive [closed]

I installed a 2TB USB drive on Ubuntu 20.04, and copied some files onto it. I would like to read those files in a Python program, but I can't get the path to the new drive. The drive is /dev/sda1, ...
RTC222's user avatar
  • 2,117
0 votes
2 answers
44 views

Python : [Errno 22] Invalid argument [closed]

I wrote this code. Traceback (most recent call last): File "C:\Users\Abdellah HASNY\OneDrive\Documents\exercices python\module_date_2.py", line 22, in <module> shutil.copy2(...
Hasny's user avatar
  • 11
0 votes
1 answer
45 views

Get Azure Devops pipeline predefined variables in posix linux path

I'm trying to pass the $(Build.ArtifactStagingDirectory) variable to a dockerfile using docker task like this: - task: Docker@2 displayName: "Create docker image" inputs: ...
Michael Trullas Garcia's user avatar
0 votes
0 answers
12 views

I have changed the path trajectory in VS code application and now whatever I do in terminal it shows- zsh: command not found. what to do in this

terminal pip install pandas Run -> zsh : command not found : pip it happens with every other thing I run in terminal. so what to do in this situation? I tried to change path trajectory to - $PATH:/...
swapnil Mane's user avatar
0 votes
2 answers
27 views

pandas not finding csv file

reading a csv file won't work and gives me the error "FileNotFoundError: [Errno 2] No such file or directory". The csv file exists and I put it in the same folder as the .py file import ...
flux's user avatar
  • 1
0 votes
0 answers
36 views

Change paths in all SQL databases after moving server and not using same path anymore

A lot of sql databases (one instance) connected to an app(accounting, many dossiers.). Each dossier we open in the app, and work in, we can for example open a booked invoice by clicking on the ...
haramo's user avatar
  • 1
0 votes
0 answers
25 views

Powershell scripting itself or with another instance without closing it

PowerISE(script) that runs a new instance or in itself and execute code inline without exiting. I know this is not possible cause "security reasons" (this is argumented by Microsoft) and the ...
CorralesID's user avatar
0 votes
1 answer
31 views

How can I enable psql in the Terminal in Mac OSX?

I am a medical researcher seeking to use the MIMIC database. To set this up on my computer I am following these instructions. The process describes cloning a repo and then setting up a PostgreSQL ...
for_the_love_of_cod's user avatar
0 votes
0 answers
23 views

I'm getting an Error running rvm make while installing Ruby

I am trying to install ruby on my Mac and every time I follow the instructions online to install ruby; I'm getting deeper down in the rabbit hole.I think I messed up my .zshrc and path variables. I've ...
Disco's user avatar
  • 1
0 votes
1 answer
28 views

Ant command not recognized as an internal or external command on Windows

I'm just trying to run ant from a Windows terminal. I put my /bin directory under C:\Program Files\apache-ant\apache-ant-1.10.14. I added that as my ANT_HOME system variable and added %ANT_HOME%\bin ...
klex52s's user avatar
  • 437
0 votes
0 answers
18 views

NGINX server: save custom error pages in own folder

I'm setting up a new nginx server and in most tutorials the people just drop their custom error pages into the project folder. I wanted to collect them in an own folder, so it is easier to manage if ...
Marcel's user avatar
  • 13
-1 votes
1 answer
18 views

Powershell script that can be run on NinjaOne that will identify whether added machines have particular filepath/file present

I'm in need to create a PowerShell script that can be run via NinjaOne automation on all added machines that will look for the presence of two file paths and then output a list of machines that have ...
pboden-pcs's user avatar
0 votes
0 answers
23 views

Python venv gets created in Python311 Programm Folder instead of cwd

So, I have both Python3.12 and Python3.11.6 installed on my computer. I've had problems with my Path after I reinstalled 3.11.6, therefore decided to add C:\PATHShortcuts to my PATH, with shortcuts (...
Frederic's user avatar
-1 votes
0 answers
32 views

path not being found when trying to connect core data entities via relationships

I want to configure my code so that when a user clicks on a cell in class Viewcontroller and then is segue to Detail view controller it can save items to tableview in a way that it corresponds to its ...
Bike Smith's user avatar
-4 votes
0 answers
49 views

Trouble with Appending Details To File In C++ Using File Path [closed]

I'm creating a hostel management system in C++ where one of the functionalities is the ability of a student to book a room which collects student details (such as selected room, name, id, contact, etc....
Herbert's user avatar
-1 votes
0 answers
68 views

Can't get cmd to recognize 'java' command even after editing Path files

I am running a freshly installed Windows 10. I've been having trouble with installing java properly. I downloaded the JDK-17.9.0.9+9 version zip, extracted it into "c:\Program Files\java" ...
ArMa314's user avatar
0 votes
0 answers
91 views

Visual Studio Code not Opening in Desired Directory with `code .` Command

I'm experiencing an issue with Visual Studio Code where, upon running the code . command in my terminal, the editor opens, but not in the directory I intend. Instead, it opens the Microsoft VS Code\...
Aravind R's user avatar
0 votes
0 answers
37 views

Python can't find existing file in same folder

.py and .mp3 file are in the same folder Full code: import whisper file_path = r"E:\test\oid.mp3" print(file_path) model = whisper.load_model("base") result = model.transcribe(...
aXsd's user avatar
  • 11
0 votes
0 answers
15 views

Pip3 installs in .local directory despite correct python version [duplicate]

Recently my pip3 decided to install all my packages in the wrong directory, even though it should install into the right python directory. It should install packages in '/usr/bin/python3/' but instead ...
Julius's user avatar
  • 37
0 votes
0 answers
25 views

Where are the images/videos in the "recently deleted" folder of the gallery app actually stored in internal storage?

Like every other image in gallery is stored in a path like an image in camera folder is "storage/emulated/0/DCIM/Camera/img.jpg" So where does the images/videos in my "recently deleted&...
Vinay K's user avatar
  • 33
0 votes
2 answers
218 views

"Join-Path : A positional parameter cannot be found that accepts argument 'xxx'"

I have a line in a script that works on my dev environments but not in my Appveyor CI environment. The script: $rootpath = Join-Path $PSScriptRoot '..' | Resolve-Path $specs = Join-Path "$...
Grant Birchmeier's user avatar
0 votes
0 answers
43 views

'node: command not found' error only when running npm scripts

When running NPM scripts (such as npm run start), I get an error saying node: command not found. This does not happen when I run exactly the same command specified in package.json manually in the ...
Bob's user avatar
  • 1
0 votes
1 answer
25 views

With Python, how to use smbclient to check remote folder/file existence

What I try to do is I want to check my_new_folder exists or not with smbclient first before I create it. import smbclient username = 'username' # Domain user name password = "password&...
Eliu's user avatar
  • 13
-2 votes
0 answers
29 views

path_class problem can't access all files

I have a problem with this path_class that doesn't access all files as it should. def create_data(path,classes): path_image,labels = [],[] for cls in classes: path_class = os.path.join(path, ...
Zinn's user avatar
  • 1
0 votes
0 answers
15 views

How to redirect from '/collections/all' to '/collections/shop-all' with Liquid or JS from Shopify

I had a store on Shopify where I would like to know how can I redirect from '/collections/all' to '/collections/shop-all' with Liquid from Shopify. (But I already have read that you can't redirect ...
Tyler Tisdale's user avatar
2 votes
1 answer
30 views

Animate path between 2 points which always change in: SVG React native, animated3

Got 2 pixel points on a svg map, I can easily dray a line or path between those 2 points. I want to animated the draw of the path over 2 seconds. Here's my code const [pointAPixels, setPointAPixels] = ...
yannou974's user avatar
1 vote
0 answers
30 views

Why Deleting Row using sqflite dont work in flutter?

I have problem when deleting row in app it deleting without errors but when fetching for data it still there like it didn't ever deleted I am using sqflite package here is function to get database: ...
Talat Saleh's user avatar
-1 votes
1 answer
27 views

Python change directory while keeping symlinks in the path

So i have a this path: /nfs/dust/atlas/user/jnitschk/CAF/StatisticTool/Output/frac_100ex_3_smooth_truth that i execute a script from and thus get that when i do os.getcwd(). Now i need to change to ...
J.N.'s user avatar
  • 183
2 votes
1 answer
69 views

How can I change middle item of path in PowerShell?

I would like to invoke ImageMagick to compare images by SSIM. The images are in following directory structure: + root | +- FooBar | | | +- 2023-10 | | \- *.png | \- 2023-11 | \- ...
user-id-14900042's user avatar
0 votes
1 answer
51 views

Why did this permanently mess up my terminal from being able to run commands?

Hi I broke my terminal environment or something because I have no idea how any of this stuff works and I was trying to install tartube by following the installation instructions for it on Github. So ...
WindowBreaker's user avatar
0 votes
1 answer
41 views

Vs code showing php not found

PHP executable not found. Install PHP and add it to your PATH or set the php.debug.executablePath settings source php debug When I try to run any code it doesn't run - it shows this error, but I had ...
Sowad223's user avatar
0 votes
1 answer
58 views

Stuck at selecting the path for webdriver

I am trying to use the selenium library for web scraping but I have encountered two problems. Firstly, I am using Chromer version 119 and I didn't find the webdriver for this. I then randomly ...
Muhammad Azeem's user avatar
0 votes
1 answer
11 views

How to count the number of devices in the end path structure of Apache IoTDB?

How can I count the number of devices under a certain path of Apache IoTDB? For example path like root.test.dz01.sy01.zb01.jd01, root.test.dz01.sy01.zb01.jd02, root.test.dz01.sy01.zb01.jd03, etc. How ...
Li Yu Heng's user avatar
0 votes
0 answers
11 views

Error realatedd to path for ctapipe library python

I have installed the ctapipe library and need to use the TableLoader function but gives me this error: The 'input_url' trait of a TableLoader instance expected a pathlib.Path or non-empty str for an ...
Iñigo Martínez's user avatar
0 votes
0 answers
12 views

Error showing for update include path and cannot open source file studio.h, stdlib.h , iostream i.e. all header file

Error showing for update include path and cannot open source file studio.h, stdlib.h , iostream i.e. all header file[enter image description here](https://i.stack.imgur.com/9LYia.jpg[enter image ...
hemanta bhoi's user avatar

1
2 3 4 5
390