Giter VIP home page Giter VIP logo

Comments (6)

mkorpela avatar mkorpela commented on July 21, 2024

Nope. Not gona happen. You've fixed the dependency problem while installing but the dependency is still required. It is a bit odd that you added your license text there.

from robomachine.

marc- avatar marc- commented on July 21, 2024

Dependency is required and pip supposed to take care of that. You can test it yourself using virtualenv this way (assuming we're in project root folder):

$ virtualenv ../venv
$ ../venv/bin/pip install ./
$ ../venv/bin/pip freeze
RoboMachine==0.7
argparse==1.2.1
pyparsing==2.0.3
robotframework==2.8.7
wsgiref==0.1.2

I'm sorry about license, I'm not really experienced with that. Should I just copy-past it from other file in the project?

from robomachine.

mkorpela avatar mkorpela commented on July 21, 2024

ok. So the basic problem is that the version number lives in the main package and this will also import pyparsing and while using it from setup then it fails to import error before even getting to dependency installation. Thanks for the bug report! I just thought that the fix was a bit odd.

from robomachine.

Tset-Noitamotua avatar Tset-Noitamotua commented on July 21, 2024

Installation fails. What am I doing wrong?

Windows 7 64bit
Python 2.7
Pip 7.1.2

H:\>pip --version
pip 7.1.2 from C:\Python27\lib\site-packages\pip-7.1.2-py2.7.egg (python 2.7)

H:\>pip install RoboMachine
Collecting RoboMachine
  Using cached RoboMachine-0.7.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 20, in <module>
      File "c:\users\d_waew\appdata\local\temp\pip-build-6aszep\RoboMachine\setup.py", line 6, in <module>
        import robomachine
      File "robomachine\__init__.py", line 16, in <module>
        from parsing import parse
      File "robomachine\parsing.py", line 15, in <module>
        from pyparsing import *
    ImportError: No module named pyparsing

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in c:\users\path_to_temp_dir\temp\pip-build-6aszep\RoboMachine

Do I have to install 'pyparsing' manually?

from robomachine.

Tset-Noitamotua avatar Tset-Noitamotua commented on July 21, 2024

Yes, I had to install 'pyparsing' myself:

H:\>pip install pyparsing
Collecting pyparsing
  Downloading pyparsing-2.0.3-py2.py3-none-any.whl
Installing collected packages: pyparsing
Successfully installed pyparsing-2.0.3

H:\>pip install RoboMachine
Collecting RoboMachine
  Using cached RoboMachine-0.7.tar.gz
Requirement already satisfied (use --upgrade to upgrade): pyparsing in c:\python27\lib\site-packages (from RoboMachine)
Collecting argparse (from RoboMachine)
  Downloading argparse-1.3.0-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): robotframework in c:\python27\lib\site-packages (from RoboMachine)
Installing collected packages: argparse, RoboMachine
  Running setup.py install for RoboMachine
Successfully installed RoboMachine-0.7 argparse-1.3.0

from robomachine.

mkorpela avatar mkorpela commented on July 21, 2024

@Tset-Noitamotua thanks for the report,

At least on my machine pyparsing dependency gets installed when installing through pip.

I tried with pip 1.7.2

I'll leave this issue open if someone else has similar problems.
But currently I'm unable to reproduce the problem.

from robomachine.

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.