Git Product home page Git Product logo

Comments (3)

mcm avatar mcm commented on June 18, 2024

@tcw3bb I just tested this with requests 2.2.1 and it worked for me... would I be right in guessing that you have requests installed from your distro's repositories rather than from pip? I'm finding a lot of notes that various Linux distros unbundle the stuff in requests.packages for various distro-y reasons. Newer versions of requests have since worked around this issue, but 2.2.1 is fairly old and I suspect you'd have to upgrade your distro to get a newer pre-packaged version.

My best suggestion if upgrading the system version of requests isn't an option would be to run machinae out of a virtualenv.

Please let me know if my assumptions here are wrong and we can continue to work on troubleshooting the issue.

[gh_machinae_18] ~/t/gh_machinae_18 ❯❯❯ pip3 install 'requests==2.2.1'
You are using pip version 6.0.8, however version 8.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Collecting requests==2.2.1
  Downloading requests-2.2.1-py2.py3-none-any.whl (625kB)
    100% |################################| 626kB 886kB/s
Installing collected packages: requests

Successfully installed requests-2.2.1
[gh_machinae_18] ~/t/gh_machinae_18 ❯❯❯ python3
Python 3.4.3 (default, Feb 27 2016, 19:17:14)
[GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from requests.packages.urllib3 import exceptions
>>>

from machinae.

tcw3bb avatar tcw3bb commented on June 18, 2024

I did the install using PIP3 only instructions on Ubuntu 14.04. A coworker also ran into the same issue on 14.04.

apt-get install libyaml-dev python3-dev python3-pip

pip3 install machinae

pip3 list|grep request
requests (2.2.1)

Is it possible that the machinae just checks that requests is installed and not the version in the requirements?

from machinae.

mcm avatar mcm commented on June 18, 2024

@tcw3bb Sorry I didn't see your response, but I did end up pushing a fix for this. Are you still having this issue with the latest version?

from machinae.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.