Currently, I am watching an online course for python. That course is using Anaconda for the libraries etc.
Installing Anaconda on Windows 7 works perfectly fine. But I want to use all of the Stuff on Ubuntu since Linux works better for the stuff I want to develop.
Everything works fine from the point of downloading Anaconda for Linux, running it in the terminal and installing it.
The installations return Success "Thanks for installing Anaconda3!"
But from that point on nothing works. The installed folder with its files is there. But I cannot run the programm from the terminal, nor from a simple double-click on the symbol. Cause there is no symbol anywhere for it. Running it through the terminal by using the command "anaconda notebook", "Anaconda" etc. all don't work.
It acts like the programm isn't installed. Even tho it is. I reinstalled it several times. But it all doesn't work. I'm starting to get mad tbh...
Ubuntu runs over a virtual machine if that is important. VM Ware Workstation v14
Related
I've lately noticed an increasing lag when I fire up the CMD window to run python.
Immediately after entering "python", I see the python version info, but instead of the command prompt (>>>) I just get a blinking cursor (not showing in screenshot). After what's now become a couple of minutes, the command prompt finally appears, and I can run python code as usual.
When this happens, the CPU on my little work laptop is clearly under heavy load, the fan goes way up.
I have basically the same setup on my home PC (still with the older Anaconda and python 3.7) and never had any problems like this.
I was running python 3.7 in Anaconda on Windows 10. I just do simple scripts, copy and paste the code in a terminal window. In my original version, I had the base env + one clone, both had this problem.
I tried updating conda and anaconda but nothing changed. I thought it might be some dependency conflicts (I had recently pip-installed a couple of heavy-ish packages into my clone env: pytessearct and openpyxl), so I finally uninstalled Anaconda and reinstalled the latest version (Anaconda3-2020.07-Windows-x86_64 with python 3.8) with the standard packages, and I still have the same problem.
One related clue: Anaconda Navigator was also hecka slow to load. I tried disabling SSL verification per this thread (Anaconda navigator VERY slow) but it had no effect on the time delay for the python command prompt. But with the fresh install, Navigator now loads normally.
In my new install, I did the same setup, base + clone, both with the standard Anaconda package set, no add-ons, I still have the same problem in both envs.
I installed Anaconda 3. After Install I reboot the computer but, when I opened Anaconda Navigator, this keep happening, first this CMD window appears Conda.exe
and then this window appears gpython.exe
Before reboot, everything fine, I could open Anaconda Navigator. After reboot, (insert Billy Butcher from the Boys) BOOM, this happen.
This also happens everytime I type "conda" on the command prompt,with the python interpreter (second picture) keep appearing. So pretty much any solution on the internet that told me to use "conda" doesnt help.
Also this happens to every Anaconda Application (Anaconda Prompt, Anaconda Navigator).
I believe that whenever you launch anaconda conda.exe will run, at least it does for me.
Regarding gpython.exe, I could only find the following question referring to it
Django error: Command throws a python window when executing makemigrations command in a Python/Django project
This makes it seem like your anaconda may require a reinstall, I checked my anaconda files and couldn't find a gpython.exe in the path where yours appears, so this may be the case. Hope this helps.
I wanted to get my hands on the Anaconda Navigator. Recently on a normal PC I opened it and used it as if I'd been using it my whole life, the thing is that that PC uses Windows 7.
My laptop, however, has Windows 10 and it does not work. Anaconda installed after one hour and the navigator does not appear. I don't know if it's the whole of Windows 10 or just my machine, but it seems to me that the navigator should be here somewhere. The problem lies in that the 'Start' option for Windows 10 does not allow a user to ACTUALLY search for files ON their computer (total bummer since it makes everything difficult), so only the anaconda prompt and some "web searches" appear. Completely useless whatsoever.
I did try using the anaconda prompt with the help of a previously posted question (Anaconda Installed but Cannot Launch Navigator) with an identical problem to mine, where some of you mentioned that I should try the command 'anaconda-navigator', 'anaconda-navigator as', 'anaconda navigator', amongst other commands. None of which worked in any possible way. The commands were ignored since they just invoked errors that I do not know of.
Does anyone know what I should do/try, and if possible, leaving the option of reinstalling Anaconda all over as the last option? Thank you guys, would really help.
Ps: I downloaded the latest version for 64-bit Windows from the official page of Anaconda
Open the terminal (win+r and write cmd then press enter)
Call conda info (conda should be installed.)
One of the response fields should be base environment : followed by a directory.
In that directory there should be a Scripts folder containing the anaconda-navigator application. Hit it and wait patiently while it spins up. Navigator should open. You can point shortcuts here and so on.
I had a similar problem, but it cleared up after running Spyder once.
Specifically on my shiny new Surface Pro 2017 (i5, 256GB, 8GB RAM). So I'm trying to set up my dev environment and I'm running into a bit of a snag.
It shows up as installed through Powershell -and I'm able to run Python fine through it- but when I try the same on my Bash and Hyper terminals, no luck. I'm realizing now that Bash is not pictured in the screenshot, but it says the same thing when I try to run python commands. Did my due diligence in searching through the Surface subreddit, Google, and of course, Stack.
Anyone know what could be the issue?
Screenshot
In my opinion the best solution is to install python inside your bash environment, too. What is the main reason you even want to call the Windows version of python from the bash? If installing python inside the Ubuntu subsystem/the bash again, then you might try to find out the path to the python.exe inside your Windows installation and try to add these path to your bash's path, too.
Do yourself a huge favor and install Anaconda, and use command line prompt from now on and don't even Touch Powershell or bash. It's windows not linux. The reason I say anaconda is because it gives you a huge array of libraries and also you can create a virtual environment meaning if Python gets screwed on or corrupted at least your file paths will be okay.
I am wanting to compile all of my python scripts into one exe. I use the Vizard shell to find errors in my scripts. When I download the 64-bit install for py2exe (Python 2.7), and try to install it, the exe ignores my Python 2.7 directory, and chooses Vizard as the main directory. I uninstalled Vizard, rebooted my computer and tried the installation again, but to my surprise, it still had the Vizard directory as my main directory.
When I tried to install a 32-bit version, it located my Python directory just fine. However, the 32-bit version will not work and gives me ridiculous amounts of errors trying to run it.
Vizard is rather important to me, so I'd love to keep the program. Is there a way to install the 64-bit version outside of an exe? Thanks for the help.