max sidorov replied to the topic 'how do I install pip?' in the forum. 1 hour 49 minutes ago

Sorry... I lied just to close this thread.
It didn't fix it for me.
However, I found where the problem was.
I chose to install _minimum_ version of Ubuntu Mate.
I guess, it was lacking some critical components.
I installed a full version (with Libre Office and all) and everything (python-related) went without errors.
Also I noticed that on-line manual/guide got updated - now it directs to pip3 instead of just pip.

I got discouraged and returned that Minisforum Mini PC, so
I did this Ubuntu/KStars/Ekos install on a VM running on my Windows desktop. Everything went smoothly and is working.
Now, I guess, I am ready to try Odroid-N2.

Thanks!

maxthebuilder wrote: Yes, that was it!
Thank you!



Read More...

max sidorov replied to the topic 'Powered USB Hubs' in the forum. 16 hours 19 minutes ago

So, it's 1ft after all...
The connectors take half the length of the cable..
I am going to cut it, open the hub and solder the cable to the board...

starman345 wrote:

maxthebuilder wrote: His looks shorter - 6" ?

starman345 wrote: I use this one www.amazon.com/gp/product/B004395680/ref...00_s00?ie=UTF8&psc=1

Looks like the one Robert is using? I think I might have got the idea from him a few months ago and ordered it along with the Sabrent 7 port usb hub


Found it, he linked to it in this thread:
www.indilib.org/forum/embedded-indi/2772...i-3-setup.html#20613

Its a pretty stiff cable, you need a bit of length to get the curve you need, at least I do the way I have the hub and sbc oriented.



Read More...

max sidorov replied to the topic 'Powered USB Hubs' in the forum. yesterday

His looks shorter - 6" ?

starman345 wrote: I use this one www.amazon.com/gp/product/B004395680/ref...00_s00?ie=UTF8&psc=1

Looks like the one Robert is using? I think I might have got the idea from him a few months ago and ordered it along with the Sabrent 7 port usb hub



Read More...

max sidorov replied to the topic 'Powered USB Hubs' in the forum. 3 days ago

Rob,
I have exactly the same setup : )
Except I had to cut/shorten that blue USB3 cable - where did you get it?
I searched lazily and didn't find any.
Thanks!

Read More...

max sidorov replied to the topic 'USB3 may force me to move off of Raspberry Pi' in the forum. 5 days ago

You know, you are right...
When I just started I was using DSLR - RPI was painfully slow with it.
Large images and no guider/finder.
Then I got ASI1600 - RPI was slow with it too.
That was actually the reason I replaced the 1600 with ASI294.
And I do aligning/plate solving with ASI120.
RPI handles this combination pretty well.

wvreeven wrote:

maxthebuilder wrote: MinisForum Mini PC (surprisingly) feels slower than RPI overall.
USB3 of course is faster (10 times faster) but it doesn't make a lot of a difference.
(might get rid of the amp glow for some though)
Plate solving is also faster but not much.

Stellarmate is rock solid, well maintained and just works without much fiddling.


That's an interesting conclusion. I'll admit that I never tried StellarMate. I have always run KStars and Ekos on a Raspberry Pi that runs Ubuntu 16.04. And the difference in performance w.r.t. the MinisForum Z83-F is ginormous! Much faster download of images both from my ASI1600MM and from my DSLR cameras, muuuuch faster plate solving especially when doing a polar alignment. I am talking about 2 minutes per image on the RPi and about 20 seconds on the Z83-F. That is including WCS coordinate computations. Plate solving only is about 30 sec versus about 5 sec.

Well, good that you have a workable solution for yourself :-)


Clear skies, Wouter



Read More...

max sidorov replied to the topic 'USB3 may force me to move off of Raspberry Pi' in the forum. 5 days ago

Yes, it is smaller... Which is good.
With my recent install I was disappointed with that Atom platform though.
I was expecting a big leap in performance but didn't get that.
Except for USB3 (which is a big plus of course) - no real difference.
Will try Rock and/or Odroid and see how they compare to RPI.
: )

