Closed torienyart closed 5 months ago
Hi @torienyart,
There seems to be a conflict between your research code and the tf-models-official package from PyPI. When you run setup.py from the research folder, it looks for a specific version of tf-models-official (greater than 2.5.1) from PyPI.However, the latest version of tf-models-official installed from PyPI might not be compatible with your research code. This is because the latest version often pulls in dependencies like PyYAML and Cython at their most recent versions, which might not be what your research code expects. Manually Install Compatible Versions: You can try modifying the requirements.txt file to specify the exact versions of PyYAML and Cython that are compatible with your research code. Then, install these specific versions manually using pip.
Thanks.
This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you.
This issue was closed due to lack of activity after being marked stale for past 7 days.
I had the same problem and I tried by creating new anaconda environment with python 3.10 and installing tensorflow-models-offical .whl file downloaded from their website
Prerequisites
Please answer the following questions for yourself before submitting an issue.
1. The entire URL of the file you are using
https://github.com/tensorflow/models/blob/master/research/object_detection/packages/tf2/setup.py
2. Describe the bug
Setup gets stuck while trying to install PyYAML with a
subprocess-exited-with-error
response.I have tried uninstalling PyYAML and Cython and reinstalling... i've tried starting from scratch with a new environment, i've tried a software update... it doesn't seem to want to work with PyYAML
3. Steps to reproduce
Clone tensorflow model garden to local repo cd into models/research/object_detection/packages/tf2 copy setup.py to research folder run python -m pip install .
this also happens when I run
pip install tf-models-official
4. Expected behavior
I expect the setup to run fully and install all necessary packages
5. Additional context
Include any logs that would be helpful to diagnose the problem.
6. System information