can not find ssh interpereter in pycharm - ssh

I want to add ssh interpreter at pycharm,
but I can't find it.
what's the reason? and How can I fix it?
this is the version of my pycharm

SSH-based interpreters are supported in PyCharm Professional Edition only. See the comparison matrix https://www.jetbrains.com/pycharm/features/editions_comparison_matrix.html

Related

Import pandas could not be resolved from source Pylance(reportMissingModuleSource)

I've been trying to use the packages pandas, numpy, matplotlib, seaborn in my "Visual Studio Code", but the program keeps showing me the following message:
"import pandas could not be resolved from source Pylance(reportMissingModuleSource)"
Previously to Visual Studio Code I installed "Anaconda" to use Jupyter, and now it says that i have the existing packages (pandas, numpy...) but keeps appearing this message that doesn't allow me to use pandas in my Visual Studio.
Anyone could help me to solve this issue?
I tried installing again all the packages to check if they didn't exist but apparently are installed all of them but in another route. I can't find how is the way to put them so the Visual Studio Code recognizes them and I can use them.
I also received similar an error on my IDE VSCode and currently using mac m1 .First we need to make sure that the python3 interpreter version from terminal version is the same with our python version selection in VSCode.
open terminal.
type 'python3'
then you will see your python version.(my python3 version is 3.9.12)
python3 version
open your IDE VSCode
open any/current folder that related to python project on IDE VSCode
Check your python version at the bottom right on IDE VSCode (in my case the python version is 3.10.64)
change or switch VSCode python version from 3.10.64 to 3.9.12 (same with your python version on your pc)
done
I also had this problem and it was because of version mismatches.
I had installed Python AND Anaconda. If anyone else has done this and gets this error, you need to uninstall both. Then install Anaconda only; Python (the compatible version) is installed as part of that process.
See https://docs.anaconda.com/anaconda/install/windows/
Also, you can click on the interpreter version at the bottom left corner of the screen (Vs.code 2022) it should show a dropdown menu with a list of the available and selected python interpreter. Click on add interpreter path and paste the path to the python interpreter with all the required modules installed and click enter. This should resolve the problem.
I re-entered the path to Python interpreter and warning disappeared. Hope that helps you.
Another way I solved this issue having followed every other installation process to the letter was deactivating Pylance. Works a (py)charm now.
I encountered this problem in VSCode under remote to WSL2 of Windows 10. The Python version is correct as interpreter (3.9.13) and the terminal in VSCode is also under the same envs (ie. VSCode ran "conda activate xx" and (xx) is shown in prompt)
Originally, I tried to install the pandas by the following command.
sudo apt-get install python3-pandas
Pandas was installed successfully as stated in the terminal but the problem is still there.
When I try to install pandas by the following command, the problem solved.
pip install pandas

Jupyter Notebook setup in IntelliJ IDEA

I am using IntelliJ IDEA Community 2020.1 and I have just started a new project by assigning as the project SDK the python version of the environment I use.
This environment includes, among all others, the following (relevant) packages:
jupyter
jupyter-client
jupyter-console
jupyter-core
ipykernel
ipython
ipython-genutils
Also, in IntelliJ, I have installed the Python Community Edition plugin.
However, when I want to edit a ".ipynb" file within IntelliJ, I can't see the code split in cells as in the normal Jupyter notebook.
I have double checked everything, and I think that I didn't miss anything it is suggested here: https://www.jetbrains.com/help/idea/jupyter-notebook-support.html, nevertheless I can't solve the issue.
Jupyter Notebook Support is an Ultimate feature, meaning it is available in the IntelliJ IDEA Ultimate only.

How to download Keras_contrib (and other packages that is not avaliable in conda) to Pycharm?

I am quite familiar with Pycharm except 1 thing that I can't seem to figure out how to download Keras_contrib which is not availble in conda's channel and conda-forge channel which is also often used.
I have read the following article which suggest to add additional channel to conda.
"How to Install a Package in PyCharm when project interpreter is set to conda, and the package is not provided/listed by conda? 1"
but as I mentioned Keras_contrib is not provided, and I am not sure quite sure how to download it.
I managed to install Keras_contrib sucessfully to my environment which is also used by Pycharm interpreter, but for some reason, Pycharm does not recognize it.
I follow instruction given in https://github.com/keras-team/keras-contrib
which is running setup.py install
Here are the questions
By doing this Does it get install in the site_packages automatically? because I do not see it.
if I have to do it manually, how come my environment can recognize it, but Pycharm cannot.
Is there a default location in which environment and Pycharm usually look at?
because it would make sense in this case that one may recognize it while other may not.
How can I download Keras_contrib which is not avaliable in well known channel?
Is there other way to check that Pycharm Interpreter is compatible with my anaconda environment other than looking folder it is linked to?
In my case they link to the same environment, but Pycharm just cannot recognize
I just figured it out.
so Pycharm looks at site-packages of your environment.
I solved by problem that Pycharm cannot recognize the packages while anacoda env can by copy and past the Keras_contrib to the site-packages. (I still find this to be strange if any one answer to this. Feel free to comment)

No modules in Python 3.5.2

I've just installed Python 3.5.2 and I'm currently using Pycharm, when I go to settings to check the modules it has installed there is no modules at all (while python 2.7 has some modules installed). Why is this? I installed it in other PC very long ago and it had many modules by defult. Is there any way to fix this? I think I installed it properly so I don't know why this is happening.
Also when I execute python3 it says the command wasn't found (I don't know if this has something to do), I have to use python3.5 instead.
Please help me, thank you.

Which all IDE will support python scripts?

My laptop is working in windows 7 OS. I want to start working with Python, But i don't have Linux in my system. Can you suggest any IDE which will help me to start my Python scripting under windows OS???
You can download the Anaconda Python packages and run them with Komodo Edit IDE. Other option is to use eclipse, which is quite bulky. A comprehensive summary is available at Choosing Python IDE