meshes_installer_27.pyc not installable
See original GitHub issueI am using Linux Mint 20 with Kernel: Linux 5.4.0-52-generic and Python 2.7.18
When executing any test program with an IDE (pycharm), python2.7 says
The robot meshes and URDFs will be installed in the /home/mara/.qibullet/1.4.0 folder. You will need to agree to the meshes license in order to be able to install them. Continue the installation (y/n)?
As soon as I insert y, it’s sending an Error message:
Installing the meshes and URDFs in the /home/mara/.qibullet/1.4.0 folder...
Python 2.7 detected
E
======================================================================
ERROR: setUpClass (__main__.PepperBaseTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/mara/Masterarbeit/Software/qibullet/tests/base_test.py", line 27, in setUpClass
spawn_ground_plane=True)
File "/home/mara/.local/lib/python2.7/site-packages/qibullet/simulation_manager.py", line 145, in spawnPepper
pepper_virtual = PepperVirtual()
File "/home/mara/.local/lib/python2.7/site-packages/qibullet/pepper_virtual.py", line 36, in __init__
tools._install_resources()
File "/home/mara/.local/lib/python2.7/site-packages/qibullet/tools.py", line 145, in _install_resources
import meshes_installer_27 as meshes_installer
ImportError: Bad magic number in /home/mara/.local/lib/python2.7/site-packages/qibullet/robot_data/installers/meshes_installer_27.pyc
----------------------------------------------------------------------
Ran 0 tests in 13.655s
FAILED (errors=1)
When executing any test program in my terminal, the gui starts, but I can’t see any robot mesh.
When I execute this: $ sudo python meshes_installer_27.pyc
There is this error message. RuntimeError: Bad magic number in .pyc file
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
pyc not generated while creating module - Stack Overflow
Python3.x doesn't create .pyc files in the same directory. This is part of python3's __pycacahe__ standard. Instead, your .pyc files are ...
Read more >pip compiles pyc files for installed scripts #11406 - GitHub
py extension, it creates corresponding .pyc files. This pollutes the bin directory, and doesn't accomplish anything, since I don't think Python ...
Read more >Why py and not pyc or pyo? - Ask Ubuntu
When I install a python deb package, say python-numpy the files are plain python files. How do I tell to the package manager...
Read more >“__pysource__” file layout for installed modules - Ideas
Another way to install Python modules is to not install the source, and use the *.pyc file directly in place of the *.py...
Read more >pyc-wheel - PyPI
Compile all py files in a wheel to pyc files. ... pip install pyc-wheel. Copy PIP instructions ... To install run: python -m...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
By “git LFS problem”, I’m referring to what is explained in the wiki section (installation from source) that I linked:
But since you installed qiBullet via pip, you shouldn’t get that issue. I already relaunched a CI job (Ubuntu Xenial, Python 2.7.15), it manages to install the project (and the meshes) from source, and to run the unit tests.
I will try to reproduce your bug, keep me posted if you have more information
Issue-Label Bot is automatically applying the label
bug
to this issue, with a confidence of 0.62. Please mark this comment with 👍 or 👎 to give our bot feedback!Links: app homepage, dashboard and code for this bot.