Hot answers tagged

2

You can read the error message, right? Here are the steps to resolve similar case. For first time only: $ sudo apt-get install apt-file $ apt-file update Regular steps: $ locate -r Python.h$ /usr/include/python2.7/Python.h $ apt-file find /usr/include/python2.7/Python.h libpython2.7-dev: /usr/include/python2.7/Python.h $ sudo apt-get install libpython2....


2

Open the .bashrc file in your home directory. Near the bottom of the file you will see the mentioned troublesome line: esac# added by Anaconda3 5.3.1 installer just add a newline and save, so it looks like this: esac # added by Anaconda3 5.3.1 installer


1

Only the Ubuntu / Debian packages name the executable for Python 3 python3. If you're compiling and installing from source, then the Python 3 executable should just be python. What is the output of python -V and which python? I've had great success with asdf to run newer versions of Python and Ruby. I've added the instructions here to install Python 3.9.2 ...


1

I don't think you're supposed to run anaconda-navigator as root. You'll want to make sure that you have installed the application as a normal user and not as root. So don't prefix the command to run the installer with sudo but just run it with your current user's permissions. Once you're installed, try activating the Anaconda virtual environment before and ...


1

I found out it was because it was trying to use ipv6.


1

After reading about the project I don't recommend you to install this. Is too old and hasn't been active for years. If you still want to install it, I could hep you with your errors but probably you'll find plenty. The development package of python in elementary/Ubuntu is python-dev sudo apt install python-dev For the other stuff let's start to get the ...


1

I develop for Node, and React using EOS, I use Sublime Text usually, but I have VS Code installed too. I've used that for Golang and opened node projects with it. It works well. The terminal is great, although I still install oh-my-zsh for the shell. Node itself runs well, and frankly I find open source development tools are great in Linux. As for MongoDB, ...


1

I have seen that done before (2.7 replacing 2.4) and things didn't go really well. As @Renato A. has mentioned, lots of Linux packages uses Python 2. You can check the files on /bin or /usr/bin and see that some of them are actually just Python scripts or in some manner pointing to one. It's not obvious but scripts that are made for Python 2 won't ...


1

In modern Linux kernels, you can use udev to detect removable disks. You can read about udev at: Ubuntu Manpages I'm not a Python expert, but i have find a module about using udev, so you can try with it: Pure Python udev bindings


1

If the original package is still available somewhere in your repositories, you could do that with sudo apt install -f python=2.7.6 After this, you might still have to run sudo apt install -f a couple of time to get other dependencies downgraded as well.


Only top voted, non community-wiki answers of a minimum length are eligible