question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Install failure with 1.8.1 on Centos 7

See original GitHub issue

smart_open 1.8.1 fails to install on Centos 7:

Collecting smart_open
  Downloading https://files.pythonhosted.org/packages/27/90/39f18b9258cd76e98df581213a2b7a393b426821e920f1e820e525f54ed4/smart_open-1.8.1.tar.gz (48kB)
    100% |████████████████████████████████| 51kB 7.4MB/s 
    Complete output from command python setup.py egg_info:
    error in smart_open setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers

It looks like the addition of ‘backports.lzma;python_version<“3.3”’ is the only substantive change to setup.py since 1.8.0. According to the setuptools docs, that feature was added in 20.5 but Centos 7 ships with 0.9.8.

Not sure what to do here but I guess that setup.py should have an install_requires on setuptools>=20.5 so at least it’s clear what’s going on. Might want to also bump the major version to indicate a back-compatibility change.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
mpenkovcommented, Apr 12, 2019

Fixed by #282

1reaction
piskvorkycommented, Apr 10, 2019

Ah I see you guys are already on it, on #282. Nice!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting Installation on 64-bit AMD, Intel, and ARM ...
To set the option in the CentOS installation boot menu: Select the Install CentOS 7 entry. Press the Tab key to edit the...
Read more >
Install R on redHat CentOs 7. Several errors ... - Stack Overflow
I'm using redhat centos 7 and am attempting to install R: sudo yum install R. Returns: Error: Package: R-java-devel-3.5.1-1.el7.x86_64 ...
Read more >
Install a newer version of Git on CentOS 7 - Server Fault
I got curl: (7) Failed to connect to centos7.iuscommunity.org port 443: Connection timed out on Amazon Linux AMI Does anyone know how to...
Read more >
Yum: Failed to install updates - "Could not run transaction"
The package 'brotli-1.0.7-5.el7.x86_64' is from the EPEL repository: https://centos.pkgs.org/7/epel-x86_64/brotli-1.0.7-5.el7.x86_64.rpm.
Read more >
Yum fails to resolve dependencies in Plesk for CentOS/RHEL
Resolution · Connect to the Plesk server via SSH. · Install the "yum-utils" package: # yum install yum-utils · Find all duplicated packages...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found