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

Local setup issue #204

Open
Piyush-onGIT opened this issue Nov 10, 2023 · 0 comments
Open

Local setup issue #204

Piyush-onGIT opened this issue Nov 10, 2023 · 0 comments

Comments

@Piyush-onGIT
Copy link

I cloned this repository to work on the issues, but while setting up the project locally, I got an issue.

Here are the steps that I followed:

  1. Cloned the repo
  2. Created a python virtual environment with python -m venv .venv
  3. After activating the environment, I ran the command pip install -r requirements/docs.txt
    While installing I got the following error:
Building wheel for M2Crypto (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for M2Crypto (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [47 lines of output]
      INFO:run_command:running bdist_wheel
      INFO:run_command:running build
      INFO:run_command:running build_py
      INFO:copy_file:copying M2Crypto\ASN1.py -> build\lib.win-amd64-cpython-311\M2Crypto
      INFO:copy_file:copying M2Crypto\AuthCookie.py -> build\lib.win-amd64-cpython-311\M2Crypto
      INFO:copy_file:copying M2Crypto\BIO.py -> build\lib.win-amd64-cpython-311\M2Crypto
      INFO:copy_file:copying M2Crypto\BN.py -> build\lib.win-amd64-cpython-311\M2Crypto
      INFO:copy_file:copying M2Crypto\callback.py -> build\lib.win-amd64-cpython-311\M2Crypto
      INFO:copy_file:copying M2Crypto\DH.py -> build\lib.win-amd64-cpython-311\M2Crypto
      INFO:copy_file:copying M2Crypto\DSA.py -> build\lib.win-amd64-cpython-311\M2Crypto
      INFO:copy_file:copying M2Crypto\EC.py -> build\lib.win-amd64-cpython-311\M2Crypto
      INFO:copy_file:copying M2Crypto\Engine.py -> build\lib.win-amd64-cpython-311\M2Crypto
      INFO:copy_file:copying M2Crypto\Err.py -> build\lib.win-amd64-cpython-311\M2Crypto
      INFO:copy_file:copying M2Crypto\EVP.py -> build\lib.win-amd64-cpython-311\M2Crypto
      INFO:copy_file:copying M2Crypto\ftpslib.py -> build\lib.win-amd64-cpython-311\M2Crypto
      INFO:copy_file:copying M2Crypto\httpslib.py -> build\lib.win-amd64-cpython-311\M2Crypto
      INFO:copy_file:copying M2Crypto\m2.py -> build\lib.win-amd64-cpython-311\M2Crypto
      INFO:copy_file:copying M2Crypto\m2crypto.py -> build\lib.win-amd64-cpython-311\M2Crypto
      INFO:copy_file:copying M2Crypto\m2urllib.py -> build\lib.win-amd64-cpython-311\M2Crypto
      INFO:copy_file:copying M2Crypto\m2urllib2.py -> build\lib.win-amd64-cpython-311\M2Crypto
      INFO:copy_file:copying M2Crypto\m2xmlrpclib.py -> build\lib.win-amd64-cpython-311\M2Crypto
      INFO:copy_file:copying M2Crypto\Rand.py -> build\lib.win-amd64-cpython-311\M2Crypto
      INFO:copy_file:copying M2Crypto\RC4.py -> build\lib.win-amd64-cpython-311\M2Crypto
      INFO:copy_file:copying M2Crypto\RSA.py -> build\lib.win-amd64-cpython-311\M2Crypto
      INFO:copy_file:copying M2Crypto\six.py -> build\lib.win-amd64-cpython-311\M2Crypto
      INFO:copy_file:copying M2Crypto\SMIME.py -> build\lib.win-amd64-cpython-311\M2Crypto
      INFO:copy_file:copying M2Crypto\threading.py -> build\lib.win-amd64-cpython-311\M2Crypto
      INFO:copy_file:copying M2Crypto\util.py -> build\lib.win-amd64-cpython-311\M2Crypto
      INFO:copy_file:copying M2Crypto\X509.py -> build\lib.win-amd64-cpython-311\M2Crypto
      INFO:copy_file:copying M2Crypto\__init__.py -> build\lib.win-amd64-cpython-311\M2Crypto
      INFO:mkpath:creating build\lib.win-amd64-cpython-311\M2Crypto\SSL
      INFO:copy_file:copying M2Crypto\SSL\cb.py -> build\lib.win-amd64-cpython-311\M2Crypto\SSL
      INFO:copy_file:copying M2Crypto\SSL\Checker.py -> build\lib.win-amd64-cpython-311\M2Crypto\SSL
      INFO:copy_file:copying M2Crypto\SSL\Cipher.py -> build\lib.win-amd64-cpython-311\M2Crypto\SSL
      INFO:copy_file:copying M2Crypto\SSL\Connection.py -> build\lib.win-amd64-cpython-311\M2Crypto\SSL
      INFO:copy_file:copying M2Crypto\SSL\Context.py -> build\lib.win-amd64-cpython-311\M2Crypto\SSL
      INFO:copy_file:copying M2Crypto\SSL\Session.py -> build\lib.win-amd64-cpython-311\M2Crypto\SSL
      INFO:copy_file:copying M2Crypto\SSL\SSLServer.py -> build\lib.win-amd64-cpython-311\M2Crypto\SSL
      INFO:copy_file:copying M2Crypto\SSL\ssl_dispatcher.py -> build\lib.win-amd64-cpython-311\M2Crypto\SSL
      INFO:copy_file:copying M2Crypto\SSL\timeout.py -> build\lib.win-amd64-cpython-311\M2Crypto\SSL
      INFO:copy_file:copying M2Crypto\SSL\TwistedProtocolWrapper.py -> build\lib.win-amd64-cpython-311\M2Crypto\SSL
      INFO:copy_file:copying M2Crypto\SSL\__init__.py -> build\lib.win-amd64-cpython-311\M2Crypto\SSL
      INFO:run_command:running build_ext
      INFO:build_extension:building 'M2Crypto._m2crypto' extension
      INFO:swig_sources:swigging SWIG/_m2crypto.i to SWIG/_m2crypto_wrap.c
      INFO:spawn:swig.exe -python -py3 -IC:\Users\piyus\OneDrive\Desktop\Codelab\Dev\OS\morango\.venv\include -IC:\Python311\include -IC:\Python311\Include -I/usr/include/openssl -includeall -modern -builtin -outdir C:\Users\piyus\AppData\Local\Temp\pip-install-06abxc6c\m2crypto_8cce61924ad54cea9ce688d251a67eed\M2Crypto -o SWIG/_m2crypto_wrap.c SWIG/_m2crypto.i
      error: command 'swig.exe' failed: None
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for M2Crypto

Versions that I am using:

python     3.11.4
pip        23.1.2
setuptools 65.5.0
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

1 participant