Re: [gtk-osx-users] GTK MACOS: jhbuild fails with ModuleNotFoundError: No module named 'pipenv'



Hi John,
my iMac died last week and I just got a new one.
I will follow up on this.
Holger

10 November, 2021 at 17:55



You have two choices: You can either patch the pyenv build (gtk-osx-setup.sh created a repo clone in ~/Source/pyenv) to use the new OpenSSL tarball or you can wait for someone else to do so and for the pyenv maintainers to merge it.

Meanwhile, please answer my questions from yesterday.

Regards,
John Ralls


10 November, 2021 at 17:36
now I get another error:

wsmac01:~ gtk$ ./gtk-osx-setup.sh
Cloning into '/Users/gtk/Source/pyenv'...
remote: Enumerating objects: 20634, done.
remote: Counting objects: 100% (1657/1657), done.
remote: Compressing objects: 100% (613/613), done.
remote: Total 20634 (delta 992), reused 1511 (delta 914), pack-reused 18977
Receiving objects: 100% (20634/20634), 4.20 MiB | 5.02 MiB/s, done.
Resolving deltas: 100% (13869/13869), done.
Downloading openssl-1.1.1k.tar.gz...
-> https://www.openssl.org/source/openssl-1.1.1k.tar.gz
error: failed to download openssl-1.1.1k.tar.gz

BUILD FAILED (OS X 10.13.6 using python-build 2.2.0-12-g5b7c140f)

The problem is, that the file:
    openssl-1.1.1k.tar.gz
does not exist anymore, but they bumped it up to:
    openssl-1.1.1l.tar.gz

How do I resolve this?



_______________________________________________
gtk-osx-users-list mailing list
gtk-osx-users-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list
9 November, 2021 at 22:41



Huh, didn't notice that. It will need to be fixed before building anything, but it shouldn't have anything to do with pipenv not working.

Regards,
John Ralls

_______________________________________________
gtk-osx-users-list mailing list
gtk-osx-users-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list
9 November, 2021 at 22:31


On 09/11/2021 18:42, john wrote:


(This doesn't answer the question, just another data point, really)

From above

> python-build: use openssl@1.1 from homebrew
> python-build: use readline from homebrew

I wonder if that matters.

I recently did much the same as Holger Rodriguez. However, instead of changing the path, I deleted my /usr/local before I started. I then compiled and installed python 3.8. Then I started the build script. For me

$ grep PYTHONPATH jhbuild:

export PYTHONPATH="$HOME/.new_local/lib/python/site-packages:"

$ head -1 pipenv

#!/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python

I wonder if that matter.

For me, the build script worked and gtk installed (yay).


Paul




_______________________________________________
gtk-osx-users-list mailing list
gtk-osx-users-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list
9 November, 2021 at 19:42



Does the PYTHONPATH line in .new_local/bin/jhbuild correctly point to $HOME/.new_local/lib/python3.10/site-packages? Does that directory have a subdirectory pipenv containing __init__.py and cli/ among others?

Regards,
John Ralls




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]