Closed Frefreak closed 11 months ago
After further investigation, I realized that the issue was not with the requirements.txt, but with my local environment. Specifically, virtualenv
was using setuptools version 60+, after I downgraded it wxPython
successfully built and pyfa runs fine now. I apologize for the confusion.
Normally for a python project one can just
pip install -r requirements.txt
and then run an entry script to start (in pyfa it seems to bepyfa.py
). In this repotox.ini
mentions python 3.8 andrequirements.txt
requires 'wxPython==4.0.6' which from pypi can be seem support up to python 3.7 and is 4 years ago.I tested with both python 3.7 and 3.8 in a clean virtualenv but all failed to build wxPython during the
pip install
process (BTW I need to manually install a pathlib2 dependency).Is the requirements.txt accurate? If not can we update the file so users who are interested in the code can have a better experience running pyfa?
I tested with python 3.11 but it at least needs integer division fix (https://aur.archlinux.org/cgit/aur.git/tree/0001-python-3.10-compatibility.patch?h=pyfa#n86)
Bug Report
can't install dependency following requirements.txt
Expected behavior:
be able to
pip install -r requirements.txt
with the expected python versionActual behavior:
failed to build wxPython:
Detailed steps to reproduce:
virtualenv venv -p python3.7 # or 3.8
source venv/bin/activate
pip install -r requirements.txt
1-3 just prepares a clean env (since my system is using python 3.11)
Release or development git branch? Please note the release version or commit hash:
current master: 88970c7a95bf8e71aa2d61de1bc2ed9f1c55e7d3
Operating system and version (eg: Windows 10, OS X 10.9, OS X 10.11, Ubuntu 16.10):
ArchLinux
I know there is an AUR package, but I want to experiment with the code easier.