For some reason, you're missing all your executables (not just weewxd).

I am not familiar with pipenv (I use pyenv). I find it curious that the
pipenv version of Python went looking for weewxd
in '/Users/mbp/gitRepo/weewx/./bin/weewxd', which, presumably, is in a git
repository. Where did it get that idea?

I'm just fishing here, but perhaps the executables got installed in the
virtual environment? Perhaps in
/Users/mbp/.local/share/virtualenvs/weewx-qjcRhtQ2/bin?

Maybe this is standard behavior for pipenv, maybe it's not. If it is, I
wouldn't bother running setup.py: just run everything from whatever
directory you unpacked the tar file. Setup.py isn't really necessary. For
example, if you're familiar with git, and if you keep repos in ~/gitRepo,
you could clone weewx into ~/gitRepo (if you haven't done that already),
and run weewx from there. Here's an example:

cd ~/gitRepo
# If you don't already have weewx, clone it:
git clone https://github.com/weewx/weewx.git
cd weewx
# Check out the current release:
git checkout v4.8.0
pipenv run python ./bin/wee_config --reconfigure
pipenv run python ./bin/weewxd

There are many other alternatives. The point being that because WeeWX is
pure python, nothing needs to be compiled. You can run it from anywhere.

Or, maybe I don't understand pipenv and none of this is necessary.

-tk



On Tue, Jul 19, 2022 at 7:39 AM Dan Jones <[email protected]> wrote:

> Yep, sorry , mea culpa
>
> was run following these instructions:
>
> https://www.weewx.com/docs/macos.htm
>
> and using 'pipenv run python setup.py install'
>
> setup.cfg is :
>
> [install]
> home = /Users/Shared/weewx
> prefix =
> exec-prefix =
> install_lib = %(home)s/bin
> install_scripts = %(home)s/bin
>
> [egg_info]
> tag_build =
> tag_date = 0
>
> ls -l /Users/Shared/weewx
> total 0
> drwxr-xr-x  13 mbp  wheel  416 19 Jul 14:42 bin
>
>  ls -l /Users/Shared/weewx/bin
> total 80
> -rw-r--r--   1 mbp  wheel   2888  6 Mar  2021 daemon.py
> drwxr-xr-x   6 mbp  wheel    192 19 Jul 14:42 schemas
> -rw-r--r--   1 mbp  wheel  34287 13 Mar 19:31 six.py
> drwxr-xr-x   4 mbp  wheel    128 19 Jul 14:42 user
> drwxr-xr-x   6 mbp  wheel    192 19 Jul 14:42 weecfg
> drwxr-xr-x   5 mbp  wheel    160 19 Jul 14:42 weedb
> drwxr-xr-x   9 mbp  wheel    288 19 Jul 14:42 weeimport
> drwxr-xr-x   5 mbp  wheel    160 19 Jul 14:42 weeplot
> drwxr-xr-x  12 mbp  wheel    384 19 Jul 14:42 weeutil
> drwxr-xr-x  26 mbp  wheel    832 19 Jul 14:42 weewx
> drwxr-xr-x   6 mbp  wheel    192 19 Jul 14:42 weewx-4.8.0-py3.9.egg-info
>
> On Tuesday, July 19, 2022 at 3:19:06 PM UTC+1 [email protected] wrote:
>
>> Lots of missing information here.
>>
>> First, how did you install? Did you run setup.py? What did you use for
>> setup.cfg?
>>
>> What is in /Users/Shared/weewx? Give us the results of
>>
>> ls -l /Users/Shared/weewx
>> ls -l /Users/Shared/weewx/bin
>>
>> -tk
>>
>> On Tue, Jul 19, 2022 at 7:03 AM Dan Jones <[email protected]> wrote:
>>
>>> Hi
>>>
>>> I am trying to install Weewx on my mac
>>>
>>> I am using pipenv, and the python_version = "3.9"
>>>
>>> I have followed the instructions, and when I get to:
>>>
>>> cd /Users/Shared/weewx
>>> sudo python3 ./bin/weewxd weewx.conf
>>>
>>> I get the following error
>>>
>>> /Users/mbp/.local/share/virtualenvs/weewx-qjcRhtQ2/bin/python: can't
>>> open file '/Users/mbp/gitRepo/weewx/./bin/weewxd': [Errno 2] No such file
>>> or directory
>>>
>>> my /Users/shared/weewx/bin folder doesn't contain any executibles.
>>>
>>> Is there something I am missing?
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "weewx-user" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-user/00d58526-b8b6-47ef-b194-d8aec14a807an%40googlegroups.com
>>> <https://groups.google.com/d/msgid/weewx-user/00d58526-b8b6-47ef-b194-d8aec14a807an%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/7fa83f4a-23b0-4ff3-8623-d59e2acdc4c2n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/7fa83f4a-23b0-4ff3-8623-d59e2acdc4c2n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEBHXhZVzHEL6-wLpNZUG%3DVcX19kuXa9-4zSX2Ns6Kz-bA%40mail.gmail.com.

Reply via email to