Read More...

max sidorov replied to the topic 'USB3 may force me to move off of Raspberry Pi' in the forum. 6 days ago

Well yeah... It was a good practice/exercise...
I am staying with RPI/Stellarmate for now.

MinisForum Mini PC (surprisingly) feels slower than RPI overall.
USB3 of course is faster (10 times faster) but it doesn't make a lot of a difference.
(might get rid of the amp glow for some though)
Plate solving is also faster but not much.

Stellarmate is rock solid, well maintained and just works without much fiddling.

Thanks for helping!

wvreeven wrote: Good to read you have it fully operational now Max! I'll be looking forward to your field test on Friday.


Clear skies, Wouter



Read More...

max sidorov replied to the topic 'USB3 may force me to move off of Raspberry Pi' in the forum. 6 days ago

If you select 4Gb/64Gb option, the price will be about the same.
There is a lot of similar devices available @ amazon with essentially the same hardware.
Minisforums's one is quite popular and seems to have at least some kind of support.
They built a custom BIOS for Wouter.

AstroNerd wrote: Well the one I linked to above Is far smaller and cheaper... :) with same spec..



Read More...

max sidorov replied to the topic 'how do I install pip?' in the forum. 6 days ago

Yes, that was it!
Thank you!

Read More...

max sidorov replied to the topic 'how do I install pip?' in the forum. 6 days ago

Installed pip and pip3
Now installation of indiweb doesn't go through...
Here's the output:

pip3 install indiweb
Collecting indiweb
  Using cached https://files.pythonhosted.org/packages/df/50/a52832030bfc035473f8dcc5205c4b6b9865f410f95894bfeee4f259ca7f/indiweb-0.1.6.tar.gz
Collecting bottle (from indiweb)
  Downloading https://files.pythonhosted.org/packages/47/f1/666d2522c8eda26488315d7ee8882d848710b23d408ed4ced35d750d6e20/bottle-0.12.16-py3-none-any.whl (89kB)
    100% |\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 92kB 1.2MB/s 
Collecting psutil (from indiweb)
  Using cached https://files.pythonhosted.org/packages/1c/ca/5b8c1fe032a458c2c4bcbe509d1401dca9dda35c7fc46b36bb81c2834740/psutil-5.6.3.tar.gz
Collecting requests (from indiweb)
  Using cached https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl
Collecting idna<2.9,>=2.5 (from requests->indiweb)
  Using cached https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl
Collecting chardet<3.1.0,>=3.0.2 (from requests->indiweb)
  Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests->indiweb)
  Using cached https://files.pythonhosted.org/packages/e6/60/247f23a7121ae632d62811ba7f273d0e58972d75e58a94d329d51550a47d/urllib3-1.25.3-py2.py3-none-any.whl
Collecting certifi>=2017.4.17 (from requests->indiweb)
  Using cached https://files.pythonhosted.org/packages/69/1b/b853c7a9d4f6a6d00749e94eb6f3a041e342a885b87340b79c1ef73e3a78/certifi-2019.6.16-py2.py3-none-any.whl
