Package Details: pycharm-professional 2024.1-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: 287
Popularity: 1.31
First Submitted: 2013-09-25 03:56 (UTC)
Last Updated: 2024-04-04 13:20 (UTC)

Dependencies (19)

Required by (0)

Sources (4)

Pinned Comments

Latest Comments

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

donny commented on 2021-08-28 11:04 (UTC)

@XavierCLL Please don't do what @klaasjanelzinga suggests. Not only it's wrong place to set the XZ_OPT env.var., it also doesn't have any effect on the package build speed, because XZ is not involved since January 2020.

@klaasjanelzinga If you build packages just for yourself, you can omit package compression simply by changing the line PKGEXT='.pkg.tar.zst' (or maybe .pkg.tar.xz still in your case) to PKGEXT='.pkg.tar'.

Xavier commented on 2021-08-27 19:09 (UTC)

good catch @alorence, fixed in the new release, thanks

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!