To fix your immediate problem, you can download and install the Python 2. Make sure you pick the version that fits your Python distribution e. However trying to run ipython notebook is step 5, I get an error that ipython is not recognized as an internal or external command. I just can't find anything about how to do it. I am trying to install ipython and I can't because of scandir. I have been struggling in installing ipython for a whole way only to find I am not that smart.
It didn't work for me. I can't even install well-known things like ruby This machine is mis-configured and I think only tech support can fix it. No humans or animals were injured or traumatized in the creation of this message. The dependencies can be viewed with package manager commands, such as pip show ipython or conda info ipython. I've been playing around with the minimal installation, and it's remarkable how little it includes. Do you have any advice? Are you perhaps using Cygwin or mingw? Also, for completeness, python v2.
You've been more than helpful. . I should have advised you to use the following to check for the presence of the headers: sudo updatedb locate Python. I have tried manually installing pyreadline, but makes no difference. Please let me know if that works.
It's really strange for yum to have python34-devel. If the above doesn't matter: I'm a sudo user but not root, so I can scp any files I want to most places. Also on the Running tab no terminals or notebooks are running. No need to apologize for verbosity. I cannot use Python 3. Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
I think I have a solution for you--or at least something to try. I was having difficulty determining where to jump in. Have a question about this project? I also stick to the Win32 x86 version of Python as a few packages are not available in x64 versions, although the major packages do support this. Do I need to install ipywidgets? I just don't have any idea what to copy some C header file Python. I don't care about using the current version unless that prevents me from successfully installing ipython in some other manner, but I thought it might be relevant. Then you can scp it over and install it as follows: sudo rpm -ivh python-devel-2.
On Red hat, the package you need should be something like python-devel or python2-devel on Debian, it's python-dev. I possibly need setuptools to run pip, but I can't figure out the appropriate way to get that either. I'm stuck using yum yuck and rpm so unfortunately apt-get can't solve my problems. Everything started working after the very first try. Often this will be your home directory. Do I not want the yum version of python? I'm used to a non-Linux Unix, which has a fundamentally different way of dealing with packages. Any help will be much appreciated.
Manual installation without dependencies is possible, but not recommended. I've already tried them, and different variations. My favourite Python distribution for Windows is. Your post helped me take a detour and solve my problem. Installing using a package manager like pip or conda will ensure the necessary packages are installed.
Update Feb 2016 : These instructions are now outdated. Again, there doesn't seem to be a yum-related way to install this, and anaconda itself is only a means to an end to download ipython, so that'd be two levels of abstraction away from the goal. I'll make some notes about pip though, thanks. I already looked at that and posted a question there. First extra element 5: Token. If you are going to compile c-extensions which you do implicitly by install in scandir you may want to install the Python headers apt-get install python-dev maybe? What error do you get? Ben Leave a Reply Name required Email will not be published required Website Comment. Complete reporting is a virtue in these kinds of situations.
More information about pip can be found on. In simple words, Jupyter Notebook allows you to have your code, and text elements doc, mathematical equations, images, or links, etc. Installation instructions refer to pip, which I don't have. This tutorial might also be helpful for windows users. Any suggestions for how to install this thing is the most easily maintainable way? This is a remote machine that was set up only with Python 2. One thing you could try is to install Anaconda , which bundles everything you should need.
Most of the time, you will wish to start a notebook server in the highest level directory containing notebooks. When the notebook opens in your browser, you will see the Notebook Dashboard, which will show a list of the notebooks, files, and sub-directories in the directory where the notebook server was started. Obviously we need admin rights for all of this. Could this be the problem? If anyone is seeing the same error on Python 3, the package will probably be something like python3-devel or python3-dev. After you unzip, you'll find Python. I think ActivePython should add the correct directory to the path e. You can also install in user specific location by using the --user flag in conjunction with pip.