Questions tagged [system-paths]

49 questions
13
votes
1 answer

WARNING: No blkio throttle.read_bps_device support. What is this message?

When trying to find the path for the Docker folder on the PC, I used the following code. This code uses grep to narrow and specify exactly what I wanted to find - specifically I wanted to find the Docker root directory. docker info | grep "Docker…
Gray
  • 1,164
  • 1
  • 9
  • 23
5
votes
1 answer

TOR with python stem (basic) - 'tor' not in PATH

I'm trying to get an .onion website's content to python, a little research showed that 'stem' and as i am running this tutorial script, or more specifically, when i'm trying to use stem.process.launch_tor_with_config, i get this error: 'tor' isn't…
Mr. Nun.
  • 775
  • 11
  • 29
5
votes
1 answer

How do I write CMake install for a library?

Here is my try: IF (NOT WIN32) #INSTALL_TARGETS(${LIB_INSTALL_DIR} ${tinyscheme-nix_BINARY_DIR}/libtinyscheme.so) #INSTALL(TARGETS ${tinyscheme-nix_BINARY_DIR}/libtinyscheme.so DESTINATION ${LIB_INSTALL_DIR}) ENDIF() Both variants are wrong. I…
cnd
  • 32,616
  • 62
  • 183
  • 313
4
votes
2 answers

Python 3.9.1 path variable

Good day! Installed the Python 3.9.1, checked "Add to path", the cmd did not work though. Added Environment Variable Path, both folder C:\Users\XXXXX\AppData\Local\Programs\Python\Python39 (file manager opens the path to python.exe just fine) and…
S_rp
  • 41
  • 1
  • 4
4
votes
1 answer

How to set PATH for Cygwin bash

I have script foo.sh in my Cygwin directory /usr/local/bin. I can run it using mintty, but not using bash. When I started, the situation was as follows: foo.sh in mintty - WORKING foo.sh in bash - NOT WORKING Then I added line export…
Piotr Siupa
  • 3,929
  • 2
  • 29
  • 65
4
votes
0 answers

File protocol with Windows system path variables

I want to know if there is any way to use Windows system path variables with the file protocol. Examples: file:///%WINDIR%\System32\calc.exe file:///C:\Users\%USERNAME%\Desktop The above examples will not work, so I need something…
Lucas NN
  • 758
  • 5
  • 16
4
votes
1 answer

How to add path to system PATH for MSBuild?

Even when I try to put the path to the containing folder of MSBuild.exe e.g. C:\Windows\Microsoft.NET\Framework\v4.0.30319\, calling MSBuild from a command-line doesn't work. How can I reach that?
Nam G VU
  • 33,193
  • 69
  • 233
  • 372
3
votes
1 answer

setup ironpython: Module not found

I'm using Ironpython for the first time to Import a Python Script to C#. I get the error "No module named numpy", but I don't know why. I read that I have to add my path of my modules to my python script. This is my python script: import numpy as…
csi
  • 230
  • 1
  • 7
  • 22
3
votes
1 answer

virtualenv activation on windows

I have installed virtualenv 1.10 on a Windows 7 machine with Python 2.7 on it. I have created a virtual env called TESTENV. It is located in C:\ If I run C:\TESTENV\Scripts\activate and then type python followed by: import sys print sys.prefix it…
Ionut Hulub
  • 6,180
  • 5
  • 26
  • 55
2
votes
3 answers

How to add multiple PATHs to the System Variable in Environment Variables in Windows 10?

I mistakenly deleted the entire PATH variable under System Variables. So I tried to add a variable named PATH explicitly, to the System Variable. But now whenever I try to add multiple PATHs, each PATH overwrites the previous one. Screenshot 1 As…
2
votes
2 answers

Visual Studio: copy installation folder and setup it up to be auto-detected by Qt Creator

I wiped out an old Windows 10 and replaced it with a new Windows 10 by ISO image. Before wiping out, I copied the folder of Microsoft Visual Studio 2017 Community Edition on old Windows to an external hard disk: xcopy /E "C:\Program Files…
Megidd
  • 7,089
  • 6
  • 65
  • 142
2
votes
2 answers

How do I make pip available from command line mac?

I'm trying to install pip for python and cannot seem to figure out how to make the scripts subdirectory of my python installation available on the system path. (I've already installed pip with easy_install) According to the pip site this isn't done…
iliketolearn
  • 670
  • 3
  • 8
  • 25
2
votes
5 answers

Get system folder paths in Go?

Is it possible to get the path of system folders in Go, in a cross-platform way? eg. temp folders, "document" folders, etc. I found ioutil.TempFolder/File but they do something different. Any idea?
laurent
  • 88,262
  • 77
  • 290
  • 428
1
vote
1 answer

Difference between ${pom.basedir} vs ${project.basedir} in pom.xml

Getting below warning while build. I am using in pom.xml ${project.basedir}/lib/....jar [WARNING] 'dependencies.dependency.systemPath' for ...:jar should not point at files within the project…
Rajalingam
  • 21
  • 3
1
vote
0 answers

After editing /etc/paths, printers no longer recognized by macOS after reboot

My printers are not working, I believe as a result of changes I made to my /etc/paths file. In working with mongoDB, I had to edit the /etc/paths file to include a path for their tutorial: /Users/me/mongodb-macos-x86_64-enterprise-4.4.0/bin I added…
user1895891
  • 125
  • 1
  • 5
1
2 3 4