fedora-27

cannot Install libxml2 in virtualenv

泄露秘密 提交于 2020-01-14 12:02:02
问题 I have got an issue with libxml2 python module. I'm trying to install it on a python3 virtualenv using the following command: pip install libxml2-python3 but it shows the following error: Collecting libxml2-python3 Using cached https://files.pythonhosted.org/packages/41/97/a2ecf6c5b291799dbd40b3d041d89b0ecdb1b43c8c2503e27991325851cd/libxml2-python3-2.9.5.tar.gz Complete output from command python setup.py egg_info: failed to find headers for libxml2: update includes_dir ----------------------

Unable to install devtools in R v3.4.3 in Fedora 27 due to curl compilation failed

假装没事ソ 提交于 2019-12-11 08:53:54
问题 I cannot install this R package due to compile errors. I try install.packages("devtools") and receive /usr/bin/ld: skipping incompatible /usr/lib/libcurl.so when searching for -lcurl /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/7/../../../libcurl.so when searching for -lcurl /usr/bin/ld: skipping incompatible //lib/libcurl.so when searching for -lcurl /usr/bin/ld: skipping incompatible //usr/lib/libcurl.so when searching for -lcurl /usr/bin/ld: cannot find -lcurl

no module librepo after installing pytorch on fedora27

人盡茶涼 提交于 2019-12-11 01:07:27
问题 I had to install pytorch with conda, and next I had this error when trying to upgrade system : sudo dnf upgrade Traceback (most recent call last): File "/bin/dnf", line 57, in <module> from dnf.cli import main File "/usr/lib/python3.6/site-packages/dnf/__init__.py", line 31, in <module> import dnf.base File "/usr/lib/python3.6/site-packages/dnf/base.py", line 26, in <module> from dnf.comps import CompsQuery File "/usr/lib/python3.6/site-packages/dnf/comps.py", line 29, in <module> import dnf