Pycosat Installation Fails on WSL2 Ubuntu – GCC Compilation Error #151614
Replies: 1 comment
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Body
I am trying to set up an environment using Ubuntu on WSL2.
Since the environment file was not created by me, I am experiencing compatibility issues, preventing successful setup.
I have resolved many errors, but I am currently stuck on the "building wheel for pycosat: finished with status 'error'" issue.
After searching GitHub issues for similar problems, I attempted the suggested solution by running:
sudo apt-get install python3-devHowever, I still encounter the same problem.
Below is a summary of the error messages:
Building wheels for collected packages: pycosat Building wheel for pycosat (setup.py): started Building wheel for pycosat (setup.py): finished with status 'error' Running setup.py clean for pycosat Failed to build pycosatAdditionally, gcc is throwing an error related to incompatible libraries:
/home/chyoang30/miniconda3/envs/nia_ksl/compiler_compat/ld: cannot find /lib/x86_64-linux-gnu/libc.so.6 /home/chyoang30/miniconda3/envs/nia_ksl/compiler_compat/ld: cannot find /lib64/ld-linux-x86-64.so.2 collect2: error: ld returned 1 exit status error: command 'gcc' failed with exit status 1I have uploaded the environment.yml file and the full error log, as they might help diagnose the issue.
environment.txt
error log.txt
Guidelines
Beta Was this translation helpful? Give feedback.
All reactions