Every time PyCharm makes an IDE update, I spend endless hours searching for how to do it again in Linux.
I'd like to register my answer here for my own self next time.
- You have to use the system
python
.
- Before anything, you have to have
sudo apt-get install python<your_bin_version>-dev
Obs. Use which python
at usr/bin
to find out.
- However, the system
python
does not recognize conda setuptools
.
- Thus, you also need
sudo apt-get install python3-setuptools
After that, if you run, the updated place of PyCharm help, as such:
sudo /usr/bin/python3 /<your_pycharm_installation_dir>/pycharm-2021.1/plugins/python/helpers/pydev/setup_cython.py build_ext --inplace
Then, and only then, it works ... (but only for the base python).
Next, I found the recently constructed directory /_pydevd_bundle
and manually (yeah) copied it into
/<your conda environmenbt>/.conda/envs/py39web/compiler_compat
Except for jupyter notebooks, though.