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.

can not run scrapyd on 10.11.5 El Cap.

See original GitHub issue

I’ve installed scrapyd with pip. Unexpectly i’m getting error when i’m running “scrapyd” command on terminal.

Alican:~ alicanyilmaz$ scrapyd
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.5/bin/scrapyd", line 9, in <module>
    load_entry_point('scrapyd==1.1.0', 'console_scripts', 'scrapyd')()
  File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/__init__.py", line 547, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2720, in load_entry_point
    return ep.load()
  File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2380, in load
    return self.resolve()
  File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2386, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/scrapyd-1.1.0-py3.5.egg/scrapyd/__init__.py", line 3, in <module>
    version_info = tuple(__version__.split('.')[:3])
**TypeError: a bytes-like object is required, not 'str'**

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
Digeniscommented, Jan 19, 2017

scrapyd-1.2.0a1 is released today. This experimental release includes full python3 support. You can try it out with pip install scrapyd'==1.2.0a1' Read the full announcement https://groups.google.com/forum/#!topic/scrapy-users/6xSS98svwe4

@yilmazalican, if you encounter any problems specific to MacOS, don’t hesitate to report them here. Although scrapyd is not tested enough in MacOS, we can probably work towards full support in the upcoming 1.2

2reactions
Digeniscommented, Oct 22, 2016

You are using python3, scrapyd doesn’t support it yet. The python3 port of scrapyd is in progress.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Install Scrapy on OS X El Capitan - python - Stack Overflow
The issue here is with installation of the dependencies needed for Scrapy. first of all you should upgrade to the latest version of...
Read more >
El Capitan. no packages were eligible for install.
I've got a macbook pro 3.1 that was working alright but I bought a newer one so I took the SSD and did...
Read more >
El Capitan: No packages were eligible for install-Fix - YouTube
El Capitan : No packages were eligible for install-Fix ... Simply run the installer pkg and it will create the installer App in...
Read more >
How to Install/Run OS X El Capitan on an unsupported Mac Pro
This is how to install Mac OS X 10.11 " El Capitan " on an unsupported Mac Pro. In this video, I use...
Read more >
16 Common OS X El Capitan Problems & How to Fix Them
After upgrading to OS X El Capitan you may experience apps that crash or that simply do not work at all. The first...
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