Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Super-quick installation failed on OSX 10.10.3 #173

Closed
beriberikix opened this issue Apr 13, 2015 · 9 comments
Closed

Super-quick installation failed on OSX 10.10.3 #173

beriberikix opened this issue Apr 13, 2015 · 9 comments
Assignees
Milestone

Comments

@beriberikix
Copy link

$ python -c "$(curl -fsSL https://raw.githubusercontent.com/platformio/platformio/master/scripts/get-platformio.py)"

==> Installing Python Package Manager ...
Requirement already up-to-date: pip in /usr/local/lib/python2.7/site-packages
[SUCCESS]

==> Installing PlatformIO and dependencies ...
Requirement already up-to-date: setuptools in /usr/local/lib/python2.7/site-packages
Requirement already up-to-date: platformio in /usr/local/lib/python2.7/site-packages
Requirement already up-to-date: click>=3.0 in /usr/local/lib/python2.7/site-packages (from platformio)
Requirement already up-to-date: pyserial in /usr/local/lib/python2.7/site-packages (from platformio)
Requirement already up-to-date: requests>=2.4.0 in /usr/local/lib/python2.7/site-packages (from platformio)
Command "/usr/local/opt/python/bin/python2.7 -c "import setuptools, tokenize;file='/var/folders/00/144nr000h01000cxqpysvccm004hkq/T/pip-Fdnyzc-build/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /var/folders/00/144nr000h01000cxqpysvccm004hkq/T/pip-K4mvNa-record/install-record.txt --compile" failed with error code 1 in /var/folders/00/144nr000h01000cxqpysvccm004hkq/T/pip-Fdnyzc-build

[FAILURE]
The installation process has been FAILED!
Please report about this problem here
< https://github.com/platformio/platformio/issues >

@ivankravets
Copy link
Member

Did you try with sudo permission?

@beriberikix
Copy link
Author

Yup, but it doesn't seem to add it to my Path (tried restarting.)

me$ sudo python -c "$(curl -fsSL https://raw.githubusercontent.com/platformio/platformio/master/scripts/get-platformio.py)"
Password:

==> Installing Python Package Manager ...
Requirement already up-to-date: pip in /usr/local/lib/python2.7/site-packages
[SUCCESS]

==> Installing PlatformIO and dependencies ...
Requirement already up-to-date: setuptools in /usr/local/lib/python2.7/site-packages
Requirement already up-to-date: platformio in /usr/local/lib/python2.7/site-packages
Requirement already up-to-date: click>=3.0 in /usr/local/lib/python2.7/site-packages (from platformio)
Requirement already up-to-date: pyserial in /usr/local/lib/python2.7/site-packages (from platformio)
Requirement already up-to-date: requests>=2.4.0 in /usr/local/lib/python2.7/site-packages (from platformio)
Collecting http://sourceforge.net/projects/scons/files/latest/download
Downloading http://sourceforge.net/projects/scons/files/latest/download (621kB)
Installing collected packages: scons
Running setup.py install for scons
Successfully installed scons
[SUCCESS]

==> Installation process has been successfully FINISHED! <==

Usage: main.py [OPTIONS] COMMAND [ARGS]...

Options:
--version Show the version and exit.
--help Show this message and exit.

Commands:
boards Pre-configured Embedded Boards
init Initialize new PlatformIO based project
install Install new platforms
lib Library Manager
list List installed platforms
run Process project environments
search Search for development platforms
serialports List or Monitor Serial ports
settings Manage PlatformIO settings
show Show details about installed platform
uninstall Uninstall platforms
update Update installed platforms
upgrade Upgrade PlatformIO to the latest version

Please RESTART your Terminal Application and run platformio --help command.
me$ platformio
-bash: platformio: command not found

@ivankravets
Copy link
Member

Give me please an output of this command:

echo $PATH

@beriberikix
Copy link
Author

/Users/me/bin/google-cloud-sdk/bin:/usr/local/git/current/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/bin/g4bin

@ivankravets
Copy link
Member

Hm...

Does this command work for you?

pip --version

@ivankravets ivankravets self-assigned this Apr 13, 2015
@ivankravets ivankravets added this to the 2.0.0 milestone Apr 13, 2015
@beriberikix
Copy link
Author

yup! pip 6.1.1 from /usr/local/lib/python2.7/site-packages (python 2.7)

@ivankravets
Copy link
Member

Hm... Could you try to uninstall/install PlatformIO via "pip":

pip uninstall platformio
pip install platformio

Looks like you have a problem with "setuptools" package. Could I ask you to show the output of "pip list"command?

Also, please verify that latest version of setuptools is installed.

With best regards, Ivan Kravets

On 13 квіт. 2015, at 17:12, Jonathan Beri notifications@github.com wrote:

yup! pip 6.1.1 from /usr/local/lib/python2.7/site-packages (python 2.7)


Reply to this email directly or view it on GitHub.

@beriberikix
Copy link
Author

Hurray! I wasn't running the latest setuptools. After upgrading, uninstall than install worked 😄

@ivankravets
Copy link
Member

I've just added this information to FAQ: bf0f4c8

Sorry for the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants