22,792 questions
0
votes
2
answers
254
views
Graphviz executables not on systems PATH
I have installed graphviz by using pip3 install graphviz (VScode on MacOS). When i try to run my .py file i get the error message:
"graphviz.backend.execute.ExecutableNotFound: failed to execute ...
1
vote
1
answer
9k
views
How do you import json files to Blender?
I am Following Chris P's 'Visualize Real-world JSON Data in Blender (3D Chart Animation Nodes Tutorial)' on YouTube but I seem to have got stuck at the first hurdle of importing the data. I have ...
0
votes
0
answers
20
views
Conda add custom path to PATH variable
I am trying to setup a custom environment in which I have a bunch of related tools running in conda. This is mostly because part of the tooling I want to have running is actually only reliably ...
0
votes
1
answer
11k
views
If directory exists in a VB.NET code
I have the following code to create a directory, the task accepts a recordcount and every time the recordcount reaches the required number, say 1000 records, a new directory is created. If the task is ...
1
vote
1
answer
112
views
How can I specify the path to my Python installation through R?
I am trying to install an R package that draws on Python in the background but having issues with R finding the installation of Python. I am working on a Windows machine and have Python 3.14 installed....
10
votes
2
answers
6k
views
How to append to PathBuf
Is there an elegant way to append a suffix such as .bak to a Path and get a new PathBuf? Something like:
let p = Path::new("foo.c");
let p_bak = /* ? */;
assert_eq!(p_bak, Path::new("...
2
votes
1
answer
9k
views
NameError: name 'pytesseract' is not defined
Pytesseract is not recognized. I have tried adding Tesseract-OCR to my Path variables, incorporating the pytesseract.pytesseract.tesseract_cmd = r'C:\Program Files\Tesseract-OCR\tesseract.exe' command ...
8
votes
3
answers
29k
views
How to get the absolute path of a file (from workspace) in Jenkins pipeline script (in windows environment)
How to get the absolute path of a file (from workspace) in Jenkins pipeline script (in windows environment)
File locations (The files are checked-out from Git and Jenkinsfile2.nprd will have the ...
307
votes
31
answers
160k
views
Determine path of the executing script
I have a script called foo.R that includes another script other.R, which is in the same directory:
#!/usr/bin/env Rscript
message("Hello")
source("other.R")
But I want R to find that other.R no ...
5
votes
2
answers
9k
views
Python - How to write a Windows path to a json file?
I am working together with a colleague and he has Ubuntu while I have Windows. We have a dataset of JSON files which have in them a "path" written. His paths look like this:
'C:/Users/krock/...
3
votes
2
answers
28k
views
Setting up python on windows 10 pro
Have set up Python 3.5 and Python 2.7.11 yet both have not been recognized by the command prompt. Also have download pip.py, and the command prompt has not recognized it. Have set the PATH to
C:\...
4
votes
2
answers
9k
views
Is it possible to display csv file as a table in Markdown?
Is it possible to display a table in Markdown by referencing the path to a csv?
Or any other tabular file formats?
2
votes
1
answer
9k
views
How to fix Fortify Path Manipulation ( Input Validation and Representation , Data Flow ) vulnerability
I am getting fortify path manipulation vulnerability for creating a file with new keyword
I have tried to sanitize the path before passing it to File object, but the problem persists.
Tried this ...
0
votes
1
answer
83
views
Why am I getting BAD_NET_NAME error from WNetUseConnection with IP Address?
Context
I have a function in my app's code that connects (via WNetUseConnection) to a windows fileshare on specified devices on the network the machine that is running the app is connected to. This is ...
21
votes
4
answers
31k
views
macOS: What is the max path length?
What is the max path length on macOS?
Trial and error is telling me that the value is higher than 250 on Mac OS X Lion. Is there an Apple page that confirms the length?
1
vote
1
answer
69
views
asp.net tilde ~ paths not resolving on pages with a master page
I have a page Product.aspx that has a master page Main.master, both pages are in the root of the project (they don't belong to any folder). The problem is that the tilde path only works for the Main....
2
votes
8
answers
2k
views
Django tutorial problem: The current path, polls/, didn’t match any of these
I'm just getting started with Django, and I'm a touch rusty with web development, so this may be an easy one. I'm stepping through the Django Polls Tutorial from the official documentation and I ...
0
votes
1
answer
98
views
How to handle path on Windows WSL2 in rust? [closed]
Background
I tried to develop a Rust lib to assist with swapping filenames for any two files, but I had problems when I tried to dealing with paths on WSL.
Examples
Normal Situation
File1
File2
Before
...
267
votes
6
answers
347k
views
Get full path without filename from path that includes filename
Is there anything built into System.IO.Path that gives me just the filepath?
For example, if I have a string
@"c:\webserver\public\myCompany\configs\promo.xml",
is there any BCL method that will ...
3
votes
1
answer
19k
views
Location of ~./mavenrc
I was setting up maven on OS X machine when I encountered the error :
JAVA_HOME should point to a JDK not a JRE.
On changing the JAVA_HOME variable to /Library/Java/JavaVirtualMachines/jdk1.7.0_40....
41
votes
1
answer
77k
views
How can I resolve a relative path to absolute path in golang?
Is there an API method like Node's path.resolve? Or something else that can achieve the same result?
For example, this NodeJS code:
path.resolve("~/sample.sh")
Should output:
/home/...
0
votes
2
answers
13k
views
Visual Studio change Path for a reference
I'm a complete newbie when it comes to C# and Visual Studio. I have a reference with a path to a dll. It is pointing to an absolute directory and it works fine on my computer. However, when I send ...
2
votes
2
answers
5k
views
How to match a url path with optional elements using regex
I'm using custom URL paths which I want to map into an object.
My mapping looks like this:
browser://{A}/{B}/{C}/{D}/
with {C} and {D} being optional. So a path might look like this:
"browser://...
2
votes
2
answers
15k
views
Unable to update PATH variable for pip on Windows 10
I know there are thousands of similar topics but my pip command has suddenly stopped to work and, despite all my researchs, I can't figure out why. It has been a while since I last used pip and ...
3
votes
2
answers
9k
views
error: Microsoft Visual C++ 14.0 or greater is required
While installing python package I get the following error even though I have latest Microsoft Visual Studio BuildTools installed.
error: Microsoft Visual C++ 14.0 or greater is required. Get it with ...