platformio / platformio-core

Your Gateway to Embedded Software Development Excellence :alien:
https://platformio.org
Apache License 2.0
7.87k stars 791 forks source link

Probleme to launch the program #12

Closed jonathandreyer closed 10 years ago

jonathandreyer commented 10 years ago

Hello,

I tried to install the platformIO but I have problem:

with command platform run, this is the resultat on terminal

Traceback (most recent call last): File "/usr/local/bin/platformio", line 5, in from pkg_resources import load_entry_point File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2603, in working_set.require(requires) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 666, in require needed = self.resolve(parse_requirements(requirements)) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 565, in resolve raise DistributionNotFound(req) # XXX put more info here pkg_resources.DistributionNotFound: requests

ivankravets commented 10 years ago

Hello :smile:

Which a type of installation are you using?

jonathandreyer commented 10 years ago

Many..

In first I tried with the alternative short version and I have problem with module pip. It isn't install, so i have install this module. After that, I have tried the same command but it's not work.

I have download the file get-platformio.py and install without error. And I tried to install search avr with platformio but I have this error.

jonathandreyer commented 10 years ago

I have "check" the installation with "pip search platformio" & update and it is ok.

ivankravets commented 10 years ago
  1. I'm going to release new Documentation tomorrow. It contains more detailed information about installation.
  2. Give me please a result of pip list command.

Thanks.

jonathandreyer commented 10 years ago

Hello,

Ok great for the documentation.

The list of pip is:

altgraph (0.10.1) bdist-mpkg (0.4.4) bonjour-py (0.3) click (2.5) macholib (1.5) matplotlib (1.1.1) modulegraph (0.10.1) numpy (1.6.2) pip (1.5.6) platformio (0.5.0) py2app (0.7.1) pyobjc-core (2.3.2a0) pyobjc-framework-AddressBook (2.3.2a0) pyobjc-framework-AppleScriptKit (2.3.2a0) pyobjc-framework-AppleScriptObjC (2.3.2a0) pyobjc-framework-Automator (2.3.2a0) pyobjc-framework-CFNetwork (2.3.2a0) pyobjc-framework-Cocoa (2.3.2a0) pyobjc-framework-Collaboration (2.3.2a0) pyobjc-framework-CoreData (2.3.2a0) pyobjc-framework-CoreLocation (2.3.2a0) pyobjc-framework-CoreText (2.3.2a0) pyobjc-framework-DictionaryServices (2.3.2a0) pyobjc-framework-ExceptionHandling (2.3.2a0) pyobjc-framework-FSEvents (2.3.2a0) pyobjc-framework-InputMethodKit (2.3.2a0) pyobjc-framework-InstallerPlugins (2.3.2a0) pyobjc-framework-InstantMessage (2.3.2a0) pyobjc-framework-InterfaceBuilderKit (2.3.2a0) pyobjc-framework-LatentSemanticMapping (2.3.2a0) pyobjc-framework-LaunchServices (2.3.2a0) pyobjc-framework-Message (2.3.2a0) pyobjc-framework-OpenDirectory (2.3.2a0) pyobjc-framework-PreferencePanes (2.3.2a0) pyobjc-framework-PubSub (2.3.2a0) pyobjc-framework-QTKit (2.3.2a0) pyobjc-framework-Quartz (2.3.2a0) pyobjc-framework-ScreenSaver (2.3.2a0) pyobjc-framework-ScriptingBridge (2.3.2a0) pyobjc-framework-SearchKit (2.3.2a0) pyobjc-framework-ServiceManagement (2.3.2a0) pyobjc-framework-SyncServices (2.3.2a0) pyobjc-framework-SystemConfiguration (2.3.2a0) pyobjc-framework-WebKit (2.3.2a0) pyobjc-framework-XgridFoundation (2.3.2a0) pyOpenSSL (0.13) PyRSS2Gen (1.0.0) pyserial (2.7) python-dateutil (1.5) pytz (2012d) requests (2.3.0) scipy (0.11.0) Warning: cannot find svn location for setuptools==0.6c12dev-r88846 setuptools (0.6c12dev-r88846) Twisted (12.2.0) wsgiref (0.1.2) xattr (0.6.4) zope.interface (3.8.0)

ivankravets commented 10 years ago

Hmmm... As you can see, the requests is installed in your OS. Please try uninstall/install:

$ pip uninstall platformio requests click pyserial
$ pip install platformio
jonathandreyer commented 10 years ago

I tried to install platformIO for "install atmelavr". I would like to used Eclipse for program Arduino&AVR. Your post "Building and debugging Atmel AVR (Arduino-based) project using Eclipse IDE+PlatformIO" is really great :-)

ivankravets commented 10 years ago

Thanks a lot, I got you. But I want to talk about your problem. Because I'm also on Mac OS and I have never had similar issue.

jonathandreyer commented 10 years ago

I have uninstall 4 modules and install platformio. But the problem is same. I have Mac OS X Mavericks 10.9.4 installed. The version of python is 2.7.5.

ivankravets commented 10 years ago

Resolved with

$ easy_install platformio