Re: macports-users Digest, Vol 194, Issue 22

2022-11-04 Thread Ryan Schmidt
On Oct 29, 2022, at 07:50, Artemio González López wrote:
> 
> Error: Failed to activate py310-jupyter: Image error: 
> /opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/__pycache__/jupyter.cpython-310.pyc
>  is being used by the active py310-jupyter_core port.  Please deactivate this 
> port first, or use 'port -f activate py310-jupyter' to force the activation.
> 
> Should I deactivate py310-jupyter_core, activate py310-jupyter, and activate 
> py310-jupyter_core, or is it better to just force activation of py310-jupyter 
> … or none of the above?

Force-activating ports is not recommended.

You should probably wait for the maintainer of the port to resolve the 
conflict, which I see you have reported at 
https://trac.macports.org/ticket/66124. Or anyone else can feel free to solve 
it and submit a pull request.



Re: macports-users Digest, Vol 194, Issue 22 ==> py-jupyter won't install

2022-10-29 Thread Ken Cunningham
I just tried to install py-jupyter on a clean machine, and got the same error:

g-info/dependency_links.txt
Error: Failed to activate py310-jupyter: Image error: 
/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/__pycache__/jupyter.cpython-310.pyc
 is being used by the active py310-jupyter_core port.  Please deactivate this 
port first, or use 'port -f activate py310-jupyter' to force the activation.


so there is some kind of a problem with py-jupyter that needs fixing.

there doesn’t seem to be an open ticket for this, so that would be the thing to 
do, if you like.

K

Re: macports-users Digest, Vol 194, Issue 22

2022-10-29 Thread Artemio González López via macports-users


> On 29 Oct 2022, at 14:00, macports-users-requ...@lists.macports.org wrote:
> 
> 
> 
>> On Oct 28, 2022, at 8:16 PM, Andreas Skarlatoudis > > wrote:
>> 
>> :notice:patch --->  Applying patches to aquaterm
>> :info:patch --->  Applying no-NSMailDelivery.patch
>> :debug:patch Environment:
>> :debug:patch CC_PRINT_OPTIONS='YES'
>> :debug:patch 
>> CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqu
> 
> 
> The new patch that fixes the build is this one:
> 
> project-copyfiles.patch
> 
> and I don?t see it being applied in your log, so your ports must be not 
> updated fully.
> 
> So:
> 
> sudo port clean aquaterm
> sudo port -v selfupdate
> sudo port -v install aquaterm
> 
> Best,
> 
> Ken

Thank you all for your help. Ken’s suggestions did indeed fix the problem with 
Aquaterm (it builds now), but I still have the first problem I mentioned not 
being able to activate py310-jupyter (after installing py-jupyter):

Error: Failed to activate py310-jupyter: Image error: 
/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/__pycache__/jupyter.cpython-310.pyc
 is being used by the active py310-jupyter_core port.  Please deactivate this 
port first, or use 'port -f activate py310-jupyter' to force the activation.

Should I deactivate py310-jupyter_core, activate py310-jupyter, and activate 
py310-jupyter_core, or is it better to just force activation of py310-jupyter … 
or none of the above?

Thank you all again,

Artemio


Artemio Gonzalez Lopez
artem...@mac.com



Artemio Gonzalez Lopez
artem...@mac.com



smime.p7s
Description: S/MIME cryptographic signature