Building wheels for collected packages: indiweb, psutil
  Running setup.py bdist_wheel for indiweb ... done
  Stored in directory: /home/stellarmax/.cache/pip/wheels/5b/f4/0a/6dedc8318f7a0cc33b9b94a6f70d6715133e44d91f6782e2e5
  Running setup.py bdist_wheel for psutil ... error
  Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-5w5bsds0/psutil/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpl58s0sp3pip-wheel- --python-tag cp36:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.6
  creating build/lib.linux-x86_64-3.6/psutil
  copying psutil/_compat.py -> build/lib.linux-x86_64-3.6/psutil
  copying psutil/_common.py -> build/lib.linux-x86_64-3.6/psutil
  copying psutil/_pslinux.py -> build/lib.linux-x86_64-3.6/psutil
  copying psutil/_pswindows.py -> build/lib.linux-x86_64-3.6/psutil
  copying psutil/_psaix.py -> build/lib.linux-x86_64-3.6/psutil
  copying psutil/__init__.py -> build/lib.linux-x86_64-3.6/psutil
  copying psutil/_psosx.py -> build/lib.linux-x86_64-3.6/psutil
  copying psutil/_psposix.py -> build/lib.linux-x86_64-3.6/psutil
  copying psutil/_pssunos.py -> build/lib.linux-x86_64-3.6/psutil
  copying psutil/_psbsd.py -> build/lib.linux-x86_64-3.6/psutil
  creating build/lib.linux-x86_64-3.6/psutil/tests
  copying psutil/tests/test_memory_leaks.py -> build/lib.linux-x86_64-3.6/psutil/tests
  copying psutil/tests/test_contracts.py -> build/lib.linux-x86_64-3.6/psutil/tests
  copying psutil/tests/runner.py -> build/lib.linux-x86_64-3.6/psutil/tests
  copying psutil/tests/test_bsd.py -> build/lib.linux-x86_64-3.6/psutil/tests
  copying psutil/tests/__main__.py -> build/lib.linux-x86_64-3.6/psutil/tests
  copying psutil/tests/test_posix.py -> build/lib.linux-x86_64-3.6/psutil/tests
  copying psutil/tests/test_aix.py -> build/lib.linux-x86_64-3.6/psutil/tests
  copying psutil/tests/__init__.py -> build/lib.linux-x86_64-3.6/psutil/tests
  copying psutil/tests/test_linux.py -> build/lib.linux-x86_64-3.6/psutil/tests
  copying psutil/tests/test_osx.py -> build/lib.linux-x86_64-3.6/psutil/tests
  copying psutil/tests/test_process.py -> build/lib.linux-x86_64-3.6/psutil/tests
  copying psutil/tests/test_misc.py -> build/lib.linux-x86_64-3.6/psutil/tests
  copying psutil/tests/test_system.py -> build/lib.linux-x86_64-3.6/psutil/tests
  copying psutil/tests/test_windows.py -> build/lib.linux-x86_64-3.6/psutil/tests
  copying psutil/tests/test_connections.py -> build/lib.linux-x86_64-3.6/psutil/tests
  copying psutil/tests/test_unicode.py -> build/lib.linux-x86_64-3.6/psutil/tests
  copying psutil/tests/test_sunos.py -> build/lib.linux-x86_64-3.6/psutil/tests
  running build_ext
  building 'psutil._psutil_linux' extension
  creating build/temp.linux-x86_64-3.6
  creating build/temp.linux-x86_64-3.6/psutil
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_VERSION=563 -DPSUTIL_LINUX=1 -DPSUTIL_ETHTOOL_MISSING_TYPES=1 -I/usr/include/python3.6m -c psutil/_psutil_common.c -o build/temp.linux-x86_64-3.6/psutil/_psutil_common.o
  unable to execute 'x86_64-linux-gnu-gcc': No such file or directory
  error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  
  ----------------------------------------
  Failed building wheel for psutil
  Running setup.py clean for psutil
