Currently using mac osx. I am curious as to why these terminals are pointing to different pythons, i.e. the iTerm -> Homebrew python, whereas Pycharm-embeeded-terminal -> Apple-provided python.
Pycharm's terminal doesn't change the Python version corresponding to Python version at Project Interpreter
seems closest to my question, but but not quite in that the os there is Windows and the solution doesn't help in my case.
I had same issue, but with Android Studio, which is also IntelliJ based IDE. You should edit some files in your IDE's settings manually
My question
Answer
Then you should restart your IDE.
Related
Community,
probably my question seems really stupid, but maybe someone can guide me out of it.
I installed everything as described here: https://adampash.com/how-to-install-octave/
and I can use Octave now in my terminal.
Is it possible to program Octave in the Xcode window to use the debugging options or something similar? Or is it just possible within the terminal?
I have used Google to find a solution. Unfortunately, I haven't found any that described my question.
Thank you
Paul
No, you can't use Xcode. Xcode is for C, C++, Objective C, Swift, and other languages, but not Octave/Matlab. There's a reason for this: Xcode mostly supports compiled languages. Octave is an interpreted language with a heavy emphasis on interactive use. So a different sort of IDE is appropriate for it.
Octave has its own built-in GUI that is a sort of IDE. Use that instead of Xcode.
If you have Octave built with Qt support (which is the default for Homebrew and Octave.app installs on Mac), you can run it with octave --gui from the command line, or by double-clicking the Octave.app icon in /Applications.
The installation instructions in that link are out of date. There is no longer a --with-x11 option for brew install octave, you no longer need X11 or XQuartz, and it's no longer in homebrew/science. Just run:
brew install octave
NOTE as of April 2019: The current Homebrew Octave is Octave 5.1.0, which has significant stability problems with its GUI. Instead, you probably want to use Octave 4.4.1 for now. To do that, download Octave.app 4.4.1.
I'm trying to configure CLion with Cygwin, but I'm having trouble with CMake. The program says that the bundled version doesn't work in that environment and that the CMake from Cygwin is outdated (needs a newer version). However, I tried installing an independant CMake but then the program says it isn't compatible with Cygwin. How do I fix this?
screenshot
I'm teaching a C++ programming class this semester. All of my students were able to successfully install/configure CLion without too much trouble. Most of them are on Windows boxes, Win7 and Win10.
In my instructions, I referred them to this video, which was the best I could find: https://www.youtube.com/watch?v=i2h_976SpV0
Some of the students were missing the debugger the first time they tried this. In the cygwin installer, the number of check boxes is enormous and many of the names are remarkably similar. When we went back through and re-ran the installer, in each case we were able to find a place where they had checked the wrong box.
So my recommendation would be re-run your cygwin installation after watching the video once through. Then go back to the frame in the video where he shows all his checked install options and very carefully compare your checked boxes against the presenter's.
Good luck!
I've been trying to communicate with my DOSBox window using xdotool on OS X, but all my efforts have led to nothing. However, this project shows that it is possible to use xdotool on DOSBox with X11 under Lubuntu, so I guess the problem lies in the fact that DOSBox for OS X does not support X11. What I've tried so far is launching DOSBox (installed from brew) in a XQuartz terminal, and trying to get the window ID with xdotool, which only works for X11 application windows (like xterm and xclock) so far. I've also tried to run the code from the project I linked, which uses C++ and the X11 C library, but that also wasn't able to find the window.
Can anyone point me in the right direction for building applications (and DOSBox in special) on OS X with X11 support? So far TK and Qt (I believe they are build systems that are able to build cross platform) seem the best next directions I can find, but I'm not sure if I can use them for my purpose.
What I'm trying to accomplish in general is to send keyboard signals and get pixel values from DOSBox (the exact same thing as the project I linked), so I'm also open to suggestions for doing it in an alternative way.
I'm not interested in cliclick tool (a similar tool similar to xdotool that is native to OS X), as I believe I can't use it to send signals non-active windows and because Linux support is important for this project.
I've installed DOSBox (and DOSBox-x) from homebrew and from source, and tried XQuartz versions 2.7.8 - 2.7.10.
I've been reading about youcompleteme plugin for VIM.
The problem is, however, that I want a setup I just can move onto my other dev platforms (OpenIndiana, FreeBSD, Linux and OS X).
Wouldn't using macvim make that somewhat difficult, moving plugin from platform to platform?
Cheers
MacVim is simply a distribution of Vim for Mac OS but most of Vim plugins are compatible with the multiples versions of Vim for the different OS.
Still YouCompleteMe comports a compiled component so your question is legit to wonder if it will work on different OSes. According to the installation section of the Readme of the project, YCM can be installed on OSX, Linux and FreeBSD with a plugin manager like Vundle. (I really don't know OpenIndiana and it isn't mentioned on the Readme page so I can't say if you'll have a problem with this one)
One point you should take care is that if you update the plugin and the compiled component has changed you'll have to recompile it but it doesn't happen that often and you should get a warning at the update.
TL;DR This shouldn't be an issue to use YCM on most of the common OSes but when updating remember that you might need to recompile the compiled component sometimes.
Im a c program student.
right now I am using VirtualBox to run Linux(ubuntu with school preset. it already had gedit, runC, gcc, valgrind)
Now i wanna do c programming on my Mac os,
My question is how do i install gcc ,valgrind,runC in order to use the MAC gedit ro run C programs?
right now I only have gedit on my MAC OS.
And is runC a default gedit plugin or I have to download by myself?
thx!
XCode, the developer environment for MacOS comes free, but not installed by default. It is much better. You can get it by going to the Apple Developer site. The most current version requires paying for access to the bleeding edge (pre-release). You want the public (2nd most recent) version.