Numpy- How to fix autocompletion in PyCharm 3.1.3 - numpy

I was working on my project in PyCharm 3 that suddenly the power went off. After that when I tried to start PyCharm I encountered with a huge number of warnings about the last configuration! So I accept to reset all configuration.
Now when I import numpy and try to use autocompletion it doesn't show anything! It works but there is no autocompletion popup. I have no problem with OpenCV import which its autocompletion works fine(as before).
I read this and this and tried both of them but that doesn't work. I uninstalled NumPy and reinstalled it again but the problem didn't solved!
I'm using windows 7
UPDATE
I also update my PyCharm to 3.1.x(I removed the previouse version with its settings). The problem exists yet.

It sounds like your caches have been corrupted. You can regenerate them from the file menu with "Invalidate Caches / Restart ..."
If that doesn't work the you can recreate the IDE's settings directory. See here for the location. If you've updated PyCharm, there may be multiple config versions. My linux PyCharm 3.1.3 directory is .PyCharm30, it may be the same for Windows.
Stop PyCharm
Move .PyCharmXX\system out of the way
Start PyCharm
If that doesn't work, try with the config sub-directory:
Stop PyCharm
Move .PyCharmXX\config out of the way
Start PyCharm
If all else fails, move the entire config directory out the way:
Stop PyCharm
Move .PyCharmXX out of the way
Start PyCharm
Note that the above will involve you having to re-enter licence keys etc.

I was having this issue with PyCharm CE 2016.1. It went away when I upgraded (while importing old settings) to 2016.2. I had to let it index all the library files again, which took awhile, i.e. "Updating skeletons for ...".

Related

Theme glitching with newest Version of IntelliJ IDEA

I am using the newest (updated) version of IntelliJ IDEA. I am coding in Javascript (React) and i've been using the One Dark theme for ages now.
But since the last update, everything is glitched.
So first problem:
The IDE is now allways starting in the white theme (which is related to the windows theme)
When i try to change the Theme, either nothing happens, or it just doesnt show any Themes, even tho i installed more than 14 (they are disabled tho).
Second problem:
I can not code in Javascript anymore. There is just no collor at all. No marking for functiond etc.
Third problem:
My IDE is crashing almost everytime, I try to open a new, or existing project.
Why is that, has someone simular issues, and what can i do, to prevent having to reinstall my IDE, as i do not want to set my IDE up again.
Thank you in regards
You will have to reinstall. But you can save the Config file.
So you can keep all your settings.
Here are the Paths for windows
Windows:
Configuration: %APPDATA%\JetBrains\IntelliJIdea2020.3
Plugins: %APPDATA%\JetBrains\IntelliJIdea2020.3\plugins
System: %LOCALAPPDATA%\JetBrains\IntelliJIdea2020.3
Logs: %LOCALAPPDATA%\JetBrains\IntelliJIdea2020.3\log
Hope this helped.

PyCharm can't seem to be able to import modules (random, webdriver)

I recently installed MacOS BigSur, and updated to the latest version of PyCharm, but I think it totally broke it.
Indeed, I mostly use Selenium, and I had trouble installing the package, but I managed to do it via the mac terminal, using this command:
/Users/inakivignal/PycharmProjects/NikeFP/venv/bin/python -m pip install selenium
After that, it shows me errors from importing webdriver and even importing random. I don't know what else to do, because before it imported them directly from packages. I verified and selenium is indeed installed as an interpreter in this project.
I'll attach what it shows me when i put this code:
code
I really don't know what is wrong with my PyCharm, if any of you could help me I would really appreciate it.
Thanks
If you are sure that it is installed, you could right click on the error, then take the option "install package Selenium" looking like this: https://gyazo.com/2f7ed596192c772d164652e2a5fdbc0b
not sure if this helps but worth a try, also had problems with this

Eclipse PDT doesn't work on windows 7, when I run it, it displays the Eclipse Logo popup for a brief second and then disapears and crashes

I used Eclipse PDT for a while now on my Windows 7 and was working fine, but couple of months ago it stopped working for some reason. When I run it, it displays the Eclipse Logo popup for a brief second and then crashes and disapears. What can cause this and how to mend it? I tried deleting it, and re-unzipping, no use - same happens. I tried deleting just the workspace, no use - same happens. I tried deleting .eclipse in my user directory, doesn't work either.
That can happen if you have corrupted your workspace files somehow. Remove the workspace folder temporary and see if that fixes your problem.
Vladimir Despotovic found the solution:
I have solved this by uninstall Java completely (JRE and JDK -
whatever you have on your computer). Uninstall all Java and reinstall
it. Start Eclipse again. This solved it for me.

