Package Details: pycharm-professional 2024.3-1

Git Clone URL: https://aur.archlinux.org/pycharm-professional.git (read-only, click to copy)
Package Base: pycharm-professional
Description: Python IDE for Professional Developers. Professional Edition
Upstream URL: https://www.jetbrains.com/pycharm/
Keywords: development editor ide jetbrains python
Licenses: custom
Submitter: hippojazz
Maintainer: Xavier (37h4n)
Last Packager: Xavier
Votes: 289
Popularity: 1.01
First Submitted: 2013-09-25 03:56 (UTC)
Last Updated: 2024-11-14 03:02 (UTC)

Dependencies (19)

Required by (0)

Sources (4)

Pinned Comments

Latest Comments

« First ‹ Previous 1 .. 9 10 11 12 13 14 15 16 17 18 19 .. 44 Next › Last »

alorence commented on 2021-07-30 10:01 (UTC) (edited on 2021-07-30 10:04 (UTC) by alorence)

I recently encountered issues to build Cython extension for a project using python 3.6, installed using pyenv, while my system use python3.9 by default. The error was easily reproducible in console, and was related to missing _pydevd_frame_eval/pydevd_frame_evaluator.c in pydevd folder.

I noticed that the PKGBUILD run

find pycharm-${pkgver}/plugins/python/helpers/pydev/ \( -name *.c -o -name *.so -o -name *.pyd \) -delete

as first command in the build step. While I understand that *.so and *.pyd files may be deleted before building, I don't understand why *.c files are deleted too. Is it an error ?

By the way I edited the PKGBUILD before building the package to remove *.c files deletion, and I was able to build Cython extension for my py3.6 project

find pycharm-${pkgver}/plugins/python/helpers/pydev/ \( -name *.so -o -name *.pyd \) -delete

Brikowski commented on 2021-05-24 08:29 (UTC) (edited on 2021-05-25 16:59 (UTC) by Brikowski)

I also had the problem "ModuleNotFoundError: No module named 'Cython'" when building from the terminal with Pamac on Manjaro. However, I had a conda virtual environment activated.

The build finished successfully for me when using Pamac GUI.

Xavier commented on 2021-05-12 21:59 (UTC)

I don't have errors in the build but I'll check it, thanks @Cthulu201

Cthulu201 commented on 2021-05-12 18:26 (UTC)

I usually build in a clean chroot (no makepkg -s) and was getting Cython errors. I've modified your PKGBUILD so it builds and runs for me. Happy for any feedback: https://0bin.net/paste/0tfmKwCN#wGHqvnUJ7bAHshbTKahSR1DeqMyWndoN+CPmEaHz9KX

autoferrit commented on 2021-04-18 06:24 (UTC)

It looks like my issues was that I use pyenv and I had 3.9 set as the global python version. setting pyenv global system works for me. Note that there is an issue with setting the global version to system on Arch, in that it check for python being in a bin dir, not sbin and on my system /usr/sbin was a symlink to /usr/bin and sbin was first. To fix it I unlinked /usr/sbin, set pyenf global to system, installed pycharm, then added the link back.

autoferrit commented on 2021-04-17 19:38 (UTC)

I am getting the same error. Fresh terminal with no environment loaded, and nothing in PYTHONPATH. I also made sure to clear the cache and do a clean build.

==> Starting build()...
Traceback (most recent call last):
  File "/home/shawn/.cache/yay/pycharm-professional/src/pycharm-2021.1/plugins/python/helpers/pydev/setup_cython.py", line 112, in <module>
build_extension("_pydevd_bundle", extension_name, target_pydevd_name, force_cython, extension_folder, True)
  File "/home/shawn/.cache/yay/pycharm-professional/src/pycharm-2021.1/plugins/python/helpers/pydev/setup_cython.py", line 69, in build_extension
    from Cython.Build import cythonize  # @UnusedImport
ModuleNotFoundError: No module named 'Cython'
==> ERROR: A failure occurred in build().
    Aborting...
error making: pycharm-professional

evandare commented on 2021-04-08 17:49 (UTC)

Works now, I did indeed have a virtualenv active. Oops and thanks @XavierCLL, @klaasjanelzinga!

klaasjanelzinga commented on 2021-04-08 17:43 (UTC) (edited on 2021-04-08 17:43 (UTC) by klaasjanelzinga)

Hi @evandare, pls check if you do not have a virtualenv active.

Xavier commented on 2021-04-08 17:35 (UTC)

Hi @evandare, your error may be due to various reasons (but none related to this package) check your PYTHONPATH of if you have a special installation of some components in Python. You can also build the package in a clean chroot [0] or use an unofficial repo [1].

[0] https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_clean_chroot [1] chaotic-aur

evandare commented on 2021-04-08 17:06 (UTC) (edited on 2021-04-08 17:08 (UTC) by evandare)

Hi, I get the following error during the build step:

==> Starting build()...
Traceback (most recent call last):
  File "/home/XXX/.cache/yay/pycharm-professional/src/pycharm-2021.1/plugins/python/helpers/pydev/setup_cython.py", line 112, in <module>
    build_extension("_pydevd_bundle", extension_name, target_pydevd_name, force_cython, extension_folder, True)
  File "/home/XXX/.cache/yay/pycharm-professional/src/pycharm-2021.1/plugins/python/helpers/pydev/setup_cython.py", line 69, in build_extension
    from Cython.Build import cythonize  # @UnusedImport
ModuleNotFoundError: No module named 'Cython'
==> ERROR: A failure occurred in build().
    Aborting...
error making: pycharm-professional

Installing Cython via pacman -S cython doesn't seem to fix it.