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

How to execute script? #31

Closed
ashishagarwal2023 opened this issue Nov 18, 2021 · 11 comments
Closed

How to execute script? #31

ashishagarwal2023 opened this issue Nov 18, 2021 · 11 comments
Labels
documentation Improvements or additions to documentation Priority 2 Quite Important

Comments

@ashishagarwal2023
Copy link
Contributor

So, whether I want to contribute, before contributing please make a dep installer (dependinces installer) so we can execute your scripts. After that, If possible, I will contribute. Please help!

Dep installer for packages

@N3RDIUM
Copy link
Owner

N3RDIUM commented Nov 18, 2021

Sure thing. It’s not possible today as I am traveling, but I’ll work on it tomorrow.

@ashishagarwal2023
Copy link
Contributor Author

NP!!!

@N3RDIUM
Copy link
Owner

N3RDIUM commented Dec 2, 2021

Done!

@N3RDIUM N3RDIUM closed this as completed Dec 2, 2021
@ashishagarwal2023
Copy link
Contributor Author

Which C++?

@N3RDIUM
Copy link
Owner

N3RDIUM commented Dec 21, 2021

You need a C++ compiler to build the deps.

@ashishagarwal2023
Copy link
Contributor Author

ok

@ashishagarwal2023
Copy link
Contributor Author

Still problems. here's what I got:

Collecting charset-normalizer~=2.0.0
  Downloading charset_normalizer-2.0.9-py3-none-any.whl (39 kB)
Collecting urllib3<1.27,>=1.21.1
  Downloading urllib3-1.26.7-py2.py3-none-any.whl (138 kB)
     |████████████████████████████████| 138 kB 1.1 MB/s
Using legacy 'setup.py install' for cpython, since package 'wheel' is not installed.
Using legacy 'setup.py install' for PyShaders, since package 'wheel' is not installed.
Using legacy 'setup.py install' for PyOpenGL-accelerate, since package 'wheel' is not installed.
Installing collected packages: urllib3, idna, charset-normalizer, certifi, requests, pymongo, tqdm, PyShaders, PyOpenGL-accelerate, PyOpenGL, pyglet, pip, opensimplex, cpython
    Running setup.py install for PyShaders ... done
    Running setup.py install for PyOpenGL-accelerate ... error
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python310\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\DELL\\AppData\\Local\\Temp\\pip-install-38rjst5e\\pyopengl-accelerate_0923624d7dea416eb4fd481a36c402f7\\setup.py'"'"'; __file__='"'"'C:\\Users\\DELL\\AppData\\Local\\Temp\\pip-install-38rjst5e\\pyopengl-accelerate_0923624d7dea416eb4fd481a36c402f7\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\DELL\AppData\Local\Temp\pip-record-ix9yu8iw\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Program Files\Python310\Include\PyOpenGL-accelerate'
         cwd: C:\Users\DELL\AppData\Local\Temp\pip-install-38rjst5e\pyopengl-accelerate_0923624d7dea416eb4fd481a36c402f7\
    Complete output (11 lines):
    Unable to import numpy, skipping numpy extension building
    running install
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-3.10
    creating build\lib.win-amd64-3.10\OpenGL_accelerate
    copying OpenGL_accelerate\__init__.py -> build\lib.win-amd64-3.10\OpenGL_accelerate
    running build_ext
    building 'OpenGL_accelerate.wrapper' extension
    error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
    ----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Program Files\Python310\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\DELL\\AppData\\Local\\Temp\\pip-install-38rjst5e\\pyopengl-accelerate_0923624d7dea416eb4fd481a36c402f7\\setup.py'"'"'; __file__='"'"'C:\\Users\\DELL\\AppData\\Local\\Temp\\pip-install-38rjst5e\\pyopengl-accelerate_0923624d7dea416eb4fd481a36c402f7\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\DELL\AppData\Local\Temp\pip-record-ix9yu8iw\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Program Files\Python310\Include\PyOpenGL-accelerate' Check the logs for full command output.
WARNING: You are using pip version 21.2.4; however, version 21.3.1 is available.
You should consider upgrading via the 'C:\Program Files\Python310\python.exe -m pip install --upgrade pip' command.

C:\Windows\system32>

@N3RDIUM
Copy link
Owner

N3RDIUM commented Dec 21, 2021

Tip: do pip install wheel for faster module builds.
Please install microsoft visual studio, because it requires a C++ compiler to compile the OpenGL-Accelerate module extension.
In the installation components section, if you get one, please select:
Desktop development with C++
Then run dep_installer again, AFTER RESTARTING YOUR SYSTEM.

@ashishagarwal2023
Copy link
Contributor Author

ok

@N3RDIUM
Copy link
Owner

N3RDIUM commented Dec 21, 2021

Also, please run
git pull
in your local repo, as I have just added ores.

@ashishagarwal2023
Copy link
Contributor Author

ok

@N3RDIUM N3RDIUM reopened this Dec 22, 2021
@N3RDIUM N3RDIUM added documentation Improvements or additions to documentation Priority 2 Quite Important labels Dec 22, 2021
@N3RDIUM N3RDIUM closed this as completed Jan 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation Priority 2 Quite Important
Projects
None yet
Development

No branches or pull requests

2 participants