Navigation

    IO Rodeo Forum

    • Register
    • Login

    Problem in python installation

    Colorimeter
    3
    4
    3009
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      robotsandi last edited by

      This post is deleted!
      R 1 Reply Last reply Reply Quote 0
      • R
        robotsandi @robotsandi last edited by

        @robotsandi said in Problem in python installation:

        Hello Sir,
        I am working on IO Rodeo Colorimeter Python version but due to some problem, it gives some error.
        (colorenv) robotsandi@robotsandi-K54C:~$ colorimeter-main
        Traceback (most recent call last):
        File "/home/robotsandi/colorenv/bin/colorimeter-main", line 4, in <module>
        import('pkg_resources').run_script('Colorimeter==0.1.0', 'colorimeter-main')
        File "/home/robotsandi/colorenv/lib/python3.5/site-packages/pkg_resources/init.py", line 661, in run_script
        self.require(requires)[0].run_script(script_name, ns)
        File "/home/robotsandi/colorenv/lib/python3.5/site-packages/pkg_resources/init.py", line 1448, in run_script
        exec(script_code, namespace, namespace)
        File "/home/robotsandi/colorenv/lib/python3.5/site-packages/Colorimeter-0.1.0-py3.5.egg/EGG-INFO/scripts/colorimeter-main", line 2, in <module>
        # EASY-INSTALL-SCRIPT: 'Colorimeter==0.1.0','colorimeter-main'
        File "/home/robotsandi/colorenv/lib/python3.5/site-packages/Colorimeter-0.1.0-py3.5.egg/colorimeter/init.py", line 1, in <module>
        ImportError: No module named 'colorimeter_serial'

        W 1 Reply Last reply Reply Quote 0
        • W
          Will Dickson @robotsandi last edited by

          @robotsandi

          It looks like you are using Python 3.5. This issue you are seeing is due to the differences between the Python 2 and Python 3. The colorimeter software is not yet compatible with Python 3. So in order to run it you will need to install Python 2.7 and then reinstall the colorimeter software and its dependencies.

          1 Reply Last reply Reply Quote 0
          • M
            moda2cool last edited by

            sometimes a litlle thing makes the difference, thanks

            1 Reply Last reply Reply Quote 0
            • First post
              Last post