I have tried installing anaconda multiple times on my Windows’s 10 laptop however, when I look for it after installation in the start menu it isn’t there?
Neither is spyder? I tried downloading win python but that didn’t work either. Any help would be much appreciated. Thankyou.
For a standard installation you should have this folder
C:\Users\<USERNAME>\.anaconda\navigator\scripts
If so, start anaconda-navigator-app.bat and see if it works.
P.S.: I really can't recommend Spyder anymore, since it has multiple problems especially if you might work with Qt. VS Code seems to be a better alternative.
Related
While writing Python code on VS Code, it is showing suggestions like:
windll Windows only: Creates ()
I have tried to see if this was coming from snippet extension I might have installed but I don't think I have any... can anyone shine a light on why I am getting his code completion nonsense?
I had this same issue, every time :, ., def, or if is typed, there's annoying suggestions that don't make sense. I found out it's the Python Extended extension that's responsible for this. It seems to be reported on it's GitHub issues page, but for now I would disable the extension as it doesn't seem to be working at all for me. I recommend PyLance as a replacement.
It's the extension problem.
You have installed the extension named: Python Extended inside your vs code and you will need to uninstall it.
It works well on my editor after uninstalling this extension.
First of all, I am new to both Python as well as the world of VSCode (recently moved over from Atom). I will also say that I am using an Early 2014 MacBook Air running macOS Catalina. I really do love VSCode! It's amazing in many ways, but this... this is just too unclear.
Okay, I have tried literally almost everything and I don't understand why my imports won't work! I have looked at the documentation on the issue on Github (I will say I may have something with the directory wrong there, referring to the docs). I have tried the "python.autoComplete.extraPaths": [], thing. I have tried changing my (virtual) environment and, of course, setting up a new one myself. I have tried setting "python.languageServer:" to Jedi and back to Microsoft. I can't even find the "python.jediEnabled: false" comment that everybody is telling me to uncomment.
Yet, my imports are still "unresolved (Microsoft language server)" or "not found (Terminal)" or "unable to be imported (Pylint)". It just makes me so angry and I don't understand what I've done wrong!
I've seen modules like pygame and requests work just fine on VSCode for many others (YouTube), yet mine has yet to work.
Can someone please tell me the secret that I don't apparently know? Thanks.
Update Post: My Virtual Environment is using my System Python rather than my Venv's Python
Thank you for everyone who has helped (so far). I am getting a lot closer to solving this. ^-^
They had removed "python.jediEnabled" setting instead of "python.languageServer", you can refer to here.
Maybe you haven't installed the package which you want to import, because you had used the wrong 'pip'. When you select the right environment, you need to activate it(Ctrl+Shift+`), otherwise, you'd use the wrong 'pip'. You can type 'pip --version' to check which 'pip' you are using. Then you can try to install the package you want to import.
My Original Error:
I am new to python and am using anaconda 4.8.3. When I try to autocomplete after math. or sentence. nothing shows up. I have tried installing both pyreadline and jedi, but both are already installed with anaconda apparently. I have not disabled or enabled anything outside of the normal process of learning to use conda, like setting up shells and feeling out how to use ipython/notebooks.
The Fix that I was able to find:
%config Completer.use_jedi = False
Put this line of code literally anywhere, I recommend making a separate text file for this specifically if you are having this issue, and you just need to run it before coding. You will need to do this every time that you open up the notebook but aside from that it is an easy fix. If you know anyone with this problem please share this with them. So far I have not found anything else that works for me, so if there is a more permanent option I would love to see it.
For ipython version 7.19.0 add the following to your ipython config file. default is at where your other profile files are lurking at
.ipython/profile_default/ipython_config.py
c.Completer.use_jedi=False
Looks like some stability issues are still being worked on.
ref IPython core.completer
https://i.stack.imgur.com/k0Ypt.png
Hi guys!
I wanted to come back to the coding world and been practicing with VSCode on Mac. Since today, I don't know what I have done that every time that I debug Python code it shows me the image abobe. It's not a big issue but for me, it is very annoying since I like to keep things clean and simple.
I tried to uninstall every extension and add-on on VS and uninstall but I can solve it myself.
Thanks for the help!
That's the command to execute the debugger, so there's not much you can do about it without changing your launch.json to not use the terminal.
After a lot of trying there's no solution. It's just how VScode works on Mac.
I installed Canopy a couple of days ago. I started it up, and explored it a little -- in other words, it opened up just fine.
Today, however, it hangs on its loading screen:
After a long while of waiting (more than an hour) and still nothing happening, I became impatient and clicked on the Canopy loading screen, and got the following:
I have tried to make sure that PYTHONPATH, etc. are cleared out. I have also uninstalled and then re-installed the program. What else might I try, and what might the problem be?
Strange, sorry to hear it #user89, and thanks for the report. This could seem like a corruption of some files. Please have a look to this knowledge base article about fully uninstalling Canopy from your system and installing again:
https://support.enthought.com/entries/23580651-Uninstalling-Canopy
Please comment on this article again if that didn't help.