qtcreator cmake "No executable specified"

Im having a very annoying issue with qtcreator and cmake projects: qtcreator fails to find the executable. It just prints "No executable specified" when trying to launch any executable from the IDE. Everything works fine after configuring the project (first time only). The issue manifests when loading the project afterwards. Only workaround is deleting the "CMakeLists.txt.user" before every use. This is tedious and unnecessary.
This is happening to projects that were running just fine for years, both my own and my colleagues, on multiple machines running ubuntu 14.04 & 14.10. Problems started with qtcreator version 3 and higher from ubuntu 14.04 upwards.
Assuming that the issue is triggered by some changes in the "CMakeLists.txt.user", after the project is closed the first time, I replaced the file with a copy of it right after it was created the first time. This worked, thus confirming that there is either something wrong with the file itself, or changes to it trigger an existing bug in qt-creator. Unfortunately it is just as tedious as deleting the file in the first place.
My Challenge:
Unfortunately I am not familiar with the inner workings of qtcreaor, however I managed to identify the specific config lines that are responsible. What does qtcreator actually change here?
Please note that "racoon" is the project name and the above diff screenshot is much larger than formatted by stackoverflow (right-click to view full resolution).
Thank you.
i had exactly the same problem using Ubuntu 14.10 and resolved it by doing the following:
Get ftp://ftp.pbone.net/mirror/ftp.sourceforge.net/pub/sourceforge/a/an/anthonos/mirror/os3-next/os3-rpm/q/qtcreator-3.1.2-0.x86_64.rpm
Extract the file /usr/lib/qtcreator/plugins/QtProject/libCMakeProjectManager.so
Overwrite this file at
/usr/lib/x86_64-linux-gnu/qtcreator/plugins/ ( at least on x64)
in your system
This will replace the cmake plugin which is currently version 3.1.1 with 3.1.2 which will make the problem disappear !
I installed qtcreator using Qt's own installer instead of the one provided by Ubuntu. It installs version 5.3.1 and fixes the problem.

Intellij IDEA 13 - Can't open Project Structure dialog anymore

as already described in title, i'm not able to open the project structure dialog window in intellij anymore.
neither the shortcut (Ctrl+alt+shift+s) nor the menu element under File -> Project Structure nor the little button in the upper right corner do work.
Clarification: Menu element :
This "bug" occured suddenly as I wrote a web (vaadin/maven) project and tried to set up glassfish, where i often had to switch to the project structure dialog.
Since the first occurence i wasn't able to fix it by restarting intellij or switching projects.
This also happened on my laptop running the same intellij and windows version (Ultimate 13.0.1 Build: 133.331 on Windows 7 x64)
i appreciate any help!
This also happened to me, but removing new plugins etc didn't help.
Nor did nuking my project and rebuilding it from scratch.
In the end I deleted all caches, restarted Intellij and at last I could access the project settings again! By the way, I'm using Intellij 11.1 - mainly because I can't get 13 to start up, but that's another story
Your log shows that it is a bug in IntelliJ IDEA - they are trying to create file passing null pathname. Try to delete project files and reopen project from scratch (maybe you've lost some file) - if it won't help then you should create an issue here: http://youtrack.jetbrains.com/ - You can even copy-paste text from your question and attach stacktrace
I had the same issue...upon further inspection in the log dump...I noticed the following:
ERROR - llij.ide.plugins.PluginManager - com.intellij.openapi.fileChooser.FileChooserDescriptor.setTitle(Ljava/lang/String;)V
java.lang.NoSuchMethodError: com.intellij.openapi.fileChooser.FileChooserDescriptor.setTitle(Ljava/lang/String;)V
at com.jetbrains.python.sdk.PythonSdkType.getHomeChooserDescriptor(PythonSdkType.java:247)
Disabled the latest Python Plugin and restarted and everything is working normal again.
I remembered I had recently update my python plugin and am not using it presently so I was able to disable it without issue.
Hope this helps someone else.
This also happened to me. The comment above helped. I had just added some plugins. Disabled them and it started working again. Not sure exactly which one because I disabled all 4 -- Bean Validation Support, Bitbucket, Jelastic Cloud Platform Integration, and Quick Notes.
For me it has been resolved by switching off FindBugs plugin and restart IDEA. So Project Structure is available for me now.
One of the plugins might be causing it. To disable a plugin, go here:
You'll know for sure if a plugin is bad if you see this Exclamation picture:
Clicking on it will bring up a pop-up. To disable the plugin, click on this:
For me it got resolved just by restarting the intelliJ IDEA. I'm using intelliJ IDEA Ultimate 2018.1 edition.