I am trying to run the following command dot -Tpng tree.dot -o tree.png in my terminal to generate my decision tree.. I got the following error -bash: dot: command not found in terminal.. I made sure I cd to the dictionary where this tree.dot file is located. Then I tried to install graphviz package... but it comes to this error in the end, and I have no idea what is causing this error. Someone please help me. Thank you, much appreciated! (By the way I am on Mac)
Related
I am currently trying to install Sphinx on Mac OS and while I managed to fix the issue where sphinx-quickstart could not be found, now when I want to execute it I get this error:
usage: sphinx-quickstart [OPTIONS] <PROJECT_DIR>
sphinx-quickstart: error: too few arguments
I'm really not too sure why it wants any arguments as every tutorial and installation instruction showed that this sphinx-quickstart script is just executed as-is to setup the whole thing and thus doesn't need any inputs.
Thank you in advance!
I have encountered the same problem. The solution is as indicated in the error message: you have to specify a project_dir.
If you want to start at the current path, just type:
sphinx-quickstart .
I'm following the guide here for creating a Hello World wasm application (Mac OS). I followed everything to a T, and am sure git and python are in my PATH, and 90% sure cmake is in my path. The installations were long but went fine. When I type the command emcc hello.c -s WASM=1 -o hello.html into my terminal, however, I receive the message -bash: emcc: command not found. Tried to sudo it too.
Not sure what the issue is. I'm obviously extremely green to wasm. Thanks!
The page you linked shows the command needed to add relevant environment variables and directory entries to PATH. On Mac the command would be:
source ./emsdk_env.sh
I'm learning how to use Postgres with Python (sqlalchemy). I'm stuck when installing psycopg2. I have the following error :
pg_config executable not found error
I know that's a very common error and there is already a lot of answers about this but I couldn't find anything to help me solve my issue.
I especially don't understand this answers :
add the path to Postgres to your .profile file by appending the
following:
PATH="/Applications/Postgres.app/Contents/Versions/latest/bin:$PATH"
What does it mean ? what should I do exactly ?
I also tried to enter which -a pg_configin my terminal but nothing happen.
Thanks a lot !
The problem was solved by typing
PATH="/Applications/Postgres.app/Contents/Versions/latest/bin:$PATH"
into the terminal window prior to installing psycopg2.
I am trying to follow this guide -> http://bogeskov.dk/UsbAccessPoint.html to make my Beaglebone Black act as a Access Point.
So I got to the point where I use the following commands.
sudo apt-get install linux-headers-...
git clone https://github.com/dz0ny/rt8192cu.git
cd rt8192cumakesudo make install
Problem comes when I try and run "make". I got an error that a file named "build" was missing.
So I tried to install the kernel-headers with this url that is actually the right one for my BeagleBone OS :
https://rcn-ee.net/deb/wheezy-armhf/v3.8.13-bone47/linux-headers-3.8.13-bone47_1.0wheezy_armhf.deb
Then I ran dpkg -i linux-headers-3.8.13-bone47_1.0wheezy_armhf.deb and it looked like it finished.
So when I go back into the rt8192cu folder I tried running "make" again.So then I received a different error.
Makefile:580: /usr/src/linux-headers-3.8.13-bone47/arch/armv7l/Makefile: No such file or directory
make[1]: *** No Rule to make target ' /usr/src/linux-headers-3.8.13-bone47/arch/armv7l/Makefile '. Stop
How can I get this to make successfully ?
I just want to use my Beaglebone as a Access point
Thanks for the replies.
It turns out that if you use MAKE for this driver and you are on a BeagleBone Black you need to give it the paramter
" ARCH=arm ".
You will also have to fix the Timerx.h header. It is quite a common problem it seems.
After that it should compile fine.
My first guess is that you need to install the package linux-kbuild, that provide the necessary toolset to compile kernel modules.
So I've spent a couple hours trying to google the solution to my problem, but I can't seem to find the answer...
I'm learning to make Firefox extensions and am following the directions here:
https://developer.mozilla.org/en-US/Add-ons/Overlay_Extensions/XUL_School/Setting_Up_a_Development_Environment?redirectlocale=en-US&redirectslug=XUL%2FSchool_tutorial%2FSetting_Up_a_Development_Environment
Instead of using Cygwin, I downloaded MinGW and installed "mingw-developer-toolkit", "mingw32-base", and "msys-base". I unzip the HelloWorld2 file. I run msys.bat, navigate to src in HelloWorld2, and type make. This is my error. What's happening? How do I fix this?
Creating XPI file.
make: zip: Command not found
make: *** [../bin/xulschoolhello2.xpi] Error 127
I also tried doing the same thing through cmd.exe. I followed directions from How to use GNU Make on Windows? and
http://www.mingw.org/wiki/Getting_Started
When I enter "make" from cmd, I get the following...
"Creating XPI file."
process_begin: CreateProcess(NULL, zip ../bin/xulschoolhello2.xpi install.rdf ch
rome.manifest content/browserOverlay.js content/browserOverlay.xul skin/browserO
verlay.css locale/en-US/browserOverlay.dtd locale/en-US/browserOverlay.propertie
s, ...) failed.
make (e=2): The system cannot find the file specified.
Makefile:76: recipe for target '../bin/xulschoolhello2.xpi' failed
make: *** [../bin/xulschoolhello2.xpi] Error 2
Can someone please explain to me what I'm doing wrong, and how I should fix it? I've spent many hours researching on google but could not find the answer. I really want to learn how to make firefox extensions. Any help would be greatly appreciated.
Thank you bobbogo. After you found the problem for me and how to fix it, it took only a couple minutes to fix. I simply followed the directions below.
http://blog.fourthwoods.com/2013/01/04/managing-mingw-packages-with-mingw-get/
This is one possible solution. First checked you have zip program in your path variable. Then edit makefile for your zip program and change bin directory Exp.
# The zip application to be used.
ZIP := rar a
# The target location of the build and build files.
bin_dir := ..\bin
http://koti.mbnet.fi/jhu2/mozilla/XUL_School%20Hello%20World%202%20Mozilla%20tutorial.pdf