Successfully built indiweb
Failed to build psutil
Installing collected packages: bottle, psutil, idna, chardet, urllib3, certifi, requests, indiweb
  Running setup.py install for psutil ... error
    Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-5w5bsds0/psutil/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-96lunvee-record/install-record.txt --single-version-externally-managed --compile --user --prefix=:
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-3.6
    creating build/lib.linux-x86_64-3.6/psutil
    copying psutil/_compat.py -> build/lib.linux-x86_64-3.6/psutil
    copying psutil/_common.py -> build/lib.linux-x86_64-3.6/psutil
    copying psutil/_pslinux.py -> build/lib.linux-x86_64-3.6/psutil
    copying psutil/_pswindows.py -> build/lib.linux-x86_64-3.6/psutil
    copying psutil/_psaix.py -> build/lib.linux-x86_64-3.6/psutil
    copying psutil/__init__.py -> build/lib.linux-x86_64-3.6/psutil
    copying psutil/_psosx.py -> build/lib.linux-x86_64-3.6/psutil
    copying psutil/_psposix.py -> build/lib.linux-x86_64-3.6/psutil
    copying psutil/_pssunos.py -> build/lib.linux-x86_64-3.6/psutil
    copying psutil/_psbsd.py -> build/lib.linux-x86_64-3.6/psutil
    creating build/lib.linux-x86_64-3.6/psutil/tests
    copying psutil/tests/test_memory_leaks.py -> build/lib.linux-x86_64-3.6/psutil/tests
    copying psutil/tests/test_contracts.py -> build/lib.linux-x86_64-3.6/psutil/tests
    copying psutil/tests/runner.py -> build/lib.linux-x86_64-3.6/psutil/tests
    copying psutil/tests/test_bsd.py -> build/lib.linux-x86_64-3.6/psutil/tests
    copying psutil/tests/__main__.py -> build/lib.linux-x86_64-3.6/psutil/tests
    copying psutil/tests/test_posix.py -> build/lib.linux-x86_64-3.6/psutil/tests
    copying psutil/tests/test_aix.py -> build/lib.linux-x86_64-3.6/psutil/tests
    copying psutil/tests/__init__.py -> build/lib.linux-x86_64-3.6/psutil/tests
    copying psutil/tests/test_linux.py -> build/lib.linux-x86_64-3.6/psutil/tests
    copying psutil/tests/test_osx.py -> build/lib.linux-x86_64-3.6/psutil/tests
    copying psutil/tests/test_process.py -> build/lib.linux-x86_64-3.6/psutil/tests
    copying psutil/tests/test_misc.py -> build/lib.linux-x86_64-3.6/psutil/tests
    copying psutil/tests/test_system.py -> build/lib.linux-x86_64-3.6/psutil/tests
    copying psutil/tests/test_windows.py -> build/lib.linux-x86_64-3.6/psutil/tests
    copying psutil/tests/test_connections.py -> build/lib.linux-x86_64-3.6/psutil/tests
    copying psutil/tests/test_unicode.py -> build/lib.linux-x86_64-3.6/psutil/tests
    copying psutil/tests/test_sunos.py -> build/lib.linux-x86_64-3.6/psutil/tests
    running build_ext
    building 'psutil._psutil_linux' extension
    creating build/temp.linux-x86_64-3.6
    creating build/temp.linux-x86_64-3.6/psutil
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_VERSION=563 -DPSUTIL_LINUX=1 -DPSUTIL_ETHTOOL_MISSING_TYPES=1 -I/usr/include/python3.6m -c psutil/_psutil_common.c -o build/temp.linux-x86_64-3.6/psutil/_psutil_common.o
    unable to execute 'x86_64-linux-gnu-gcc': No such file or directory
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
    
    ----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-5w5bsds0/psutil/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-96lunvee-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-5w5bsds0/psutil/
~$


Read More...

max sidorov replied to the topic 'how do I install pip?' in the forum. 6 days ago

Oh.. OK. My fault.
I disabled some options in Software updater.
Re-enabled and now pip gets installed.

Sorry and thanks!

Read More...

max sidorov replied to the topic 'how do I install pip?' in the forum. 6 days ago

I did try that. Same result..

$ sudo apt-get install python3-pip
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package python3-pip

Thanks!

Read More...

max sidorov created a new topic ' how do I install pip?' in the forum. 6 days ago

Hello,
I am building a new INDI system based on Ubuntu Mate.
Everything is up and running except for IndiWeb.
I followed the instructions but they might be outdated...
Here's what I get:

$ pip
Command 'pip' not found, but can be installed with:
sudo apt install python-pip
$ sudo apt install python-pip
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package python-pip

I am an idiot when it comes to Linux...
Can anyone please help?
Thanks!

Read More...