Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error install pyrx win 10 #22

Open
KilimSerg opened this issue Nov 17, 2023 · 0 comments
Open

Error install pyrx win 10 #22

KilimSerg opened this issue Nov 17, 2023 · 0 comments

Comments

@KilimSerg
Copy link

KilimSerg commented Nov 17, 2023

Unfortunately, I do not speak English
so google translation

Hello
I'm trying to install the "pyrx" module on Windows 10
I managed to figure out how to properly install the library from Github.
The library started downloading and installing, but in the end it still gave the same error
just like when installing from a computer, for some reason it cannot create the necessary
directories that are listed at the end of the error
If, when installing from Github, the program unpacks and tries to install files on drive C:
then when installing from a computer, all source files are located on drive F:
which is not systemic, but the result is the same
as in both cases, the library for some reason cannot create the necessary directories.
The reason is not specified and no messages are displayed about the reasons for the error.
Can anyone tell me what can be done?
Best regards, Sergei.

File "C:\Users\User\AppData\Local\Programs\Python\Python312\Lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command
cmd_obj.run()
File "F:\Progr\Python\pyrx-master\setup.py", line 32, in run
self.build_extension(ext)
File "F:\Progr\Python\pyrx-master\setup.py", line 56, in build_extension
subprocess.check_call(['cmake', ext.sourcedir] + cmake_args, cwd=self.build_temp, env=env)
File "C:\Users\User\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', 'F:\Progr\Python\pyrx-master', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=F:\Progr\Python\pyrx-master\build\lib.win-amd64-cpython-3
12', '-DPYTHON_EXECUTABLE=C:\Users\User\AppData\Local\Programs\Python\Python312\python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=F:\Progr\Python\pyrx-master\build
\lib.win-amd64-cpython-312', '-A', 'x64']' returned non-zero exit status 1.

When installing from GitHub using the command
pip install https://github.com/jtgrassie/pyrx/archive/master.zip#egg=pyrx

interrupts with the message:

File "C:\Users\User\AppData\Local\Temp\pip-build-env-ascgu_fh\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command
cmd_obj.run()
File "", line 32, in run
File "", line 56, in build_extension
File "C:\Users\User\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', 'C:\Users\User\AppData\Local\Temp\pip-install-delxli9h\pyrx_e7e034131703445595d5503afedf53c5', '-DCMAKE_LIBRARY_OUTPU
T_DIRECTORY=C:\Users\User\AppData\Local\Temp\pip-install-delxli9h\pyrx_e7e034131703445595d5503afedf53c5\build\lib.win-amd64-cpython-312', '-DPYTHON_EXECUTABLE=C:\Users\U
ser\AppData\Local\Programs\Python\Python312\python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\User\AppData\Local\Temp\pip-install-delxli9h\pyrx_e7e034131
703445595d5503afedf53c5\build\lib.win-amd64-cpython-312', '-A', 'x64']' returned non-zero exit status 1.
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyrx
Failed to build pyrx
ERROR: Could not build wheels for pyrx, which is required to install pyproject.toml-based projects

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@KilimSerg and others