Hi.
I am new to the Fedora Project, though I have been using Fedora for years (since Fedora 30).
I am trying to get set up to work on Fedora websites, but have hit an error. It seems to be Python 2.7-related, which shocks me somewhat: hasn’t everything been ported to Python 3?
Anyhow, I followed the following steps:
- Set up a Fedora account;
- Followed the instructions at How to fix bugs on the Fedora Project website - Fedora Project Wiki :
- Cloned the Gitgub repo (
git clone https://pagure.io/fedora-websites.git), created a new branch off main, and ranmakeas indicated in Step 7; - Result was an error, as shown in the console log below:
- Cloned the Gitgub repo (
14:09: fedora ⦿ git clone https://pagure.io/fedora-websites.git
Cloning into 'fedora-websites'...
remote: Enumerating objects: 19657, done.
remote: Counting objects: 100% (1697/1697), done.
remote: Compressing objects: 100% (482/482), done.
remote: Total 19657 (delta 1467), reused 1289 (delta 1214), pack-reused 17960
Receiving objects: 100% (19657/19657), 82.59 MiB | 1.05 MiB/s, done.
Resolving deltas: 100% (11958/11958), done.
14:11: fedora ⦿ cd fedora-websites/
14:11: fedora-websites ⦿ cd start.fedoraproject.org/
14:13: start.fedoraproject.org ⦿ ll
total 4.0K
drwxr-xr-x. 1 john john 50 Jul 18 14:11 ./
drwxr-xr-x. 1 john john 478 Jul 18 14:11 ../
drwxr-xr-x. 1 john john 32 Jul 18 14:11 build/
drwxr-xr-x. 1 john john 32 Jul 18 14:11 data/
-rw-r--r--. 1 john john 299 Jul 18 14:11 Makefile
drwxr-xr-x. 1 john john 68 Jul 18 14:11 po/
drwxr-xr-x. 1 john john 52 Jul 18 14:11 static/
14:15: start.fedoraproject.org ⦿ git checkout -b john-test
Switched to a new branch 'john-test'
14:15: start.fedoraproject.org ⦿ git branch
* john-test
main
14:16: start.fedoraproject.org ⦿ make
grep: warning: stray \ before #
python2.7 /mnt/golgi/tech24/dev/fedora/fedora-websites/start.fedoraproject.org/../build.d/build.py -o out -s static -b /
Traceback (most recent call last):
File "/mnt/golgi/tech24/dev/fedora/fedora-websites/start.fedoraproject.org/../build.d/build.py", line 14, in <module>
from pkg_resources import get_distribution
ImportError: No module named pkg_resources
make: *** [../Makefile.in:34: static] Error 1
14:17: start.fedoraproject.org ⦿
Questions:
- What is the correct forum for this issue?
- If this forum is appropriate, what is causing this error and how should I fix or obviate it?