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.

Installation fails with pip3

See original GitHub issue

To reproduce this, rospkg and catkin-pkg also need to be installed to work with python3, e.g. using pip3:

$ pip3 install rospy-message-converter
Collecting rospy-message-converter
  Using cached https://files.pythonhosted.org/packages/c3/7d/5e153b0d7dea31faa4a12505ff04f26dce77716f97d963af2e165ac12984/rospy_message_converter-0.4.0.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-1zv7ys8z/rospy-message-converter/setup.py", line 8, in <module>
        package_dir={'' : 'src'},
      File "/usr/local/lib/python3.5/dist-packages/catkin_pkg/python_setup.py", line 74, in generate_distutils_setup
        package = parse_package(package_xml_path)
      File "/usr/local/lib/python3.5/dist-packages/catkin_pkg/package.py", line 513, in parse_package
        xml, filename = _get_package_xml(path)
      File "/usr/local/lib/python3.5/dist-packages/catkin_pkg/package.py", line 489, in _get_package_xml
        raise IOError('Path "%s" is neither a directory containing a "%s" file nor a file' % (path, PACKAGE_MANIFEST_FILENAME))
    OSError: Path "." is neither a directory containing a "package.xml" file nor a file
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-1zv7ys8z/rospy-message-converter/

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
cjdscommented, Jun 7, 2020

https://pypi.org/project/rospy-message-converter/ has released a new version and now should work

1reaction
mintarcommented, Aug 7, 2019

The pip library was made by @cjds (see #14 and #25), so any questions about that should go to him.

It’s not quite easy to set up Python3 with ROS at the moment, so I’m not sure what the proper fix for this would be. Pull requests welcome.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to install modules with PIP (and fix it when it fails) - Medium
First make sure that you have installed Python. Assuming that, the first thing to do is to check if the module exists. The...
Read more >
pip giving error when trying to install packages Python 3.10
This error is given by Windows, saying that pip is not found. It happened because Python isn't in your shell path, If you...
Read more >
Python3 pip3 install broken on Ubuntu
I installed python3 and pip3 successfully on my Ubuntu16.04, but pip3 install is broken. How can I fix this problem? The error information ......
Read more >
Pip Command Not Found on Windows: A Guide | Built In
A “pip: command not found” error occurs when you fail to properly install the package installer for Python (pip) needed to run Python...
Read more >
[Solved] python/pip/pip3 is not recognized as an internal or ...
Install python from scratch:- https://youtu.be/oa9BYgEzb_IHi Guys, ... an internal or external command operable program or batch file error.
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