Hello all!
I’ve been trying in initiate fdroid
server following instructions from README.md. I’ve already cloned both the repos but when I run fdroid init
, I get an ImportError
Traceback (most recent call last):
File "/home/knight/Documents/fdroidserver/fdroid", line 24, in <module>
import fdroidserver.common
File "/home/knight/Documents/fdroidserver/fdroidserver/common.py", line 50, in <module>
from pyasn1_modules import rfc2315
ImportError: No module named 'pyasn1_modules'
So I tried to install the packages which seems to be missing;
sudo apt-get --reinstall install python-pyasn1-modules
But the issue still persist.
Following are the package versions installed;
Preparing to unpack .../python-pyasn1_0.1.9-1_all.deb ...
Unpacking python-pyasn1 (0.1.9-1) over (0.1.9-1) ...
Preparing to unpack .../python-pyasn1-modules_0.0.7-0.1_all.deb ...
Unpacking python-pyasn1-modules (0.0.7-0.1) over (0.0.7-0.1) ...
Processing triggers for doc-base (0.10.7) ...
Processing 1 changed doc-base file...
Setting up python-pyasn1 (0.1.9-1) ...
Setting up python-pyasn1-modules (0.0.7-0.1) ...
Am I using a different version than the one required in python-pyasn1? Also I noticed there are different dashes in both common.py
and apt library.
apt-get → python-pyasn1-modules
common.py → pyasn1_modules