Closed Armaroli closed 9 months ago
Duplicate from #48, will fix it later
Dear Greg,
I found a workaround: I changed the path in the setup.py.
The problem persists, julia has to be specified each time the solver is invoked. I presume because a hard path is specified in the following method
def LaunchJulia(bin): if bin is None: julia = "/opt/bin/julia" else: julia = bin
...
Thank you!
Have a nice day!
Thanks a bunch for the update! I was too busy with experiment I didn't have the time to check the issue earlier. This is essentially what I did in the new setup.py
file, where Windows users would have to install manually 3 Julia packages and that will avoid a lot of issue when pip install it, since it seems Julia doesn't create a nice simlink every time when installed on Windows.
Describe the bug Fail install To Reproduce pip install pyLLE on clean environment
Expected behavior Expect to install
Error or Screenshots python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [66 lines of output] Warning: 'classifiers' should be a list, got type 'tuple' running bdist_wheel running build running build_py creating build creating build\lib creating build\lib\pyLLE copying pyLLE_analyzedisp.py -> build\lib\pyLLE copying pyLLE_llesolver.py -> build\lib\pyLLE copying pyLLE__init__.py -> build\lib\pyLLE running egg_info writing pyLLE.egg-info\PKG-INFO writing dependency_links to pyLLE.egg-info\dependency_links.txt writing requirements to pyLLE.egg-info\requires.txt writing top-level names to pyLLE.egg-info\top_level.txt reading manifest file 'pyLLE.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'pyLLE.egg-info\SOURCES.txt' copying pyLLE\ComputeLLE.jl -> build\lib\pyLLE C:\Users\andre\anaconda3\envs\LLEenv\Lib\site-packages\setuptools_distutils\cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !!
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for pyLLE Running setup.py clean for pyLLE Failed to build pyLLE ERROR: Could not build wheels for pyLLE, which is required to install pyproject.toml-based projects
Desktop (please complete the following information):
Thank you!