Closed paomian001 closed 5 months ago
try requirement.txt ?
try requirement.txt ?
I tried "pip install -r requirement.txt" , and still cannot install it
![Uploading 图片.png…]()
try requirement.txt ?
And after downloading the package on the “pypi“ website, I still cannot install it
@paomian001 pip install SwissArmyTransformer or install from source:https://github.com/THUDM/SwissArmyTransformer
@yzy-thu thank you very much, I already install SwissArmyTransformer in the virtue environment in the morning, it shows at my pip list. But now ,when I run the file, it still came out the "ModuleNotFoundError: No module named 'sat' "
@paomian001 pip install SwissArmyTransformer or install from source:https://github.com/THUDM/SwissArmyTransformer
@paomian001 pip install SwissArmyTransformer or install from source:https://github.com/THUDM/SwissArmyTransformer
May I ask which version of Python is required for this project
@paomian001 I use Python 3.10.12
@paomian001 I use Python 3.10.12
thank you! It's amazing! I tried 3.10.12, and all of the packages have been done, but the package of "sat" doesn't have "make_loaders", so when I run the file, it still showed that "ModuleNotFoundError: No module named 'sat'"。 I don't know why.TAT
@paomian001 This line is redundant. You can comment it out.
@paomian001 This line is redundant. You can comment it out.
Thank you,I will try!
when I run ‘pip install sat’, it shows the error,May I ask how you installed the sat package? Thank you so much! Collecting sat Using cached sat-0.6.1.1.tar.bz2 (429 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [7 lines of output] Traceback (most recent call last): File "", line 2, in
File "", line 34, in
File "/tmp/pip-install-4ms4a0u2/sat_c5debc1b537049bbbf66df634fdc26d4/setup.py", line 129
mode = ((os.stat(dest_name)[ST_MODE]) | 0555) & 07777
^
SyntaxError: leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed
× Encountered error while generating package metadata. ╰─> See above for output.
note: This is an issue with the package mentioned above, not pip. hint: See above for details.