Closed villares closed 2 years ago
Thanks for the heads-up, @villares
Weirdly enough, this isn't a problem on my Windows machine -- Windows 10, running Thonny 3.3.7-alt (Python 3.9.5). Installing the noise package from the Thonny package manager builds the wheel, no problem --
Collecting noise
Downloading noise-1.2.2.zip (132 kB)
Building wheels for collected packages: noise
Building wheel for noise (setup.py): started
Building wheel for noise (setup.py): finished with status 'done'
Created wheel for noise: filename=noise-1.2.2-cp39-cp39-win_amd64.whl size=32408
sha256=085edc711ab025329bfbfefe2f1d9a4088e9047595e004f1985bf70aacf984b2
Stored in directory: C:\Users\...\Temp\pip-ephem-wheel-cache-rdnc50py\...
Successfully built noise
Installing collected packages: noise
Successfully installed noise-1.2.2
Does your Thonny include the wheel package? (listed under Tools > Manage Packages)
Sorry for being so clueless about it all...
Look at my predicament... I do already have the wheel
and noise
, and py5
on my miniconda env ... but I can't install the thonny-py5mode
package, because the plug-in install interface tries to install everything again (on a different site-packges directory) and fails!
If I understand correctly, this is a miniconda-specific issue? I'm using the default Python interpreter that ships with Thonny.
Perhaps you can access the pip
bundled with Thonny (via the terminal) to install the plug-in without the py5 dependencies?
pip install thonny-py5mode install-jdk --no-dependencies
If this works, Thonny (which I assume runs using the default Python interpreter) can load the plug-in, then when you run the sketch, it's using miniconda's py5 packages.
I wouldn't say it is a miniconda-specific issue, I would say it is an issue when trying to point Thonny to an alternate interpreter, perhaps. I installed the miniconda
Python because the bundled Python couldn't install the plug-in. :(
But I can't remember which Thonny-Python-bundle it was. Windows access is a bit hard for me to test right now. I should restart from scratch I suppose. Thanks for the patience.
Closing this issue.
Cheers Tristan!
Maybe you might want to consider adding a note that at this point this installation process is not working on Windows :(
The reason is
noise
cannot be installed withpip
on Windows.I'm trying to do it with
conda
/miniconda
and I'll report, but it adds a nasty layer of complexity.Tentative instructions:
conda env create -n py5coding -f http://py5.ixora.io/install/py5_environment.yml
py5coding
env.(on Linux the env appears on Thonny, but it didn't on Windows for me, I found out and filled manually)