Giter Site home page Giter Site logo

42-workshop's Issues

Python > 3.6 should not install the forked wired from the requirements

I followed the instructions from the website with Python 3.8.0 and got always this strange error message:

(env) โžœ  fortytwo git:(master) python s01_find_action.py 
Traceback (most recent call last):
  File "s01_find_action.py", line 17, in <module>
    from fortytwo import App, Greeter
  File "/home/janek/Repositories/42-workshop/fortytwo/__init__.py", line 4, in <module>
    from fortytwo import models
  File "/home/janek/Repositories/42-workshop/fortytwo/models.py", line 3, in <module>
    from wired.dataclasses import factory
ModuleNotFoundError: No module named 'wired.dataclasses'

In the end what solved the problem was to pip uninistall wired the wired-0.2 version from the requirements.txt (pointing to a forked wired at https://github.com/pauleveritt/wired). If I run after installing this forked version, pip install wired, I get wired-0.2.1 (a minor version ahead) installed, and everything works fine.

I think, it's confusing that following the tutorial (and/or installing the requirements.txt) leads to a non working configuration. There's a certainly a reason for the usage of the fork, but either it is deprecated over time or at least it doesn't matter for modern Python, does it? It would already be helpful to get a hint in the README about ๐Ÿค”

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.