The script to generate the newrelic.ini on Windows, as requested to be run by the docs:
newrelic-admin generate-config newrelic.ini
fails on windows because the module pwd doesn’t exist:
Traceback (most recent call last):
File "C:\Users\pupeno\Documents\Eligible\code\phoenix\venv\Scripts\newrelic-admin-script.py", line 11, in <module>
load_entry_point('newrelic==4.8.0.110', 'console_scripts', 'newrelic-admin')()
File "c:\users\pupeno\documents\eligible\code\phoenix\venv\lib\site-packages\setuptools-39.1.0-py3.7.egg\pkg_resources\__init__.py", line 480, in load_entry_point
File "c:\users\pupeno\documents\eligible\code\phoenix\venv\lib\site-packages\setuptools-39.1.0-py3.7.egg\pkg_resources\__init__.py", line 2691, in load_entry_point
File "c:\users\pupeno\documents\eligible\code\phoenix\venv\lib\site-packages\setuptools-39.1.0-py3.7.egg\pkg_resources\__init__.py", line 2322, in load
File "c:\users\pupeno\documents\eligible\code\phoenix\venv\lib\site-packages\setuptools-39.1.0-py3.7.egg\pkg_resources\__init__.py", line 2328, in resolve
File "c:\users\pupeno\documents\eligible\code\phoenix\venv\lib\site-packages\newrelic\admin\__init__.py", line 143, in <module>
load_internal_plugins()
File "c:\users\pupeno\documents\eligible\code\phoenix\venv\lib\site-packages\newrelic\admin\__init__.py", line 108, in load_internal_plugins
__import__(module_name)
File "c:\users\pupeno\documents\eligible\code\phoenix\venv\lib\site-packages\newrelic\admin\record_deploy.py", line 3, in <module>
import pwd
ModuleNotFoundError: No module named 'pwd'
Maybe this can be of some help in finding a solution: https://github.com/gitpython-developers/GitPython/issues/356
- I want this, too
- I have more info to share (reply below)
- I have a solution for this
0 voters
We take feature ideas seriously and our product managers review every one when plotting their roadmaps. However, there is no guarantee this feature will be implemented. This post ensures the idea is put on the table and discussed though. So please vote and share your extra details with our team.