Pycharm module installation specific directory - module

Is there a way to install a module into a specific directory in Pycharm using the settings/available packages method (i.e. not PIP)?

From pycharm,
The user has to select the venv for each project. So if the user requires any python packages,
goto settings -> project Interpreter
Click on + button on top right corner and you will get pop-up window of Available packages. Then search for the python package.
Then click on Install package to install the package.
So it will install the package in the venv which the user selected:
venv -> Lib.

Related

How to specify pnpm as the "Package manager" in IntelliJ > Prefs > Languages & Frameworks > Node.js and NPM?

I have pnpm installed on my Mac (MacBook Pro (13-inch, M1, 2020)). I verify that fact by running which pnpm and pnpm --version in Terminal.app, where both succeed.
When I click the Package manager pop-up menu, I get menu items for npm, yarn, and pnpm. But when I choose pnpm, I get an error saying "Not found".
How can I get IntelliJ to "find" my pnpm installation?
When I click the + icon for the list of package managers, I get a list which I can narrow to pnpm, but the item in the list has blank fields.
pnpm version greater than 16.14.3 changed its default location. The new location for macOS is ~/Library/pnpm.
That is why IntelliJ cannot detect it. Here is the bug on JetBrains issue tracker:
https://youtrack.jetbrains.com/issue/WEB-52365
The only workaround seems to be to downgrade, as defining pnpm location manually is not working currently.

Why doesn't my Intellij Ultimate detect virtualenv?

I've opened a Python project from IntelliJ Utlimate 2019.2.5 after using Pycharm.
I've the IDEA to a newly created virtualenv project SDK under <root>/.virtualenv directory, however, I cannot run pip install on the requirements using the terminal because virtualenv is not working, and I'm using my global python installation.
Opening the same project back in Pycharm brings it back to life again.
Is there a specific configuration I've missed (though I doubt that because there are only these instructions).
It's not possible at the moment in IntelliJ IDEA.
Vote for https://youtrack.jetbrains.com/issue/PY-22067

PySpark IntelliJ IDE Interpreter [duplicate]

There is a tutorial in the IDEA docs on how to add a Python interpreter in PyCharm, which involves accessing the "Project Interpreter" page. Even after installing the Python plugin, I don't see that setting anywhere.
Am I missing something obvious?
With the Python plugin installed:
Navigate to File > Project Structure.
Under the Project menu for Project SDK, select "New" and
Select "Python SDK", then select "Local".
Provided you have a Python SDK installed, the flow should be natural from there - navigate to the location your Python installation lives.
I was getting the error (IntelliJ on Ubuntu 18.04) while python SDK was configured.
To fix that, I had to do this:
File -> Project Structure -> Modules
Click on the Dependencies tab, and click on + and select the python SDK
Click on Apply
After that, the warning went away and autocompletion also started working properly
So here is a simple project, where I have used Selenium and added that using external path
Now you need to open Project Structure and go to SDK Section
Now Select your project's virtual environment. In the Classpath tab add the PYTHONPATH by clicking + button
and now the modules will be recognized
If you have multiple modules in your project, with different languages, you can set the interpreter in the following way:
File -> Project Structure...
Select Modules in the list on the left
Select the Python module in the list of modules
On the right-hand side, either choose an existing Python SDK from the dropdown list, or click on the New... button to create either a virtualenv, or create a new Python SDK from a Python installation on your system.
Follow these steps:
Open Setting (Ctrl + Alt + s)
Click on plugins
Find Browse Repositories and click
Search for "python"
Select Python SDK or pycharm
Restart the IDE
Go to project structure
Select the python SDK in projects or create a new project with python SDK.

No python executable could be found on your system , Titanium

I am using eclipse to make titanium module, but whenever I use Ant build i get error
No python executable could be found on your system
i have installed
Titanium SDK.
All of the prerequisites for developing Android applications.
Android NDK. Add an ANDROID_NDK environment variable pointing to the NDK folder.
Eclipse and ADT.
gperf e installed and in your system PATH.
I also checked my bulid.properties which is like this:
titanium.platform=C:\\Users\\Titanium\\mobilesdk\\win32\\3.1.1.GA\\android
android.platform=C:\\AndroidSDK\\platforms\\android-10
google.apis=C:\\AndroidSDK\\add-ons\\addon-google_apis-google-10
android.ndk = C:\\android-ndk-r9
What is wrong with mine?
Accordint to this page Python is required for compiling from the commandline (which I guess would be how Ant invokes it). So if you need that you need to install Python 2.7 which is available from their website.
i did this and it works for me ;)
first i have installed python 2.7 and chnage the path variable to
C:\Python27
then change the JDK in eclipse path :
1) In Eclipse click Run->External Tools->External Tools Configurations
2) Click JRE tab
3) Click Installed JREs... button
4) Click Add button (select Standard VM, where applicable)
5) Click Directory Button
6) Browse to your JDK version (not JRE) of your installed Java (C:\Program Files (x86)\Java\jdk1.6.0_25)
7) Click Finish.

Gedit plugin installation

I'm trying to install a gedit plugin: the https://github.com/elijahr/gedit-rename plugin, to be able to rename files in the ide.
Well, I can't install it despite following the installation instructions.
In fact, I've never managed to install a Gedit plugin in my entire life. And I tried many times.
If somebody has some time and could help me make it work that would be nice.
Or point me to another ide that allows renaming files and has a vertical split view.
Open terminal:
sudo apt-get update
sudo apt-get install gedit-plugins
There is a plugin in gedit that will let you rename files.
Go to Edit -> Preferences -> Plugin -> File Browser Panel : and select it and the CLose.
Now you will see a file browser on left side and you could just rename files from there
For different ide: there are many like depending on the language you are working with:
General: sublime text editor, emacs, vim, geany
python: pycharm, anaconda, enthought canopy
c#,c++: visual studio(for windows), Qt, codeblocks
java: eclipse, netbeans, Qt