I want to uninstall PyQt4 and install PyQt5. However, I can't make the ipython show the right package.
Have you tried go to you PyCharm just go to your settings -> interpreter -> and just update it? It should be simple like that.There will be a blue arrow u just click on it and update it.
Related
I've created a deployment script of the embeddable release of Python3 being used portable (understand without the need of installation on windows machines without administrative rights). The python this way is barebone. It has no modules. (see the method I used here)
Now we come to the problem at hand. I cannot figure out a way to install tkinter.
Different suggestions like python -m install tk or tkinter, python-tk, python3-tk, etc all fail. Actually tk installs some module that has nothing to do with tkinter.
I tried pulling out the tk installation from the official python installation still fail.
Does anyone have idea how could this be done?
When opening Anaconda (and starting Spyder from it) today, I experienced some (to me) unexplainable, rendering problems (I'm not sure whether this is the correct term). The text is not displayed as it normally is, see example pictures below:
This is an example for how it looks like in the Anaconda Navigator (GUI)
This is how the Spyder editor looks like in light mode -> green dots inside the black text
This is how the Spyder editor looks like in dark mode-> pink dots inside the black text
The icons in Spyder and the text inside the documentation window are not touched by this.
The warning that I get in the shell is: libpng warning: bKGD: invalid, but I did not find any helpful resources on it.
`
I do not have these problems in any other program, everything looks normal.
I uninstalled and reinstalled anaoconda completely using this approach (link to guide), which is basically what the Anaconda Docs are recommending, but the same thing occurs in the fresh install as well.
I'm using Ubuntu 20.04.1 LTS with KDE, Anaconda Navigator 1.9.12 and Spyder 4.1.4.
Can you point me in a direction of how to resolve this? Thanks a lot!
Let me know if any useful information is missing!
I fixed it by first install ImageMagick
sudo apt install imagemagick-6.q16
and then running
cd <anaconda location>
mogrify $(find . -name '*.png')
This fixed the problem for me.
When I have installed some libraries,the pycharm compiler does not display them.
It displays like this.However I do install some libraries,see here.And I can use installed moudules like cv2 even though pycharm doesn't show it.What shoud I do to solve it?
After searching everywhere on here I found some solutions to my problem. At first, the error was that I needed Visual C++ 14.0 and that I could get it from a link that didn't work. So, I downloaded Visual C++ Build Tools and got Visual C++ 14.0.23026. That did not solve the problem.
I did some more searching and found that I could install it using wheel. So, I got wheel and got the .whl file from here as shown in the comments of this
post, making sure to get the correct version for my python version (3.6). Running python -m pip install wordcloud-1.5.0-cp36-cp36m-win32.whl worked, it seemed.
However, after restarting Pycharm, the IDE I use to run python files, it still didn't import it correctly. ModuleNotFoundError: No module named 'wordcloud'.
What am I missing here? Thanks!
EDIT: It works outside of Pycharm (just double clicking my python file), but I'd still like it to work in Pycharm.
I have the same problem and I've solved it.
When you create a project, you should choose 'inherit global site-packages
Or
You can use the terminal in the Pycharm to install the wordcloud.
You can also install wordcloud by File->Settings->Project:your project name->Project interpreter.
I can't seem to get Tkinter to load up in the pip search menu. This is what I have done so far: view>python enviorments>updated/installed setuptools>pip search menu> input"Tkinter" with no luck.Please help, Thanks guys!
Tkinter should be installed by default, so there's no need to install it.
If you don't have it, open Programs and Features, find Python and select Change, then make sure that the Tcl/Tk option is selected.